Unity3d是一种基于开源.net即Mono.net的组件化的游戏引擎,它能够实现一次开发,跨平台发布的效果。其内置的API函数与开发工具VisualStudio结合能够高效地开发出游戏、视景仿真系统。以中北大学虚拟校园开发为例,在此研究了如何利用Unity3D引擎实现场景实时驱动、用户界面、多媒体信息与模型交互、一键部署桌面、网络功能。发布后达到了足不出户即可通过单机、网络流畅游览校园的目的。系统具有良好的运行效果、维护方法,说明了Unity3D引擎对构建三维校园及进行相关视景仿真方向的研究具有实用与参考价值。
Unity3d is a modularization game engine based on Mono.Net. It can achieve an effect of primary development and cross platform release. Its buih-in API function combined with development tool Visual Studio can efficiently develop games and scene simulation systems. Taking the virtual campus development of North University of China as an example, this paper studies how to use Unity3d engine to realize the scene real-time drive, user interface, multimedia information, model interac- tion, click-once deployment of desktop and network function. After the release, persons who remain within doors can smoothly visit the campus by network. The system has a good running effect and convenient maintenance. The effct shows that the Uni- ty3D engine has practical and reference value for the construction of 3-dimensional campus and the research of related visual simulation.