检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西北工业大学电子信息学院,陕西西安710072
出 处:《计算机仿真》2009年第2期236-239,共4页Computer Simulation
摘 要:三维真实感地形是虚拟场景中的基础部分,其绘制的速度与质量是构建三维虚拟场景成败的关键。利用Visual C++环境下的MFC机制,以通用的标准三维图形函数库OpenGL为工具,通过在位图的灰度值与地形高程数据之间建立相应的映射关系,建立标准的地形高程数据组,并依托OpenGL平台快速生成了三维网格地形。为增强地形的真实逼真性,对地形网格的法向量作出多重处理,应用OpenGL的光照和纹理映射技术来生成地形的阴暗效果,最后对三维地形的整个场景进行综合编程,实现了三维地形场景的实时、快速绘制。Realistic 3 - D terrain is the foundation of a virtual scene and whose rendering speed and quality are the key to the construction of virtual scene. By building a correspondence between the gray value of Bitmap and the height of terrain to create the data array of the Digital Elevation Model, the system was used to draw the 3D mesh terrain based on MFC of Visual C + + and OpenGL. In order to rendering the realistic terrain, the normal vector of the 3D mesh terrain was processed repeatedly and the shading effect was rendered by the lighting and texture mapping. Finally, the whole 3D terrain in the visual scene was drawn rapidly by programming with OpenGL.
分 类 号:TP391.72[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249