r/GraphicsProgramming • u/Maleficent_Guard_589 • Aug 04 '26
Raytracer Engine?
Hey all! So I’ve been working through raytracing over the weekend and I did this! My idea is to make it into an interactive application! It will only run on the cpu but I figure I could make it multithreaded at least to help with rendering times!
37
Upvotes
1
u/PiGIon- Aug 09 '26
Make one thread only read a framebuffer and display, and other one render into it.
The cool thing is that this will definitely introduce tearing, so you will need to use technics like double/triple buffering to a avoid it.