Semi-realtime Raytracer 2: Primitives!
Complete rebuild of my previous port of the C++ raytracer. This supports: Spheres, Triangles, Planes, Cylinders. Also supports shadows(!), reflections(!!), and multiple _colored_ light sources. Hence why it is so slow. You can now turn on/off options, so you can see everything nicely. Note that you MUST compile to get a bit decent framerate. With triangle support, it's in theory possible to load 3D models and raytrace them. I might optimize the code later (it's become a bit messy), but it really depends on your votes. Note that the rendered scene might look a bit chaotic. This is more because of the large "gaps" between every frame. Note that Raytracers are known for their slowness. That's why there aren't (m)any real-time raytraced programs yet.
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload