Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Build a C++ ray tracer
·
Module 3
Basic Object Intersection
1
Ray-Sphere Intersection: The Quadratic Formula Approach
Derive the ray-sphere intersection equation using the quadratic formula.
2
Ray-Sphere Intersection Function
Implement a function that determines if a ray intersects a sphere.
3
Ray-Intersection Parameter Calculation
Calculate the nearest valid intersection point ('t' value) along a ray.
4
Sphere Intersection Normal Vector Calculation
Compute the surface normal vector at a sphere intersection point.
5
Debugging Normals with Color
Visualize surface normals as colors to debug intersection calculations.
Previous module
Rays, Pixels, and Image Output
Next module
Positionable Camera and Scene View