Research Article

The role of linear algebra in real-time graphics rendering: A comparison and analysis of mathematical library performance

Hongyi Zhang*
Harbin Institute of Technology

* Corresponding author: [email protected]

Abstract

With the rise of concepts like the metaverse, virtual reality, and augmented reality, real-time graphics rendering technology has garnered significant attention. Among its key performance indicators, frame rate and graphical quality stand out. Particularly in real-time rendering, linear algebra, especially matrix and vector operations, play a crucial role in determining the position and transformation of models in multidimensional space. This study aims to explore methods for enhancing matrix operation performance in graphics rendering. We compare the performance of two popular mathematical libraries in practical rendering scenarios and discuss the potential of leveraging their strengths to achieve more efficient performance. The research results demonstrate that optimized matrix operations can significantly improve frame rates, providing users with smoother visual experiences. This holds great importance for real-time graphics rendering applications such as games, 3D simulations, and the metaverse. The paper also reviews relevant literature, presents specific comparative data, analyzes the reasons behind performance differences, and discusses the limitations and future directions of the research.

Keywords: Computer Graphics; Optimization; Matrix Computations; Real-Time Rendering
Published: July 5, 2024
DOI: 10.54254/2755-2721/73/20240358
Volume: ACE Vol.73
pp. 42-49
Download PDF

References

  1. T. Akenine-Mo, E. Haines, and N. Hoffman, "Real-time rendering," 2018.
  2. J. Krüger and R. Westermann, "Linear algebra operators for GPU implementation of numerical algorithms," in ACM SIGGRAPH 2005 Courses, 2005, pp. 234-es.
  3. T. Neff et al., "DONeRF: Towards Real‐Time Rendering of Compact Neural Radiance Fields using Depth Oracle Networks," in Computer Graphics Forum, 2021, vol. 40, no. 4: Wiley Online Library, pp. 45-59.
  4. N. Bonneel and J. Digne, "A survey of optimal transport for computer graphics and computer vision," in Computer Graphics Forum, 2023, vol. 42, no. 2: Wiley Online Library, pp. 439-460.
  5. A. Riddle, "Extending Beyond the Ultimate Display in Image Objects: An Archaeology of Computer Graphics," Media-N, vol. 19, no. 1, pp. 153-156, 2023.
  6. F. Díaz-Barrancas, H. Cwierz, and P. J. Pardo, "Real-time application of computer graphics improvement techniques using hyperspectral textures in a virtual reality system," Electronics, vol. 10, no. 22, p. 2852, 2021.
  7. K. Wang, "Self-Supervised Learning for the Distinction between Computer-Graphics Images and Natural Images," Applied Sciences, vol. 13, no. 3, p. 1887, 2023.
  8. J. D. Owens et al., "A survey of general‐purpose computation on graphics hardware," in Computer graphics forum, 2007, vol. 26, no. 1: Wiley Online Library, pp. 80-113.
  9. V. Kelefouras, A. Kritikakou, and C. Goutis, "A Matrix–Matrix Multiplication methodology for single/multi-core architectures using SIMD," The Journal of Supercomputing, vol. 68, pp. 1418-1440, 2014.
  10. P. RSTAD, F. Manne, T. REVIK, and M. V. SICy, "Efficient matrix multiplication on SIMD computers," 1991.
  11. C. Jiang and M. Snir, "Automatic tuning matrix multiplication performance on graphics hardware," in 14th International Conference on Parallel Architectures and Compilation Techniques (PACT'05), 2005: IEEE, pp. 185-194.
  12. M. Segal and K. Akeley, "The OpenGL graphics system: A specification (version 1.1)," ed, 1999.
  13. R. Rieder and J. D. Brancher, "Development of a micro world for the education of the Fundamental Mathematics, using OpenGL and Delphi," in X Congreso Iberoamericano de Educación Superior em Computación en el marco de CLEI, 2002.
  14. P. Zangerl, H. Jordan, P. Thoman, P. Gschwandtner, and T. Fahringer, "Exploring the semantic gap in compiling embedded dsls," in Proceedings of the 18th International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation, 2018, pp. 195-201.