Dual Representation of Geometry for Ray Tracing Acceleration in Optical Systems with Freeform Surfaces
- Authors: Zhdanov D.D.1, Potemin I.S.1, Zhdanov A.D.1
-
Affiliations:
- Saint Petersburg National Research University of Information Technologies, Mechanics and Optics
- Issue: No 3 (2024)
- Pages: 54-66
- Section: COMPUTER GRAPHICS AND VISUALIZATION
- URL: https://j-morphology.com/0132-3474/article/view/675695
- DOI: https://doi.org/10.31857/S0132347424030067
- EDN: https://elibrary.ru/QANTVA
- ID: 675695
Cite item
Abstract
This paper explores the possibility of using dual geometry representation to improve the speed of ray tracing and ensure the robustness of light propagation simulations in complex optical systems containing free-form surfaces defined by high-order polynomials (up to order 34) or Jacobi polynomials. An analysis was carried out of traditional methods of representing this geometry both in the form of a triangular mesh and in the form of an analytical expression. The analysis demonstrated the disadvantages of traditional approaches, which consist in the insufficient accuracy of calculating the coordinates of the meeting point of the ray with a triangular mesh, as well as the instability of the results of searching for the hit point of tangent rays with the analytically defined surface when using existing calculation methods. As a result, it was proposed to use a dual representation of the geometry in the form of a rough approximation of the surface by a triangular mesh, which is subsequently used as an initial approximation to find the point where the ray hits the surface specified by the analytical expression. This solution made it possible to significantly speed up the convergence of analytical methods and increase their stability. Moreover, using the Intel® Embree library to quickly find the point of intersection of a ray with a coarse triangular mesh and a vector calculation model to refine the coordinates of the point of intersection of the ray with the geometry represented analytically allowed authors to develop and implement a ray tracing algorithm in an optical system containing surfaces with dual geometry representation. Experiments conducted using the developed and implemented algorithm show the significant acceleration of ray tracing while maintaining computational accuracy and high stability of results. The results were demonstrated by calculating the point and flare spread function for two lenses with free-form surfaces defined by Jacobi polynomials. In addition, for these two lenses, the image formed by an RGB-D object simulating a real scene was calculated.
Keywords
Full Text

About the authors
D. D. Zhdanov
Saint Petersburg National Research University of Information Technologies, Mechanics and Optics
Author for correspondence.
Email: ddzhdanov@mail.ru
Russian Federation, Saint Petersburg
I. S. Potemin
Saint Petersburg National Research University of Information Technologies, Mechanics and Optics
Email: ipotemin@yandex.ru
Russian Federation, Saint Petersburg
A. D. Zhdanov
Saint Petersburg National Research University of Information Technologies, Mechanics and Optics
Email: andrew.gtx@gmail.com
Russian Federation, Saint Petersburg
References
- Forbes G.W. Shape specification for axially symmetric optical surfaces // Opt. Express. 2007. № 15. P. 5218–5226.
- Forbes G.W. Robust, efficient computational methods for axially symmetric optical aspheres // Opt. Express 2010. № 18. P. 19700–19712.
- Thompson K.P., Fournier F., Rolland J.P., Forbes G.W. The Forbes Polynomial: A more predictable surface for fabricators // International Optical Design Conference and Optical Fabrication and Testing. OSA Technical Digest (CD) (Optica Publishing Group, 2010), paper OTuA6.
- Feder D. Optical Calculations with Automatic Computing Machinery // J. Opt. Soc. Am. 1951. № 41. P. 630.
- Allen W., Snyder J. Ray Tracing through Uncentered and Aspheric Surfaces // J. Opt. Soc. Am. 1952. № 42. P. 243.
- Spencer M.G.H., Murty V.R.K. General Ray-Tracing Procedure // J. Opt. Soc. Am. 1962. № 52. P. 672–678.
- Pharr M., Jakob W., Humphreys G. Physically Based Rendering: From Theory to Implementation. M.: Morgan Kaufmann, 2016. 1266 p.
- Karhu K. Displacement Mapping. Tik-111.500 Seminar on computer graphics. Telecommunications Software and Multimedia Laboratory. Spring 2002: Rendering high-quality 3D graphics.
- GitHub – embree/embree: Embree ray tracing kernels repository. https://github.com/embree/embree
- Intel® oneAPI Threading Building Blocks. https://www.intel.com/content/www/us/en/developer/tools/oneapi/onetbb.html
- Voloboi A.G., Galaktionov V.A. and Zhdanov D.D. Technology of optical elements in computer modeling of optical-electronic devices // Inf. Tekhnol. Proekt. Proizvod. 2006. № 3. P. 46–56.
- Integra® Lumicept. https://integra.jp/en/products/lumicept
Supplementary files
