云或烟雾的粒子系统 [英] particle system for cloud or smoke

查看:161
本文介绍了云或烟雾的粒子系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何使粒子系统中的粒子表现为一个简单的粒子系统,使用OpenGL和CUDA。



我现在遇到的一些问题是:


  1. 粒子聚集在一个大球中

  2. 粒子散布到无穷远

  3. 粒子突然弹弓

我已经完成了渲染

解决方案

小蚂蚱在这种性质的粒子系统上有一些奇妙的教程:基于噪声的粒子(烟雾),基于噪声的粒子II (烟雾),简单流体模拟(烟雾)和深不透明度地图(云)。大多数是纯粹的OpenGL,但如果你想要的话,整体技术可以应用在CUDA / OpenGL互操作。


I am trying to make a simple particle system for cloud and smoke simulation using OpenGL and CUDA.

How can I make the particles in the particle system behave as a real cloud or smoke would behave in some low turbulent winds?

Some problems I'm having right now is:

  1. The particles clump together in a big ball
  2. The particles spread away into infinity
  3. The particles suddenly slingshot themselves away.

I've already done the rendering of the particles so I'm satisfied in that area.

解决方案

The little grasshopper has some fantastic tutorials on particle systems of this nature: Noise Based Particles (smoke), Noise Based Particles II (smoke), Simple Fluid Simulation (smoke), and Deep Opacity Maps (clouds). Most of these are purely OpenGL but the overall techniques could be applied in CUDA / OpenGL interops if you so desired.

这篇关于云或烟雾的粒子系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆