[1]周强,汪继文. 基于粒子系统的三维降雪场景仿真[J].计算机技术与发展,2017,27(01):130-133.
 ZHOU Qiang,WANG Ji-wen. Three-dimensional Simulation of Snowing Based on Particle System[J].,2017,27(01):130-133.
点击复制

 基于粒子系统的三维降雪场景仿真()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
27
期数:
2017年01期
页码:
130-133
栏目:
应用开发研究
出版日期:
2017-01-10

文章信息/Info

Title:
 Three-dimensional Simulation of Snowing Based on Particle System
文章编号:
1673-629X(2017)01-0130-04
作者:
 周强汪继文
 安徽大学 计算机科学与技术学院
Author(s):
 ZHOU QiangWANG Ji-wen
关键词:
 粒子系统雪景模拟OpenGL纹理映射
Keywords:
 particle systemsnowscape simulationOpenGLtexture mapping
分类号:
TP302
文献标志码:
A
摘要:
 通过研究粒子系统方法,结合面向对象的C++语言,建立粒子系统的过程模型,分析实际降雪物理运动过程,建立雪粒子系统三维模型,简化雪花下降过程中的运动模型,省去对速度的实时每帧控制。通过控制雪粒子位移来模拟受风力影响的实际宏观降雪雪景,同时通过参数控制实现风力强弱的影响效果和大雪小雪的景观控制,并在笛卡尔三维坐标系的z轴上引入指数函数F = ex 作为控制因子,使雪粒子满足近大远小的透视投影视点效果,具有三维景观效果,并结合OpenGL图形接口对降雪场景进行渲染。实验结果表明,该方法具有逼真的三维仿真效果且代码具有良好的可扩展性。
Abstract:
 A falling snow algorithmic structure is proposed based on particle system,incorporating the object-oriented C++ language. A 3D model of particle system is built by analyzing the falling process of snow,simplified the motion model of the snowflakes falling process and saved each frame of real-time control for speed. The realistic snowing is simulated which affected by wind through control-ling the particles displacement. And on the z axis of three-dimensional Cartesian coordinate system,the index function F = ex is introduced as the controlling factor so that the simulation matches the perspective effect of perspective projection. The simulation is combined with OpenGL graphic interface. The experimental results show that this method has a realistic 3D simulation effect and the codes enable a good scalability.

相似文献/References:

[1]汪继文 余洋 李玉梅.基于粒子系统的陨石爆炸模拟[J].计算机技术与发展,2010,(06):118.
 WANG Ji-wen,YU Yang,LI Yu-mei,et al.Meteorite Explosion Simulation Based on Particle System[J].,2010,(01):118.
[2]涂超.虚拟现实中真实感树木的实时绘制[J].计算机技术与发展,2009,(06):206.
 TU Chao.Real - Time Rendering of Realistic Trees in Virtual Reality Systems[J].,2009,(01):206.
[3]郝进亮 陈蕾 娄高鸣 侯健.基于DirectX的云模拟研究[J].计算机技术与发展,2009,(11):195.
 HAO Jin-liang,CHEN Lei,LOU Gao-ming,et al.Research on Cloud Simulation Based on DirectX[J].,2009,(01):195.
[4]葛芳 张成 韦穗 程鸿.基于粒子系统的烟花动画设计[J].计算机技术与发展,2010,(08):180.
 GE Fang,ZHANG Cheng,WEI Sui,et al.Firework Animation Design Based on Particle System[J].,2010,(01):180.
[5]王顺领 李学庆 王善斌 温英涛.虚拟场景中的实时降雪模拟[J].计算机技术与发展,2006,(03):152.
 WANG Shun-ling,LI Xue-qing,WANG Shan-bin,et al.Real-Time Simulation of Snowfall in Virtual Scene[J].,2006,(01):152.
[6]陈利平 王国才.基于粒子系统的蜡烛火焰实时模拟[J].计算机技术与发展,2006,(05):186.
 CHEN Li-ping,WANG Guo-cai.Real Time Simulation of Candle Flame Based on Particles System[J].,2006,(01):186.
[7]刘巧红 单贵.粒子系统在虚拟校园中的应用研究[J].计算机技术与发展,2011,(02):246.
 LIU Qiao-hong,SHAN Gui.Research of Particle System Applied in Virtual Campus[J].,2011,(01):246.
[8]汪继文 郑锋.基于OpenGL与粒子系统的喷泉模拟实现[J].计算机技术与发展,2011,(08):161.
 WANG Ji-wen,ZHENG Feng.Simulation and Realization of Fountain Based on OpenGL and Particle System[J].,2011,(01):161.
[9]蔡政策 魏臻 凌勇 程磊.基于OGRE粒子系统在烟花渲染中的研究[J].计算机技术与发展,2011,(10):88.
 CAI Zheng-ce,WEI Zhen,LING Yong,et al.Research Based on OGRE Particle System Rendering of Fireworks[J].,2011,(01):88.
[10]黄昂 汪继文.基于粒子系统的轨迹可控的烟花动画模拟[J].计算机技术与发展,2012,(07):163.
 HUANG Ang,WANG Ji-wen.Simulation of Fireworks with Controllable Trajectory Based on Particle System[J].,2012,(01):163.

更新日期/Last Update: 2017-04-01