Realistic rendering of virtual earth in real-time application
-
摘要: 针对虚拟现实中真实感不强的问题,提出了一种具有高精度地表纹理的虚拟地球实现方法,构建了一个地表纹理像素精度高达21 600像素×10 800像素、地球表面轮廓凹凸效果和大气层光晕效果的虚拟地球.采用几何计算来构建地球形状模型,将地球按经纬度分成128块,分别计算每块区域顶点坐标、法向量、纹理坐标;采用混合纹理技术对地表纹理、云层纹理及云层法向量图进行3层纹理混合实现地球表面的云层和轮廓凹凸效果;采用实时移动与放缩带大气层纹理的正方形面板来实现大气光晕效果;采用可见性判断和纹理精度管理的方法,实时判断地球表面区域的可见性、选择不同精度纹理粘贴、剔除不可见区域,减少绘制开销.实验显示,该方法在加载1.02 GB纹理像素的情况下,达到了45帧/s的帧速率.Abstract: A new approach was proposed to enhance realism of virtual earth in VR-based real-time applications. A virtual earth which had 21 600×10 800 pixels surface texture, bumping surface and shine of atmosphere was constructed.The whole virtual earth was cut into 128 parts and then the position of vertices, normal vectors, texture coordinate were calculated by geometry. Using the techniques of the mixture of the textures of earth, normal and clouds, it achieved relatively vivid surface of the earth. By moving and scaling the board which had atmosphere texture, it showed the shine of atmosphere. To achieve good real-time, it eliminated the unvisible parts by judging the parts- visibility in real-time, and chose different resolutions of texture. Experiments show that this approach is able to run 45 frames per second with 1.02GB texture pixels.
-
Key words:
- virtual earth /
- real time system /
- virtual reality
-
[1] 董加强.基于STK的航天发射可视化仿真系统设计与实现[J].计算机测量与控制,2010,18(2):446-449 Dong Jiaqiang.Design and realization of aerospace launchvisualization simulation system based on STK[J].Computer Measurement &Control,2010,18(2):446-449(in Chinese) [2] Chen Aijun,Leptoukh G,Kempler S,et al.Visualization of a-train vertical profiles using google earth[J].Computers &Geosciences,2009,35(1):419-427 [3] Thorne C,Weiley V.Earth-s avatar:the web augmented virtual earth //Session:Visualisation.SIGGRAPH 2003 Conference on Web Graphics.SanDiego:ACM,2003:1-11 [4] Gray J,Szalay A.The world-wide telescope[J].Communica-tions of the ACM,2002,45(11):50-55 [5] 沈荣骏.数字地球,在应用中求发展[J].装备指挥技术学院学报,2009,20(11):1-6 Shen Rongjun.Digital earth,making progress through applications[J].Journal of the Academy of Equipment Command & Technology,2009,20(11):1-6(in Chinese) [6] 曾鹏,陈长征,李苏军.基于数字地球的虚拟海战场环境仿真[J].计算机工程,2009,35(8):269-273 Zeng Peng,Chen Changzheng,Li Sujun.Simulation of virtual sea battlefield environment based on digital earth[J].Computer Engineering,2009,35(8):269-273(in Chinese) [7] 李亚臣,蒋红柳,熊海林,等.视景仿真中三维地球的建模[J].计算机工程,2007,33(12):225-227 Li Yachen,Jiang Hongliu,Xiong Hailin,et al.3D earth modeling in visual simulation[J].Computer Engineering,2007,33(12):225-227(in Chinese) [8] 谢丰,姜弢.Mipmap应用于纹理绘制的新算法及实现[J].应用科技,2008,35(4):57-60 Xie Feng,Jiang Tao.New algorithm and realization of mipmap for texture rendering[J].Applied Science and Technology,2008,35(4):57-60(in Chinese) [9] 舒畅,梁英伦,王大为.基于3Dmax和OGRE的某型装备视景仿真研究[J].指挥控制与仿真,2009,31(5):78-80 Shu Chang,Liang Yinglun,Wang Dawei.Research on anequipment visual emluator based on 3Dmax and OGRE[J].Command Control&Simulation,2009,31(5):78-80(in Chinese) [10] Michael Toksvig.Mipmapping normal maps[J].Journal of Graphics,GPU & Game Tools,2005,10(3):65-71 [11] Hu W,Qin K.Interactive approximate rendering of reflections,refractions and caustics[J].IEEE Transactions on Visualization and Computer Graphics,2007,13(1):46-57
点击查看大图
计量
- 文章访问数: 4567
- HTML全文浏览量: 79
- PDF下载量: 3469
- 被引次数: 0