03/26/2002
15-462 Graphics I
14
Ray-Sphere Intersection II
•Simplify to
•
•
•
•
•
•Solve to obtain t0 and t1
where
Check if t0, t1> 0 (ray)
Return min(t0, t1)