节点文献

交互式自然场景实时渲染的研究与实现

【作者】 赵前科

【导师】 陈雷霆;

【作者基本信息】 电子科技大学 , 计算机应用技术, 2010, 硕士

【摘要】 自然场景实时交互技术是一种能表达自然场景的真实感,同时给用户极强的沉浸感的元素。自然场景的交互式实时渲染已成为目前的研究热点,尽管目前已取得了不少成果,但是早期的研究工作主要集中在草体外形的真实感表现上,而其它交互性和光影效果的模拟成果较少。直到2006年Kevin Boulanger实现了动态光照下的自然场景的实时真实感渲染,虽然真实感的实现几乎完美,但是没有涉及多少交互,而已有的交互实现还不是很完善,还有很大的研究前景。此外,很多自然景物还没有统一的建模方法,已经存在的建模方法各有其优缺点,还可以继续完善。因此,如何实现自然场景的真实感、可交互性和实时性渲染,是本文将要解决的问题。首先,本文在irrlicht图形引擎的基础上设计了一个草地渲染系统。该系统以irrlicht图形引擎为平台,主要包括草体建模模块,草体交互模块,草体阴影模块等。具体每一模块的内容后续章节再一一进行详细介绍。其次,本文实现了草地场景的LOD显示。虽然草体的几何建模方法很多,但是如果要实现对整个自然场景的几何建模,则数据量很大,重复性高。因此本文将整个草地根据离视点的距离分为三级LOD显示,其中第一级LOD作者借鉴了已有的改进的粒子系统草体建模的方法实现了近距离草体的几何建模,通过实验我们发现这种建模方法得到的草体真实感强,并且能方便地用于交互。在保证渲染质量的前提下,我们将星形布告板进一步简化作为第二级LOD的草体建模。再次,本文针对基于改进的粒子系统建模的草体,提出了一种改进的基于过程的草体碾压算法,实现了球体碾压草体的动态过程。碾压效果的实现有两种方法:基于过程的方法和基于物理的方法。前者采用经验公式来模拟交互的过程,适用于实时应用;后者则采用精确的物理公式来计算,可以模拟出逼真的效果,但计算量大。本文通过采用基于过程的方法,达到了实时性的要求,同时,考虑了草体之间的碰撞检测,实验结果表明该方法能较真实地模拟球体与草体的交互过程,是实现草体碾压效果的一种简单有效的方法。最后,本文利用一种适用于大规模虚拟环境中实时阴影生成算法,实现了草体阴影。该算法通过使用多张阴影图来代替一张代表整个场景的阴影图,既减少了系统开销,又改善了生成的阴影的质量。实验结果表明使用该算法生成的阴影能达到满意的视觉效果和生成速度。

【Abstract】 Real-time rendering and interaction technology make the simulation of natural scenes realistic. The field about how to render real-time natural scenes interactively has been research highlight. Although we get much works, most of them were focused on the geometry of the grass, only a little of them are about the interaction and the light or shadow. Until 2006, Kevin Boulanger simulated real-time natural scenes with dynamic light. The scenes simulated by Kevin are very realistic, but he doesn’t handle interaction effects. The interaction effects currently realized are still not thoroughly, there is still much work to do. Besides, many natural objects, for example grass, haven’t a uniform modeling method. None of the existing modeling methods are perfect. Accordingly, how to rendering a natural scene, real-time, realistic and interactive, is the problem the research aims to solve.Firstly, based on the graphical engine of irrlicht, the thesis designs a grass-rendering system. The system includes the module of grass modeling, interaction, shadow of grass and so on. The following parts will introduce them in detail.Secondly, the thesis realizes the level of detail (LOD) of the grassland. As we know, although there are many ways to model the grass, for the whole grassland, there requires much data, and some of the data is not a must. Therefore, the thesis divides the grassland into three parts, according to the distance between the eye and the grass in the scene. The grass of the part that is closest to the eye is modeled by the method based on the theory of the improved particle system. The grass is verified to be realistic by our experiment, and it can be interacted easily. To reduce the geometry information but not affect the visual of the scene, the grass of the second part is modeled by simplified star billboard.Thirdly, based on the grass modeled by the theory of the improved particle system, an improved procedural approach for simulating the dynamic process of treading grass is designed and implemented. To simulate the process of treading grass, there are two means: the procedural approach and the physical approach. The former simulates the process by the experienced formula, so it is adapted to the real-time application. The latter can simulate realistic effect by the exactly physical formula, but much time is needed. So the thesis adapts the procedural approach for the requirement of real-time. Besides, we consider the conflict in grasses. The result of experiment shows that the approach can simulate the process of grass treading effectively and realistically.Finally, based on the algorithm of real-time shadow rendering for large-scale virtual environments, we realize the shadow of the grassland. Instead of using a big shadow map for the whole grassland, the algorithm uses several small shadow maps. It requires less texture memory and improves the quality of shadow.

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

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

本文的引文网络