摘要
VRML是虚拟现实建模语言(Virtual Reality Model Language)的简称,是一种基于文本的描述三维环境的场景描述语言,是HTML的3D(三维)模拟。本文以天体运动中的"日食、月食"为例,讨论了利用组件化技术构建天体运动的三维场景以及VRML虚拟场景与外界交互的手段和方法。针对传统的三维制作软件(如3D Max)在演示过程中不受用户控制和无法实现实时的交互等缺点,重点研究了利用VRML节点库中的内插器节点与传感器节点结合和Script节点集成高级语言(如Javascript)来实现交互式天体运动场景的方法及实现过程,通过该平台可以实现人机交互。由于复杂的交互式三维运动场景在计算机上运行速度不够理想,最后提出了采用编组和内联等方案对运动场景进行了优化。
VRML is the Virtual Reality Modeling Language(Virtual Reality Model Language) for short,is a text-based description of three-dimensional environment scene description language,HTML,3D(three dimensional) simulation.To the moving celestial objects,such as solar eclipse and moon eclipse,this paper discusses the means and methods of the use of component-based technology to build three-dimensional movement of celestial objects as well as VRML virtual scenes interact with the outside world.Because the operation of three-dimensional making software(for example 3D Max) in the tradition can’t be controlled by user in the demo and interacted in time,this paper studies to achieve the movement of celestial objects interactive method and implementation process can be achieved by the use of VRML interpolator node,sensor nodes,Script node integrated combination of high-level language(such as Javascript)in the library.The human interacts with computer with the platform.Because speed is not ideal about the complex interactive three-dimensional motion,this article concludes the movement scene is optimized by Group and inline programs.
出处
《计算机系统应用》
2010年第11期92-97,共6页
Computer Systems & Applications