Ray tracing generalized cylinders
- 1 October 1985
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Graphics
- Vol. 4 (4), 291-303
- https://doi.org/10.1145/6116.6118
Abstract
An algorithm is presented for ray tracing generalized cylinders, that is, objects defined by sweeping a two-dimensional contour along a three-dimensional trajectory. The contour can be any 'well-behaved' curve in the sense that it is continuous, and that the points where the tangent is horizontal or vertical can be determined, the trajectory can be any spline curve. First a definition is given of generalized cylinders in terms of the Frenet frame of the trajectory. Then the main problem in ray tracing these objects, the computation of the intersection points with a ray, is reduced to the problem of intersecting two two-dimensional curves. This problem is solved by a subdivision algorithm. The three-dimensional normal at the intersection point closest to the eye point, necessary to perform shading, is obtained by transforming the two-dimensional normal at the corresponding intersection point of the two two-dimensional curves. In this way it is possible to obtain highly realistic images for a very broad class of objects.Keywords
This publication has 7 references indexed in Scilit:
- Ray tracing objects defined by sweeping planar cubic splinesACM Transactions on Graphics, 1984
- Ray tracing algebraic surfacesACM SIGGRAPH Computer Graphics, 1983
- New Techniques for Ray Tracing Procedurally Defined ObjectsACM Transactions on Graphics, 1983
- A new class of algorithms for the processing of parametric curvesComputer-Aided Design, 1983
- Ray tracing parametric patchesACM SIGGRAPH Computer Graphics, 1982
- An improved illumination model for shaded displayCommunications of the ACM, 1980
- 3-D Visual simulationSIMULATION, 1971