Skip to content

Live rendering

Michał Bajor requested to merge feature-live_rendering into main

Implemented a live rendering using SDL2 (as a feature). Now, the render_live() function displays a preview of a render while the rays are traced. It is suffering from a significant performance impact, though.

For now, the work is spread evenly across threads. A possible improvement is to implement workers who will be taking the tasks (pixels to trace) from all not done pixels. This way, the idle threads could be helping with the particularly challenging parts of image

Merge request reports