文档介绍:基于OGRE的海量三维模型动态调度
技术的研究与实现
全日制工程硕士学位论文
基于OGRE的海量三维模型动态调度技术的研究与实现
工程领域计算机技术
GRE
的海量三维模型动态调度技术的研究与实现
摘要
虚拟现实(VR)是一个新兴的计算机技术,广泛运用于各个行业,为人们的生活带来了极大的改变和方便。在运用VR技术的时候,如果遇到大规模场景,海量的三维模型显示导致计算机的运算速度大大下降,对硬件提出了极高的要求。OGRE (Object-Oriented Graphics Rendering Engine)是一个面向对象的三维渲染引擎,同时支持Direct3D和OpenGL,主要面向游戏场景。但是OGRE中对于海量三维模型的管理能力显得较为不足,不能很好的实现海量三维模型的动态调度。OGRE在管理场景的时候,是以资源组的方式统一加载卸载,不能以单个模型作为加载卸载的单位,这样第一不能很好的把离开当前窗口的物体从内存卸载掉,第二会把当前区域所有细节层次的模型数据全部放于内存中,使得内存不堪重负。所以本论文重点解决这些问题,首先实现以单个模型为单位的动态加载卸载,并且实现了预加载,解决了模型“突现”的问题,然后能对离幵窗口的模型进行判断,过期的模型进行删除,对于采用多个细节层次的情况,没有用到的细节层次模型也会从内存卸载。DatabasePager是动态数据库技术,用来缓解内存压力,能够自动加载卸载需要的数据。LOD技术能缓解渲染压力。PagedLOD技术是结合LOD和DatabasePager技术,能同时缓解渲染和内存的压力。能够根据距离选择不同细节层次的模型,然后也能判断出没有用到的细节层次模型和当前窗口外的模型,通知DatabasePager进行卸载判断。文重点研究DatabasePager、PagedLOD等动态管理技术,将其实现到了 OGRE当中。最终实验采用了大量的三维模型,实现了海量三维模型的动态调度。
关键词:虚拟现实大规模场景海量三维模型动态调度 OGRE
DatabasePager PagedLOD
ii
nd Implementation Of Dynamic Scheduling Technique Of
Massive Three-Dimensional Models Based On OGRE
ABSTRACT
Virtual reality (VR) is an puter technology, widely used in
various industries, and people's lives changed dramatically and convenience. If
you encounter a large-scale scenes, the use of VR technology, the massive
three-dimensional model of puter's processing speed is greatly decreased
and raised extreme demands on the hardware. OGRE (Object-Oriented Graphics
Rendering, Engine) is an object-oriented 3D rendering engine that supports both
Direct3D and OpenGL, mainly for the game scene.
But OGRE mass management capabilities of three-dimensional model seems
to be rather inadequate, can not realize the three-dimensional model of the
dynamic scheduling well. When OGRE managing scene, the resource group is
the loading and unloading unit, not a single model, so that firstly it can not
unload the outside current window objects from memory well and secondly the
details of the region-level model of data is all load in the memory, making the
memory overwhelmed. This thesis is focus