skip to main content
research-article

Quadratic Approximation of Cubic Curves

Published:26 August 2020Publication History
Skip Abstract Section

Abstract

We present a simple degree reduction technique for piecewise cubic polynomial splines, converting them into piecewise quadratic splines that maintain the parameterization and C1 continuity. Our method forms identical tangent directions at the interpolated data points of the piecewise cubic spline by replacing each cubic piece with a pair of quadratic pieces. The resulting representation can lead to substantial performance improvements for rendering geometrically complex spline models like hair and fiber-level cloth. Such models are typically represented using cubic splines that are C1-continuous, a property that is preserved with our degree reduction. Therefore, our method can also be considered a new quadratic curve construction approach for high-performance rendering. We prove that it is possible to construct a pair of quadratic curves with C1 continuity that passes through any desired point on the input cubic curve. Moreover, we prove that when the pair of quadratic pieces corresponding to a cubic piece have equal parametric lengths, they join exactly at the parametric center of the cubic piece, and the deviation in positions due to degree reduction is minimized.

Skip Supplemental Material Section

Supplemental Material

3406178.mp4

Presentation Video

References

  1. Jens Alfke. 1994. Converting Bézier Curves to Quadratic Splines. http://steve.hollasch.net/cgindex/curves/cbez-quadspline.htmlGoogle ScholarGoogle Scholar
  2. Tobias Grøbeck Andersen, Viggo Falster, Jeppe Revall Frisvad, and Niels Jørgen Christensen. 2016. Hybrid Fur Rendering: Combining Volumetric Fur with Explicit Hair Strands. Vis. Comput. 32, 6--8 (June 2016), 739--749.Google ScholarGoogle Scholar
  3. Rasmus Barringer, Carl Johan Gribel, and Tomas Akenine-Möller. 2012. High-Quality Curve Rendering Using Line Sampled Visibility. ACM Trans. Graph. 31, 6, Article 162 (Nov. 2012), 10 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Phillip J. Barry and Ronald N. Goldman. 1988. A Recursive Evaluation Algorithm for a Class of Catmull-Rom Splines. SIGGRAPH Comput. Graph. 22, 4 (June 1988), 199--204.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Richard H. Bartels, John C. Beatty, and Brian A. Barsky. 1987. An Introduction to Splines for Use in Computer Graphics and Geometric Modeling. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA.Google ScholarGoogle Scholar
  6. P. Bézier. 1977. Essai de définition numérique des courbes et des surfaces expérimentales: contribution à l'étude des propriétés des courbes et des surfaces paramétriques polynomiales à coefficients vectoriels. Number v. 1. Universite Pierre et Marie Curie (Paris VI).Google ScholarGoogle Scholar
  7. Barbara Bily. 2014. On the method of rapid approximation of a cubic Bézier curve by quadratic Bézier curves. Silesian Journal of Pure and Applied Mathematics (2014).Google ScholarGoogle Scholar
  8. Edwin Catmull and Raphael Rom. 1974a. A Class of Local Interpolating Splines. In Computer Aided Geometric Design, Robert E. Barnhill and Richard F. Riesenfeld (Eds.). Academic Press, 317 - 326.Google ScholarGoogle Scholar
  9. Edwin E. Catmull and Raphael Rom. 1974b. A class of local interpolating splines. Computer Aided Geometric Design (1974), 317--326.Google ScholarGoogle Scholar
  10. Adrian Colomitchi. 2006. Approximating cubic Bézier curves by quadratic ones. http://www.caffeineowl.com/graphics/2d/vectorial/cubic2quad01.htmlGoogle ScholarGoogle Scholar
  11. M. G. Cox and P. M. Harris. 1991. The Approximation of a Composite Bézier Cubic Curve by a Composite Bézier Quadratic Curve. IMA J. Numer. Anal. 11, 2 (04 1991), 159--180.Google ScholarGoogle ScholarCross RefCross Ref
  12. Gerald Farin. 1997. Curves and Surfaces for Computer Aided Geometric Design (4th Ed.): A Practical Guide. Academic Press Professional, Inc., USA.Google ScholarGoogle Scholar
  13. Gerald Farin. 2006. Class A Bézier Curves. Computer Aided Geometric Design 23, 7 (2006), 573--581.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Thomas A. Foley, Nielson, and Gregory M. 1989. Knot Selection for Parametric Spline Interpolation -- Mathematical Methods in Computer Aided Geometric Design. Academic Press Professional, Inc., San Diego, CA, USA. 261--272 pages.Google ScholarGoogle Scholar
  15. Timothée Groleau. 2002. Approximating Cubic Bézier Curves in Flash MX. http://www.timotheegroleau.com/Flash/articles/cubic_bezier_in_flash.htmGoogle ScholarGoogle Scholar
  16. Mengjiao Han, Ingo Wald, Will Usher, Qi Wu, Feng Wang, Valerio Pascucci, Charles D. Hansen, and Chris R. Johnson. 2019. Ray Tracing Generalized Tube Primitives: Method and Applications. Computer Graphics Forum (2019).Google ScholarGoogle Scholar
  17. Masatake Higashi, Kohji Kaneko, and Mamoru Hosaka. 1988. Generation of High-Quality Curve and Surface with Smoothly Varying Curvature. In Eurographics 1988. Eurographics Association.Google ScholarGoogle Scholar
  18. Jonathan M. Kaldor, Doug L. James, and Steve Marschner. 2010. Efficient Yarn-Based Cloth with Adaptive Contact Linearization. ACM Trans. Graph. 29, 4, Article 105 (July 2010), 10 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. E. T. Y. Lee. 1989. Choosing nodes in parametric curve interpolation. Computer Aided Design 21, 6 (1989), 363--370.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Dinesh Manocha and John F. Canny. 1992. Detecting cusps and inflection points in curves. Computer Aided Geometric Design 9, 1 (1992), 1--24.Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Yves Mineur, Tony Lichah, Jean Marie Castelain, and Henri Giaume. 1998. A Shape Controlled Fitting Method for Bézier Curves. Computer Aided Geometric Design 15, 9 (1998), 879--891.Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Koji Nakamaru and Yoshio Ohno. 2002. Ray Tracing for Curves Primitive. WSCG (2002), 311--316.Google ScholarGoogle Scholar
  23. G. Nielson and T. Foley. 1989. A Survey of Applications of an Affine Invariant Metric -- Mathematical methods in computer aided geometric design. (1989), 445--468.Google ScholarGoogle Scholar
  24. Matt Pharr, Wenzel Jakob, and Greg Humphreys. 2016. Physically Based Rendering: From Theory to Implementation (3rd ed.). Morgan Kaufmann Publishers Inc., San Francisco, CA, USA.Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. H. Qin, M. Chai, Q. Hou, Z. Ren, and K. Zhou. 2014. Cone Tracing for Furry Object Rendering. IEEE Transactions on Visualization and Computer Graphics 20, 8 (2014), 1178--1188.Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Alexander Reshetov. 2017. Exploiting Budan-Fourier and Vincent's Theorems for Ray Tracing 3D Bézier Curves. In Proceedings of High Performance Graphics (Los Angeles, California) (HPG '17). Association for Computing Machinery, New York, NY, USA, Article 5, 11 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Alexander Reshetov and David Luebke. 2018. Phantom Ray-Hair Intersector. Proc. ACM Comput. Graph. Interact. Tech. 1, 2, Article 34 (Aug. 2018), 22 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Aleksas Riškus. 2006. Approximation Of A Cubic Bézier Curve By Circular Arcs And Vice Versa. Information Technology and Control 35, 4 (2006).Google ScholarGoogle Scholar
  29. Aleksas Riškus and Giedrius Liutkus. 2013. An Improved Algorithm for the Approximation of a Cubic Bézier Curve and its Application for Approximating Quadratic Bézier Curve. Information Technology and Control 42, 4 (2013).Google ScholarGoogle Scholar
  30. Mat Sutcliffe. 2007. Approximating cubic Bézier curves. https://academia.fandom.com/wiki/Approximating_cubic_Bezier_curvesGoogle ScholarGoogle Scholar
  31. Ingo Wald, Sven Woop, Carsten Benthin, Gregory S. Johnson, and Manfred Ernst. 2014. Embree: A Kernel Framework for Efficient CPU Ray Tracing. ACM Trans. Graph. 33, 4, Article 143 (July 2014), 8 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. Sven Woop, Carsten Benthin, Ingo Wald, Gregory S. Johnson, and Eric Tabellion. 2014. Exploiting Local Orientation Similarity for Efficient Ray Traversal of Hair and Fur. In Eurographics/ ACM SIGGRAPH Symposium on High Performance Graphics, Ingo Wald and Jonathan Ragan-Kelley (Eds.). The Eurographics Association.Google ScholarGoogle Scholar
  33. Kui Wu and Cem Yuksel. 2017a. Real-time Cloth Rendering with Fiber-level Detail. IEEE Transactions on Visualization and Computer Graphics PP, 99 (2017), 12.Google ScholarGoogle Scholar
  34. Kui Wu and Cem Yuksel. 2017b. Real-time Fiber-level Cloth Rendering. In ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games (I3D 2017) (San Francisco, CA). ACM, New York, NY, USA, 8.Google ScholarGoogle Scholar
  35. Zhipei Yan, Stephen Schiller, Gregg Wilensky, Nathan Carr, and Scott Schaefer. 2017. &kgr;-Curves: Interpolation at Local Maximum Curvature. ACM Transactions on Graphics (Proceedings of SIGGRAPH 2017) 36, 4, Article 129 (2017), 7 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. Cem Yuksel, Jonathan M. Kaldor, Doug L. James, and Steve Marschner. 2012. Stitch Meshes for Modeling Knitted Clothing with Yarn-level Detail. ACM Transactions on Graphics (Proceedings of SIGGRAPH 2012) 31, 3, Article 37 (2012), 12 pages.Google ScholarGoogle Scholar
  37. Cem Yuksel, Scott Schaefer, and John Keyser. 2009a. Hair Meshes. ACM Transactions on Graphics (Proceedings of SIGGRAPH Asia 2009) 28, 5, Article 166 (2009), 7 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. Cem Yuksel, Scott Schaefer, and John Keyser. 2009b. On the Parameterization of Catmull-Rom Curves. In 2009 SIAM/ACM Joint Conference on Geometric and Physical Modeling (San Francisco, California). ACM, New York, NY, USA, 47--53.Google ScholarGoogle Scholar
  39. Cem Yuksel, Scott Schaefer, and John Keyser. 2011. Parameterization and Applications of Catmull-Rom Curves. Computer Aided Design 43, 7 (2011), 747--755.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Quadratic Approximation of Cubic Curves

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader
      About Cookies On This Site

      We use cookies to ensure that we give you the best experience on our website.

      Learn more

      Got it!