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.
- 1 BALLARD, D. H. AND BROWN, C.M. Computer Vision. Prentice Hall, Englewood Cliffs, N.J., 1982, pp. 274-280. Google Scholar
- 2 DO CARMO, M. P. Differential Geometry of Curves and Surfaces. Prentice Hall, Englewood Cliffs, N.J., 1976, pp. 16-22.Google Scholar
- 3 COLLINS, G. E. AND AKRITAS, A.G. Polynomial real root isolation using Descartes' rule of signs. In Proceedings of the 1976 A CM Symposium on Symbolic and Algebraic Computation (Yorktown Heights, Aug. 10-12), ACM, New York, 1976, pp. 272-276. Google Scholar
- 4 FAUX, I. D. AND PRATT, M.J. Computational Geometry for Design and Manufacture. Ellis Horwood, Chichester, 1979, pp. 126-192. Google Scholar
- 5 GOLDSTEIN, 1~. A. AND NAGEL, R. 3D visual simulation. Simulation 16, 1 (Jan. 1971), 25-31.Google Scholar
- 6 HANRAHnN~ Po Ray tracLng algebraic surfaces~ CompUto Graph~ ! 7, 3 (July !983)~ 83-90: Google Scholar
- 7 KAJlVA, J.T. Ray tracing parametric patches. Comput. Graph. 16, 3 (July 1982), 245-254. Google Scholar
- 8 KAJIYA, J.T. New techniques for ray tracing procedurally defined objects. Comput. Graph. 17, 3 (July 1983), 91-102; Also ACM Trans. Graph. 2, 3 {July 1983), 161-181. Google Scholar
- 9 KOPARKAR, P. A. AND MUDUR, S.P. A new class of algorithms for the processing of parametric curves. Comput.-Aided Des. 15, 1 (Jan, 1983), 41-45.Google Scholar
- 10 ROTH, S.D. Ray casting for modeling solids. Comput. Graph. Image Proc. 18, 2 (Feb. 1982), 109-144.Google Scholar
- 11 WHITTED. T. An improved illumination model for shaded display. Commun. ACM 23, 6 (June 1980), 343-349. Google Scholar
- 12 WIJK, J. J. VAN. Ray tracing objects defined by sweeping planar cubic splines. ACM Trans. Graph. 3, 3 (July 1984), 223-237. Google Scholar
- 13 WrJK, J. J. VAN. Ray tracing objects defined by sweeping a sphere. In Proceedings of the Eurographics "84 Conference (Copenhagen, Sept. 12-14), North-Holland, Amsterdam, 1984, pp. 73-82.Google Scholar
Index Terms
- Ray tracing generalized cylinders
Recommendations
Distributed ray tracing
Ray tracing is one of the most elegant techniques in computer graphics. Many phenomena that are difficult or impossible with other techniques are simple with ray tracing, including shadows, reflections, and refracted light. Ray directions, however, ...
Adaptive radiosity textures for bidirectional ray tracing
We present a rendering method designed to provide accurate, general simulation of global illumination for realistic image synthesis. Separating surface interaction into diffuse plus specular, we compute the specular component on the fly, as in ray ...
Ray tracing-based interactive diffuse indirect illumination
Despite great efforts in recent years to accelerate global illumination computation, the real-time ray tracing of fully dynamic scenes to support photorealistic indirect illumination effects has yet to be achieved in computer graphics. In this paper, we ...
Comments