mattboran / CudaRT

Photorealistic CPU or GPU (NVidia only) rendering engine written in C++/CUDA.
3 stars 0 forks source link

Kernel launch in second thread #51

Closed mattboran closed 5 years ago

mattboran commented 5 years ago

In order to prevent openGL hangs, we should try to launch the render kernel in a second thread, and lock OpenGL screen refreshing to, say, 15fps.

mattboran commented 5 years ago

So far #53 simply launches CPU rendering in a secondary thread. No fps lock is maintained. This is enough for now because GPU always renders fast enough. Will revisit later if need be