GAGowtham Anandarajinraytracingmitit.hashnode.dev·May 29, 2023 · 4 min readAdding a SphereOne commonly employed object in ray tracing is the sphere due to its straightforward ray intersection calculations. Ray-Sphere Intersection For a sphere centered at the origin with a radius of R, the equation representing the sphere is x^2 + y^2 + z^...00