CS U540 Sample Problems


      (Ray-Tracing)

An infinite cylinder is given by the equation
(x - a)2 + (z - c)2 - R2 = 0

If a ray is given by the parametric equations:
x(t) = x0 + t(x1 - x0)     0 ≤ t ≤ 1
y(t) = y0 + t(y1 - y0)
z(t) = z0 + t(z1 - z0)

What are the coefficients A, B, and C in the quadratic equation used to solve for the intersection of the ray and the cylinder?


Last Updated: May 27, 6:44 p.m. by
Harriet Fell
College of Computer Science, Northeastern University
360 Huntington Avenue #WVH-340,
Boston, MA 02115
Internet: fell@ccs.neu.edu
Phone: (617) 373-2198 / Fax: (617) 373-5121
The URL for this document is: http://www.ccs.neu.edu/home/fell/CSU540/exams/RayTracingProblem.html