Just to be clear, do you just want references for ray intersection tests for various shapes? Or are you doing a raytracer and want a full reference on it including acceleration structures, light/shading and the like?

For intersection tests: here’s a giant chart of references to intersection algorithms for various combinations of shapes.

Hi, I would like to write my own raycasting algorithm implementation with C++, for all types of 3D objects. However I’m not sure where to begin, on google there’s a lot of junk and I can’t seem to find anything of worth.

Can anyone point me in the right direction? Thanks :)