摘要
为了实现田园的三维漫游,系统采用3DSMax进行三维建模,基于VC++开发语言和OpenGL图形库对虚拟田园交互漫游系统进行了设计。论文讨论了地形、天空体、植物等的建模与显示,通过读取3DSMax制作的3DS模型重构了田园和漫游用车辆模型,使用键盘控制车辆任意方向的浏览和视点变换,同时为了增强系统的真实感,增加了车辆碰撞检测功能。此设计方法简单方便,通用性好,虚拟环境具有较好的沉浸感,逼真的再现了实际田园场景;系统交互性能良好,可实现车辆遇障的自动判断并作出相应的反应。
In order to achieve three-dimensional (3D) roaming of the pastoral, the 3D model was built through 3DS Max and the virtual pastoral roaming system was designed basing on VC++ development language and OpenGL graphics library. The model and display of the terrain, sky, plants, etc, was discussed in this paper, the pastoral and roaming vehicle model were reconstructed by reading the 3DS model of 3DS Max, any direction browsing and viewpoint transformation of the vehicle were controlled by the keyboard, at the same time, in order to enhance the sense of reality of the system, collision detection of the vehicle was added. This design method was simple, convenient, versatile, the virtual environment had a better sense of immersion which reproduced the actual pastoral scene perfectly; the system had a good performance of interaction which could achieve vehicle obstacle automatically determine and made corresponding reflection.
出处
《电脑与信息技术》
2012年第5期30-33,75,共5页
Computer and Information Technology
基金
南京农业大学青年科技创新基金(项目编号:KJ2010032)
关键词
虚拟漫游
建模
虚拟场景
碰撞检测
virtual roaming
model
virtual scene
collision detection