基于OpenGL的虚拟场景建模技术的研究与实践-计算机应用技术专业论文.docxVIP

  • 3
  • 0
  • 约4.62万字
  • 约 66页
  • 2019-02-15 发布于上海
  • 举报

基于OpenGL的虚拟场景建模技术的研究与实践-计算机应用技术专业论文.docx

虚拟 虚拟 中发挥着 好坏。Op 建领域的 高效性和实用性。 本文分别对天空、地形和树木这三大常见的自然景物模型进行了 研究,并实现了这三大自然景物的实例模型,包括分形地形和曲面地 形的研究;分形树木算法、特殊平面树、基于图形纹理映射的树木建 模和基于分形的三维树木模型的研究;以及天空盒模型和圆顶天空模 型的研究,并对不同实例模型进行了仿真实验对比分析。 针对分形地形算法中存在的裂痕问题,提出了基于单链表结构的 改进算法,仿真实验证明其取得了较好的视觉效果;针对现有递归分 形树算法存在的缺陷和不足,提出了一种基于随机分枝结构的递归分 形树新算法,具有一定的通用性和更加自然美观的视觉效果,并将分 形动画方法应用于此新算法,实现了摇曳的分形树。 在VC++6.0和OpenGL平台下,构建了一个能够生成天空、地形 和树木的场景系统,该系统具有一定的碰撞检测功能,并能进行实时 漫游。 关键词:虚拟现实;虚拟场景建模;OpenGL;分形;天空;地形; 树木 A A b st r a ct Virtual Scene Modeling technology is one of the most critical technologies of virtual reality,it plays an important role in all walks of life.A virtual environment is good or bad depends largely on its good or bad of scene generation.As to the field of three.dimensional graphics building,OpenGL as a tool of virtual scene modeling has become the industry standard.it iS a software interface to graphics hardware,with portability,efficiency and practicality. In this paper,it has studied the three common natural scenery models of the sky,terrain and trees,and realized the examples of these three natural scenery models,including the study of fractal terrain and surface topography;the study of fractal tree algorithm,a special plane tree,graphical texture mapping—based of the tree—model,and fractal-based of three—dimensional tree model;and the study of the sky—box model and the Dome——sky model.and the results of different simulations to different models are compared and analyzed. As to the problem of cracks in fractal terrain algorithms,this paper proposes a suggestion which based on a single list structure.The simulation result shows that this solution has made a good visual effect. To the defects and deficiencies of recursive fractal tree,has proposed a new algorithm based on random branching structure,it has a certain versatility and more natural visual effects,and the fractal animation method has been applied to this new algorithm to realize the fractal tree swaying. It built a scene system that can generate a sky,terrain and t

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档