摘要: 通过对Vega软件环境中特效模块的分析,得出了Vega系统自身难以实现随机闪电模拟的结论,根据Vega与OpenGL之间的联系,论证了通过OpenGL在Vega中实现随机闪电模拟的可行性。将纹理映射技术与传统闪电渲染方法相结合,得到一个更高速的闪电渲染方法,将该方法成功地应用到了Vega系统中。实验结果表明,该方法实现的闪电效果真实,实时性高,扩展了Vega的特效功能。
关键词:
视景仿真,
Vega,
闪电渲染,
纹理映射,
OpenGL
Abstract: The paper makes an analysis on the model of special effects in Vega software environment. Based on the analysis, this paper reaches a conclusion that it is difficult to simulate lightning in Vega. By describing the relation between Vega and OpenGL, it is viable to simulate lightning in Vega by using OpenGL. By introducing the technology of texture mapping into lightning rendering, this paper presents a high-speed rendering method, which comes true in Vega. Experimenal result shows that the method is of great use and extends the function of special effects in Vega.
Key words:
VR simulation,
Vega,
lightning simulation,
texture mapping,
OpenGL
中图分类号:
薛军涛;贺怀清;张慕筠. 基于Vega的闪电渲染方法[J]. 计算机工程, 2007, 33(20): 225-227.
XUE Jun-tao; HE Huai-qing; ZHANG Mu-yun. Method of Lightning Rendering Based on Vega[J]. Computer Engineering, 2007, 33(20): 225-227.