In this paper we present a framework for the rendering of dynamic 3D virtual environments which can be integrated in the development of videogames. It includes methods to manage sounds and particle effects, paged static geometries, the support of a physics engine and various input systems. It has been designed with a modular structure to allow future expansions. We exploited some open-source state-of-the-art components such as OGRE, PhysX, ParticleUniverse, etc.; all of them have been properly integrated to obtain peculiar physical and environmental effects. The stand-alone version of the application is fully compatible with Direct3D and OpenGL APIs and adopts OpenAL APIs to manage audio cards. Concluding, we devised a showcase demo which reproduces a dynamic 3D environment, including some particular effects: the alternation of day and night infuencing the lighting of the scene, the rendering of terrain, water and vegetation, the reproduction of sounds and atmospheric agents.
翻译:在本文中,我们提出了一个可以纳入视频游戏开发的动态三维虚拟环境的形成框架,其中包括管理声音和粒子效应的方法、按页静态地形、支持物理学引擎和各种输入系统,设计时采用了模块结构,以允许今后的扩展。我们利用了一些开放源头最先进的部件,如OGRE、PhysX、PartleUniverse等;所有这些部件都已适当地整合,以获得特殊的物理和环境效应。该应用的独立版本与Direct3D和OpenGL API完全兼容,并采用OpenAL API来管理音卡。最后,我们设计了一个演示,复制了动态三维环境,包括某些特定效应:日夜的变换,即场景的照明,地形、水和植被的形成,声音和大气剂的复制。