03/26/2002
15-462 Graphics I
15
Ray-Sphere Intersection III
•For lighting, calculate unit normal
•
•
•Negate if ray originates inside the sphere!
•Note possible problems with roundoff errors