| With the rapid development of computer software and hardware,computer graphics has received a lot of attention and rapid development in recent years,and it has been widely used in all walks of life.The three-dimensional graphics technology contains a large number of graphics image processing algorithms,increasing the difficulty of development.Although there is support for the underlying graphics development library,in the actual project development,by directly calling these interfaces provided by the underlying graphics library to develop graphics applications,there are still some limitations,restricting the development of three-dimensional graphics applications.Affect development efficiency.Therefore,based on the analysis and study of the structure and workflow of the 3D graphics rendering engine,this article has designed a complete OpenGL-based 3D rendering engine.The three-dimensional rendering engine designed in this paper is divided into core function modules and extended function modules according to different functions and tasks.In order to give full play to the advantages of modern graphics processors and further improve the efficiency and quality of rendering,based on the design framework,the current more advanced rendering algorithms are integrated.The main research results of this article mainly include:1.Based on a thorough analysis of the application features of the mainstream 3D rendering engines at home and abroad,the design of the 3D rendering engine framework is completed,and various functional modules in the architecture are introduced.2.The scene management module adopts an advanced adaptive binary tree scene organization algorithm to take charge of the division of objects in the scene.On the basis of the adaptive binary tree scene organization structure,the view frustum culling algorithm based on bounding spheres and bounding boxes is used to reduce the number of nodes participating in the visibility calculation and improve the cutting accuracy and subsequent rendering efficiency.3.The structure design and implementation of the main sub-modules in the 3D rendering engine framework. |