I need to have a spherical puff of smoke in an OpenGL scene. It should be of a variable size and transparency. It should not significantly affect the render speed. In short, something like GlFog() in a single spherical cloud.
Thanks in advance,
Geometrian
I haven't really tried anything yet, other than check the docs. I would like to make this cloud of smoke, but I don't know where to start, or what to try.
Billboarding quads that are texturemapped with a smoke puff can get you some pretty looking fog. Remember to enable blending and sort them back to front.
Yes, I'd already thought of that. Is that the only way to do it though? Isn't there something OpenGL could do to draw the smoke? It's a little awkward to do it that way because the smoke has to be visible from all angles. It would take a bit of work to get the textures to always face the screen (not edge-on).
Thanks for your comment.
Thanks for your comment.
as was mentioned billboarding will make the quad always face the camera thus its always visable
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement