节点文献

基于OpenGL的三维视景的建立

The Creation of 3D Scene Based on OpenGL

【作者】 崔璟

【导师】 夏涛;

【作者基本信息】 北京化工大学 , 系统工程, 2008, 硕士

【摘要】 3D图形系统能够较形象的模拟和表示客观物体,易于通过模拟光线照射物体表现物体的质感。OpenGL是优秀的开放的2D/3D图形标准,由OpenGL体系结构委员会(ARB)所掌管。OpenGL图形系统是图形硬件的一个软件接口,它强大的渲染管线能够绘制出逼真的虚拟场景。本文利用OpenGL对如何在PC机上开发出具有较好显示效果和较高渲染速度的应用程序框架进行了研究。主要工作如下:1、研究了基于OpenGL的三维视景应用程序的初始化,完成了OpenGL渲染描述表的设置,并与Windows设备描述表相关联,并且同一设备描述表可以关联多个渲染描述表,但只能有一个有效。2、研究了OpenGL世界坐标系和模型局部坐标系之间的关系和平移旋转并缩放的矩阵表示。并讨论了利用OpenGL的矩阵堆栈实现场景模型的层次化绘制。3、利用OpenGL提供的基本图元的绘制功能,研究了如何将场景中的模型分解为OpenGL可以接受的图元信息,以及如何将这些信息按照渲染要求的不同分类传递给OpenGL调用达到提升OpenGL渲染效率的目的。4、利用OpenGL提供的光照系统,研究了光照材质与当前颜色的互斥性。5、OpenGL的主要功能是渲染场景,其建模功能较缺乏。本文分析了3DSMax场景导出的顶点信息文件。3DS文件的结构,完成了读取。3DS文件的类并将其模型分解成OpenGL可接受的图元信息。6、研究了提高场景渲染效率的方法。可以采用OpenGL提供的显示列表,裁剪不可见的图元,单面渲染和垂直同步这些方法。

【Abstract】 The 3D graphics system simulates and reflects objects in the real world vividly.OpenGL is a 2D/3D graphics standard in charge of Architecture Review Board(ARB)and is a software interface to hardware.Its powerful pipeline is competent for rendering graphics scene.This paper mainly discussed how to create an OpenGL application framework in Windows operation efficiently and vividly.The main subjects are as follows.1.The initialization of OpenGL programming framework is discussed.The operation of attaching OpenGL render context with Windows Device Context is finished with the conclusion that there is only one active render context.2.The relationship between OpenGL world coordinate and model coordinate has been discovered.And the model-view matrixs stack can be used to construct various of models logicaly.3.The method of converting model to geometric primitives and passing primitives infomation to OpenGL efficiently is analyzed.4.The lighting system and default color system cannot be valid at one time. 5.The OpenGL’s aim is to render and is difficult to create complicated models.It is easy to import model infomation from other professional modeling software such as 3DSMax.6.The mechanism of improving the efficiency of rendering scene were discussed,which include the display list,clipping and syncronization.

  • 【分类号】TP391.41
  • 【被引频次】17
  • 【下载频次】1486
节点文献中: 

本文链接的文献网络图示:

本文的引文网络