分析了具有通用性的开放式虚拟环境实验平台的所需功能的基础上,提出了平台的体系结构,并且详细介绍了此平台的核心部分——面向视景仿真的虚拟环境平台的结构以及实现过程中涉及到的关键技术:包括面向对象设计思想,自定义脚本技术,模型导入技术,碰撞检测技术等。采用面向对象的方法进行设计,利用第三方软件完成模型构建,以C++为底层开发语言,利用DirectX实现了虚拟环境的渲染,并对此平台进行了测试,将其应用于虚拟室内环境漫游。
Main functions of an open and general virtual environment develop platform were introduced. Architecture and the kernel of the platform--Visual Simulation Oriented virtual environment platform were proposed, including its structure and some key techniques during implementation: Object-Oriented design thought, self defining script technology, model import and collision detection. The implementation takes C++ as language and DirectX as graphical rendering API. An experiment--walkthrough in a virtual apartment was used to test the platform.