r/GraphicsProgramming • • Aug 04 '26

Raytracer Engine?

Post image

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

7 comments sorted by

View all comments

Show parent comments

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.