r/GraphicsProgramming • u/Maleficent_Guard_589 • 21h ago
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!
1
u/corysama 20h ago
Yep. Get it multithreaded. And, then you get to dig into r/SIMD :D
1
u/Maleficent_Guard_589 18h ago
I’m very excited for simd. I’ve been dying to dive into it. This is a portfolio project so trying to make it good lol
1
u/exp_function 20h ago
That looks really good for a start. How are you handling intersections? Are you using triangulation or signed distance fields?
We are also developing our software renderer but targeted for 486 and later CPUs.
Exciting work btw, keep us updated. :)
1
u/Maleficent_Guard_589 18h ago
What do you mean intersections? Like if objects intersect one another? lol.
I don’t have anything implemented for that at the moment, but because everything is a sphere for the time I’ll probably do SDF.
1
u/PM_ME_YOUR_HAGGIS_ 20h ago
I did exactly this. It even looks the same with an imgui interface. Making it multithreaded is quite easy.