计算机技术与发展
計算機技術與髮展
계산궤기술여발전
COMPUTER TECHNOLOGY AND DEVELOPMENT
2014年
2期
127-130,135
,共5页
虚拟校园%Unity3D%多平台%漫游
虛擬校園%Unity3D%多平檯%漫遊
허의교완%Unity3D%다평태%만유
virtual campus%Unity3D%multi-platform%navigation
针对当前虚拟现实开发速度慢、成本高、交互性能差、平台移植难等问题,利用Unity3D进行了上海大学嘉定校区虚拟校园的开发。为加快计算速度并提高交互性,利用多边形简化技术来表现层次细节纹理,实现了三个层次的细节模型。使用动态遮挡技术建立了三维的遮挡区域,而且置于人物摄像机的视域之内,可以在人物移动时剔除不需要显示的模型,减少了计算量。利用椭圆体代替粒子,并建立了椭圆体粒子发射器、粒子动画器、粒子渲染器来表现粒子系统。同时对摄像机跟随、碰撞检测等问题进行了研究和实现。完成了校园漫游模块、虚拟展厅模块、小孩扔书游戏模块、男运动员投篮仿真训练模块。最后将虚拟校园移植到多个平台上,系统运行流畅,达到了设计要求。
針對噹前虛擬現實開髮速度慢、成本高、交互性能差、平檯移植難等問題,利用Unity3D進行瞭上海大學嘉定校區虛擬校園的開髮。為加快計算速度併提高交互性,利用多邊形簡化技術來錶現層次細節紋理,實現瞭三箇層次的細節模型。使用動態遮擋技術建立瞭三維的遮擋區域,而且置于人物攝像機的視域之內,可以在人物移動時剔除不需要顯示的模型,減少瞭計算量。利用橢圓體代替粒子,併建立瞭橢圓體粒子髮射器、粒子動畫器、粒子渲染器來錶現粒子繫統。同時對攝像機跟隨、踫撞檢測等問題進行瞭研究和實現。完成瞭校園漫遊模塊、虛擬展廳模塊、小孩扔書遊戲模塊、男運動員投籃倣真訓練模塊。最後將虛擬校園移植到多箇平檯上,繫統運行流暢,達到瞭設計要求。
침대당전허의현실개발속도만、성본고、교호성능차、평태이식난등문제,이용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 Unity3D 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 par-ticle 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 gal-lery 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.