Yet another raytraced sphere? Well, there are only 6 curves that are easy to raytrace ( the Quadric surfaces ) and the sphere is the most common in the real world, so that's our first choise. The Quadrics can be described algebraically with just the sum of a few squares.
It's easy! That's a quarter of the essential functions in my demo program.
The Quadric Surfaces: six shapes easy to raytrace
Return: My humble Home Page
Previous: Raytracing, the introduction, page #2.
First Page: Raytracing, the introduction, page #1.