摘要
针对当前虚拟现实开发速度慢、成本高、交互性能差、平台移植难等问题,利用Unity3D进行了上海大学嘉定校区虚拟校园的开发。为加快计算速度并提高交互性,利用多边形简化技术来表现层次细节纹理,实现了三个层次的细节模型。使用动态遮挡技术建立了三维的遮挡区域,而且置于人物摄像机的视域之内,可以在人物移动时剔除不需要显示的模型,减少了计算量。利用椭圆体代替粒子,并建立了椭圆体粒子发射器、粒子动画器、粒子渲染器来表现粒子系统。同时对摄像机跟随、碰撞检测等问题进行了研究和实现。完成了校园漫游模块、虚拟展厅模块、小孩扔书游戏模块、男运动员投篮仿真训练模块。最后将虚拟校园移植到多个平台上,系统运行流畅,达到了设计要求。
Aiming at the problems of slow development speed of virtual reality, the high cost and interactive performance difference and difficult platform transplantation, the virtual campus of Shanghai university jiading campus using Unity3 D has been developed. In order to speed up the computation speed and improve the interactivity ,polygon simplification technology is used to represent the levels of detail, three levels of detail model is used to reduce the amount of calculation. These modes which don't need to display can be deleted when figures are moving, using dynamic block technology established a 3D cover area which is in the horizon of the characters camera. The particle system is created using ellipsoids instead of particles, which includes the ellipsoid particle emitter, the particle renderer, the particle animation editor. Video camera to follow, collision detection is also on the study. The system includes the navigation module, virtual gallery module, children throwing book game module, athletes shooting simulation training module. Finally, the virtual campus is transplanted to multiple platforms. The operation of the system is fluent, and meets the design requirements.
出处
《计算机技术与发展》
2014年第2期127-130,135,共5页
Computer Technology and Development
基金
国家"863"高技术发展计划项目(2007AA01Z319)
国家科技支撑计划课题(2006BAK13B10)
上海市科委项目(11511503400
11511503302)