Archived

This topic is now archived and is closed to further replies.

Zealot

Smoke and dust rendering

Recommended Posts

Zealot    127
Umm, I was spending all day trying to figure out how to appropriatley render smoke. The only ways to do it I could think of seemed a little far fetched, and probably wouldn''t look too good. One idea however, is to maybe disable fog in OpenGL, then draw a box with it enabled, and then disable it again. I have not tried this but by what I know about the OpenGL state machine, this may work, and is by far the least processor and programming intensive approach yet, but will it work? Also, could anyone show me a resource pointed to making smoke in OpenGL? I have yet to see a good one. En taro Adun! Doom to all who threaten the homeworld! *Protoss Zealot - Starcraft*

Share this post


Link to post
Share on other sites
masterg    100
Do some research on particle engines. I know for a fact that you can create realistic smoke effects using "them".

Share this post


Link to post
Share on other sites
TerranFury    142
You can use several alpha-blended "smoke-puff" billboards in a particle system. This can work fairly well.

Another technique is "splatting." Develop a 3d volumetric texture and draw it in several quad "slices."

Your fog trick won''t work. All it will succeed in doing is creating a gray box.

Share this post


Link to post
Share on other sites