Skip to main content
Log in

Fast ray tracing NURBS surfaces

  • Published:
Journal of Computer Science and Technology Aims and scope Submit manuscript

Abstract

In this paper, a new algorithm with extrapolation process for computing the ray/surface intersection is presented. Also, a ray is defined to be the intersection of two planes, which are non-orthogonal in general, in such a way that the number of multiplication operations is reduced. In the preprocessing step, NURBS surfaces are subdivided adaptively into rational Bézier patches. Parallelepipeds are used to enclose the respective patches as tightly as possible. Therefore, for each ray that hits the enclosure (i.e., parallelepiped) of a patch the intersection points with the parallelepiped's faces can be used to yield a good starting point for the following iteration. The improved Newton iteration with extrapolation process saves CPU time by reducing the number of iteration steps. The intersection scheme is faster than previous methods for which published performance data allow reliable comparison. The method may also be used to speed up tracing the intersection of two parametric surfaces and other operations that need Newton iteration.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Glassner A (ed.). Introduction to Ray Tracing. Academic Press, USA, 1989.

    MATH  Google Scholar 

  2. Ortega J M, Rheinbooldt W C. Iterative Solution of Nonlinear Equations in Several Variables. Academic Press, USA, 1970.

    MATH  Google Scholar 

  3. Faux I D, Pratt M J. Computational Geometry for Design and Manufacture. Ellis Horwood, UK, 1981.

    MATH  Google Scholar 

  4. Farin G. Curves and Surfaces for Computer Aided Geometric Design. Academic Press, USA, 1988.

    MATH  Google Scholar 

  5. Nishita T, Sederberg T W, Kakimoto M. Ray tracing trimmed rational surface patches. InProc. of SIGGRAPH'90, also inComputer Graphics, 1990, 24(4): 337–345.

  6. Barth W, Sturzlinger W. Efficient ray tracing for Bézier and B-spline surfaces.Computer & Graphics, 1993, 17(4): 423–430.

    Article  Google Scholar 

  7. Giger C. Ray tracing polynomial tensor product surfaces. InProc. of Eurographics 1989, Hansmann, Hopgood, and Strasser (eds.), North-Holland, Amsterdam, 1989, 125–136.

    Google Scholar 

  8. Sweeney M, Bartels R. Ray tracing free-form B-spline surfaces.IEEE CG & A, 1986, 6: 41–49.

    Google Scholar 

  9. Toth D. On ray tracing parametric surfaces. InProc. of SIGGRAPH'85, San Francisco, CA, July 22–26, 1985; also inComputer Graphics, 1985, 19(3): 171–179.

  10. Cohen E L, Lyche T, Riesenfeld R. Discrete B-splines and subdivision techniques in computeraided geometric design and computer graphics.Computer Graphics and Image Processing, 1980, 14(2): 87–111.

    Article  Google Scholar 

  11. Kajiya J. Ray tracing parametric patches. InProc. of SIGGRAPH'82, Boston, MA, July 26–30, 1982; also inComputer Graphics, 1982, 16(3): 245–254.

  12. Whitted T. An improved illumination model for shaded display.CACM, 1980, 23(6): 96–102.

    Google Scholar 

  13. Rogers D. Procedural Elements for Computer Graphics. McGraw-Hill, New York, 1985, 296–305.

    Google Scholar 

  14. Woodward C. Ray Tracing Parametric Surfaces by Subdivision in Viewing Plane. InTheory and Practice of Geometric Modeling, W. Strasser, Seidel H P (eds.), Springer-Verlag, 1989, 273–290.

  15. Sederberg T W, Nishita T. Curve intersection using Bézier clipping.Computer-Aided Design, 1990, 22(9): 538–549.

    Article  MATH  Google Scholar 

  16. Joyce D C. Survey of extrapolation processes in numerical analysis.SIAM Review, 1971, 13(4): 435–490.

    Article  MATH  MathSciNet  Google Scholar 

  17. Deng J. Extrapolation Methods and Their Applications (in Chinese). Shanghai Science & Technology Press, China, 1973.

    Google Scholar 

  18. Qin Kaihuai, Fan Gang, Sun Cai. Extrapolating acceleration algorithms for finding B-spline intersections using recursive subdivision techniques.J. of Computer Science and Technology, 1994, 9(1): 70–85.

    Article  MATH  MathSciNet  Google Scholar 

  19. Boehm W. Inserting new knots into B-splines curves.Computer-Aided Design, 1980, 12(4): 199–201.

    Article  Google Scholar 

  20. Endle R, Sommer M. Classification of ray-generators in uniform subdivisions and octrees for ray tracing.Computer Graphics Forum, 1994, 13(1): 3–19.

    Article  Google Scholar 

  21. Amanatides J, Woo A. A fast voxel traversal algorithm for ray tracing. InEUROGRAPHICS'87: Proc. of the European Computer Graphics Conference and Exhibition, Marechal G (ed.), Amsterdam, 1987, 3–10.

  22. Cleary J G, Wyvill G. Analysis of an algorithm for fast ray tracing using uniform space subdivision.The Visual Computer, Springer-Verlag, 1988, (4): 65–83.

    Article  Google Scholar 

  23. Snyder H, Barr A H. Ray tracing complex models containing surface tessellations. InProc. of SIGGRAPH'87, Anaheim, California; also inComputer Graphics, 1987, 21(4): 119–128.

  24. Fujimoto A, Tanaka T, Iwata K. ARTS: Accelerated ray-tracing system.IEEE CG & A, 1986, 16–26.

  25. Yagel R, Cohen d, Kaufmann A. Discrete ray tracing.IEEE CG & A, 1992, 19–22.

  26. Arvo J, Kirk D. Fast ray tracing by ray classification.Computer Graphics, 1987, 21(44): 55–64.

    Article  Google Scholar 

  27. Tiller W. Rational B-splines for curve and surface representation.IEEE CG & A, 1983, 3(10): 61–69.

    Google Scholar 

  28. Piegl L. On NURBS: A survey.IEEEE CG & A, 1991, (1): 55–71.

    Google Scholar 

  29. de Boor C. On calculating with B-splines.J. Approximation Theory, 1972, 6(1): 50–62.

    Article  MATH  MathSciNet  Google Scholar 

  30. Cox M G. The numerical evaluation of B-splines.J. Inst. Mathematics and Applications, 1972, (10): 134–149.

    Article  MATH  Google Scholar 

  31. Voloboj A G. The method of dynamic palette construction in realistic visilization systems.Computer Graphics Forum, 1993, 12(5): 289–296.

    Article  Google Scholar 

  32. Heckbert P. Color image quantization for frame buffer display.ACM Computer Graphics (SIGGRAPHY 82), 1982, 16(3): 297–304.

    Article  Google Scholar 

  33. Rockwood A, Heaton K, Davis T. Real-time rendering of trimmed surfaces. InProc. of SIGGRAPH'89, Boston, MA, July 31–August 4, 1989; also inComputer Graphics, 1989, 23(3): 107–117.

  34. Crow F. The origins of teapot.IEEEE CG & A, 1987, 7(1): 8–19.

    Google Scholar 

  35. Qin Kaihuai. New methods for interpolating NURBS curves and surfaces*. Darmstadt, Germany, Oct. 1993.

  36. Qin Kaihuai, Sun Jiaguang, Wang X. Representing conics using NURBS of degree two.Computer Graphics Forum, 1992, 11(5): 285–291.

    Article  Google Scholar 

  37. Piegl L, Tiller W. Curve and surface constructions using rational B-splines.Computer-Aided Design, 1987, 19(9): 485–496.

    Article  MATH  Google Scholar 

  38. Brezinski C, Rieu A C. The solution of systems of equations using the ε-algorithm, and an application to boundary-value problems.Mathematics of Computation, 1974, 28(127): 731–741.

    Article  MATH  MathSciNet  Google Scholar 

  39. Joy K I, Bhetanabhotla M N. Ray tracing parametric surface patches utilizing numerical techniques and ray coherence. InProc. of SIGGRAPH'86; also inComputer Graphics, 1986, 20(4): 279–285.

Download references

Author information

Authors and Affiliations

Authors

Additional information

Project supported by the National Natural Science Foundation of China under grant number 69473010.

Qin Kaihuai obtained his Ph.D. degree in computer-aided manufacturing from Tsinghua University in 1990. He is now an Associate Professor in computer science and technology at Tsinghua University. His research areas include computer graphics, geometric modeling, spline curves and surfaces (epsecially NURBS surfaces), nueral network, scientific visualization, virtual reality, CAD/CAM.

Gong Minglun is a graduate student of Department of Computer Science and Technology, Tsinghua University.

Tong Geliang is a graduate student of Department of Computer Science and Technology, Tsinghua University.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Qin, K., Gong, M. & Tong, G. Fast ray tracing NURBS surfaces. J. of Compt. Sci. & Technol. 11, 17–29 (1996). https://doi.org/10.1007/BF02943518

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02943518

Keywords

Navigation