1 雨天绘制技术
1.1 帧动画纹理贴图
1.2 粒子系统
1.3 Transform Feedback技术
2 粒子的生成
2.1 定义粒子
2.2 粒子算法实现
a=(x,y,-h)-0.15R
b=(x,y,-h)+0.15R
c=(x,y,-h+2.0)-0.15R
d=(x,y,-h+2.0)+0.15R
2.3 雨滴着色
2.4 水花与涟漪
3 雨珠在透明玻璃表面成形效果
3.1 雨滴的分布状态
3.2 运动部分
3.3 尾迹现象
4 积水场景的渲染

Command Control and Simulation >
Method of Rainy 3D Scene Real-time Based on Particle System
Received date: 2020-04-30
Request revised date: 2020-06-30
Online published: 2022-05-07
Copyright
In order to solve the practical engineering application problems such as slow rendering speed, low efficiency and poor effect of traditional 3D scene in rainy day, this paper proposes a method of rendering large-scale rainy day environment about the generation and movement of raindrops to simulate the whole process of raindrops landing. Based on the particle system, this paper presents a rendering method of large-scale rainy environment, from the generation and movement of raindrops to the whole process of raindrops landing. This method uses transform feedback technology to draw the movement of raindrops, realizes the rendering effects of raindrop coloring, splashing water, dynamic ripples and so on. Using the off-screen rendering characteristics of OpenGL and the programmed method, according to a texture, continuously generates a new normal vector texture representing ripples with animation circles, and realizes the algorithm flow of dynamic ripples. Through the analysis of the distribution, movement and wake of raindrops, the formation effect of raindrops on the surface of transparent glass is realized. Finally, this paper uses a pavement texture mask, the height is limited to [0,1], and realizes the water rendering effect of the road area, and gives the coloring algorithm.
Key words: raindrops; particles; coloring algorithm; texture
LIU Jian-chao , LIN Ya-jun , WANG Shu-yun , DONG Fei . Method of Rainy 3D Scene Real-time Based on Particle System[J]. Command Control and Simulation, 2020 , 42(5) : 70 -75 . DOI: 10.3969/j.issn.1673-3819.2020.05.014
a=(x,y,-h)-0.15R
b=(x,y,-h)+0.15R
c=(x,y,-h+2.0)-0.15R
d=(x,y,-h+2.0)+0.15R

| [1] |
王康. 动态三维合成视景及其视景仿真研究[D]. 西安: 西安电子科技大学, 2014.
|
| [2] |
|
| [3] |
徐泽骅, 李胜. 面向大规模户外场景的实时绘制系统[D]. 北京: 北京大学, 2017.
|
| [4] |
|
| [5] |
赵圆圆. 雨场景中的雨滴与多种物体交互模拟[D]. 秦皇岛: 燕山大学, 2016.
|
| [6] |
薛松, 翁冬冬, 刘越, 等. 增强现实游戏交互模式对比[J]. 计算机辅助设计与图形学学报, 2015, 27(12):2402-2409.
|
| [7] |
陈华杰, 余小清, 唐经洲, 等. 基于粒子系统与 LOD 技术的实时雨雪效果模拟[J]. 计算机仿真, 2008, 25(4):194-197.
|
| [8] |
王长波, 杨志亮, 张鑫. 虚拟雨景中路面湿润效果的实时建模与绘制[J]. 计算机辅助设计与图形学学报, 2008, 20(6):713-717.
|
| [9] |
唐玉蕾, 袁赞, 吴志红 . 基于 GPU 雨场景的实时模拟[J]. 计算机工程与设计, 2014, 35(6):2188-2191.
|
| [10] |
董鸿鹏, 王春财, 张波. 飞行模拟器视景系统的设计与实现[J]. 计算机应用, 2018, 38(S1):228-231, 235.
|
| [11] |
|
/
| 〈 |
|
〉 |