mattboran / CudaRT

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

Render to OpenGL context #19

Closed mattboran closed 5 years ago

mattboran commented 5 years ago

This ticket would make it easier to see progress on renders.

This is Linux-specific. Should provide a compile time directive that if the platform supports X11, build to open an X context and render OpenGL to it, with the pathtraced output rendering to this window.

Step 1 is to default to creating this window Step 2 is to provide an option to render to image (should be easy as this is already the default) Step 3 will live in a separate issue, and relies on the makefile generator being complete

mattboran commented 5 years ago

To still support sequential and parallel rendering, the following pretty massive refactor is needed Create a Launcher abstract class, derive SequentialLauncher and ParallelLauncher Create a ConfigurationManager class, that handles settings

mattboran commented 5 years ago

See PR #22. Use the flag --X to render to window and --cpu to render to window using sequential CPU version