Questions tagged [multithreading]
The multithreading tag has no usage guidance.
1
vote
1answer
77 views
How to handle GUI in a path traced renderer?
This isn't a pure CG question but it's more of a programming one related to CG.
The main problem that occurs is both the GUI and the rendered scene need to be drawn regularly by swapping buffers. If ...
1
vote
1answer
158 views
Issues with Multi-threaded Raytracing
I'm having some issues with my multi-threaded ray tracing implementation. It seems to only render about half of the image. Here is the picture:
Here is the code:
...
6
votes
0answers
62 views
Drawing “after” Present to achieve better performance
I had an application that was originally single threaded and worked as follows:
gather the items to be drawn (occlusion / frustrum culling / sorting into batches)
draw items using an immediate ...
1
vote
2answers
257 views
How to use multithreading in 3D software renderer to speed up fetching texture values
The biggest bottleneck of my code is fetching texture RGB values from memory.
My code looks something like this:
...
1
vote
1answer
490 views
How can I utilize all cores of CPU In my ray tracer with std::thread?
I have been working on a ray tracer and I was trying to use multiple threads to maximize the performance. I tried couple of approaches but there's no difference in performance. Here's my shot...
<...
6
votes
1answer
970 views
Why can't I utilize multiple CPU cores with OpenGL like Vulkan?
Can I pass the data to the GPU through multiple cores with OpenGL?
5
votes
1answer
233 views
Avoiding CPU race condition/cache invalidation of RNG on multi thread path tracing
I'm implementing my path tracer using C++ and OpenMP partially based on the design of Small Paint (using a globally available RND function to generate random floats) and PBRTv2 (uses a single RNG ...
7
votes
1answer
303 views
Instanced Stereo Rendering vs. Multiple Command Buffers
Source
In this webpage from Nvidia, the author(s) seems to imply that you could create a command buffer for each eye on separate threads. However, I don't see the benefit to this over instanced ...
21
votes
3answers
544 views
Why is thread safety such a huge deal for Graphics APIs?
Both Vulkan and DirectX12 are claimed to be usable in a thread-safe manner. People seem to be excited about that.
Why is this considered such a huge feature? The "real" processing gets thrown over ...