摘要
该文描述了一套粒子系统应用程序接口 (API)的设计 ,并将其作为一个模块应用于虚拟现实系统的动态场景模拟中。该粒子系统API采用合理的数据结构 ,设计了一套高效的粒子生成、管理方法 ,并采用高速OpenGL渲染引擎 ,使之能够满足在普通PC机上模拟大数据量动态场景的需求。同时 ,它还具有相当的灵活性和可扩展性 ,可以应用于各种各样的动态场景。这套粒子系统API的设计充分体现了面向对象和结构化程序设计的思想 ,在传统算法上进行优化创新 。
This paper introduces how to develop a set of Particles System Application Programmer Interface(API) which can be used to simulate dynamic scene in VR system as a module. We design a set of methods to generate and manage particles efficiently with reasonable data structure, and use OpenGL render engine of high speed in order to simulate dynamic scene of huge data in common PC. At the same time this set of particles system API is flexible and expandable so that it can be applied to all kinds of dynamic scene. The APIs make good use of object oriented design(OOD)and Structured Programming Design, and optimize some traditional algorithm so as to get better effect of VR.
出处
《计算机仿真》
CSCD
2004年第11期137-140,共4页
Computer Simulation
基金
中国科学院知识创新工程领域前沿项目 (CXNIGLAS -A0 2 -0 12 )
关键词
虚拟现实
粒子系统
应用程序接口
Virtual reality(VR)
Particles system
Application programmer interface(API)