摘要
碰撞检测是三维漫游中的一项重要功能。通过面向对象图形渲染引擎(OGRE)构建了一个模拟三维漫游系统,利用OgreNewt结合Newton库在系统中实现碰撞检测功能。碰撞检测包围盒均采用3DSMax创建,利用OgreNewt中的碰撞检测树解析,既保证了碰撞的精确性,又节省了编码工作量。适用于层次结构较复杂的三维场景的加载和碰撞检测。
Collision detection is a key feature in 3D scene roanfing. In the thesis, a virtual 3D system is constructed based on OGRE (Object-oriented Graphics Rendering Engine), and collision detection is implemented using OgreNewt and Newton libraries. All the bounding boxes are created by 3DSMax and parsed by collision-detection-tree of OgreNewt, which ensures accuracy of collision detection and saves huge effort of coding. It's proved that this solution is quite suitable for loading 3D scene of complicated hierarchical structure and constructing its collision detection.
出处
《微型机与应用》
2012年第24期42-44,47,共4页
Microcomputer & Its Applications