[1]张文娟,吴琼,曹欣然.基于WebGL 的三维落叶场景仿真[J].计算机技术与发展,2018,28(06):165-169.[doi:10.3969/ j. issn.1673-629X.2018.06.037]
 ZHANG Wen-juan,WU Qiong,CAO Xin-ran.Three-dimensional Simulation of Fallen Leaves Based on WebGL[J].,2018,28(06):165-169.[doi:10.3969/ j. issn.1673-629X.2018.06.037]
点击复制

基于WebGL 的三维落叶场景仿真()
分享到:

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

卷:
28
期数:
2018年06期
页码:
165-169
栏目:
应用开发研究
出版日期:
2018-06-10

文章信息/Info

Title:
Three-dimensional Simulation of Fallen Leaves Based on WebGL
文章编号:
1673-629X(2018)06-0165-05
作者:
张文娟吴琼曹欣然
西安石油大学 计算机学院,陕西 西安 710000
Author(s):
ZHANG Wen-juanWU QiongCAO Xin-ran
School of ComputerScience,Xi’an Shiyou University,Xi’an 710000,China
关键词:
粒子系统落叶模拟Three. js纹理映射
Keywords:
particle systemfallen leaves simulationThree. jstexture mapping
分类号:
TP301
DOI:
10.3969/ j. issn.1673-629X.2018.06.037
文献标志码:
A
摘要:
基于 WebGL 的第三方开源库 Three. js,结合粒子系统,以 WebStorm11.0.1 为开发环境,分析落叶的物理运动过程,建立了落叶粒子系统三维模型。 通过对系统内各个粒子位移的控制,简化了粒子的消亡过程。 结合 Three. js 的简便性,模拟叶粒子近大远小的透视投影效果,不再需要在笛卡尔三维坐标系的 Z 轴上引入额外的控制,只需要使用特定的相机。同时,通过对粒子系统内粒子数量的控制,可以模拟出在不同自然条件下叶子落下的场景。 使用 Three. js 可以直接在网页上渲染三维场景,而不需要额外的插件,同时也较好地利用了硬件加速,提高了图形渲染速度。 实验结果表明,该方法具
有真实的三维仿真效果以及较快的图形渲染速度。
Abstract:
Based on the third party open source library Three. js of WebGL and used the WebStorm11. 0. 1 as a development environment,we establish a three-dimensional model of leaf particle system after the analysis of the physical movement trails of fallen leaves and simplified the extinction process of particles by controlling the displacement of each particle in the system through the combination of particle system. Because of the simplicity of Three. js,the excess control on Z axis in Cartesian three-dimensional coordinate system is no longer needed to simulate the leaf particle’s perspective effect that the objects look small in the distance and big on the contrary. Meanwhile,the scenes of falling leaves in different natural environment can be simulated through the quantity control of particle in the system.By using Three. js,the three-dimensional scenes could be rendered in the webpage directly without extra plug-ins,also the graphic rendering speed can be improved due to the better use of the hardware acceleration function. The experiment indicates that this method has realistic effect in three-dimensional simulation and faster speed in graphic rendering.

相似文献/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,(06):118.
[2]涂超.虚拟现实中真实感树木的实时绘制[J].计算机技术与发展,2009,(06):206.
 TU Chao.Real - Time Rendering of Realistic Trees in Virtual Reality Systems[J].,2009,(06):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,(06):195.
[4]葛芳 张成 韦穗 程鸿.基于粒子系统的烟花动画设计[J].计算机技术与发展,2010,(08):180.
 GE Fang,ZHANG Cheng,WEI Sui,et al.Firework Animation Design Based on Particle System[J].,2010,(06):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,(06):152.
[6]陈利平 王国才.基于粒子系统的蜡烛火焰实时模拟[J].计算机技术与发展,2006,(05):186.
 CHEN Li-ping,WANG Guo-cai.Real Time Simulation of Candle Flame Based on Particles System[J].,2006,(06):186.
[7]刘巧红 单贵.粒子系统在虚拟校园中的应用研究[J].计算机技术与发展,2011,(02):246.
 LIU Qiao-hong,SHAN Gui.Research of Particle System Applied in Virtual Campus[J].,2011,(06):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,(06):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,(06):88.
[10]黄昂 汪继文.基于粒子系统的轨迹可控的烟花动画模拟[J].计算机技术与发展,2012,(07):163.
 HUANG Ang,WANG Ji-wen.Simulation of Fireworks with Controllable Trajectory Based on Particle System[J].,2012,(06):163.

更新日期/Last Update: 2018-08-22