Archived

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

a2k

Billboarding

Recommended Posts

a2k    124
how do you do billboarding? i would imagine that you take the vector (camera origin-camera target) and use this as the normal for the objects to be billboarded, and then the points in the 3d world would finally define the plane that the texture would be on. then, transform the modelview matrix for all planes that need to be oriented in the proper direction of the camera. purpose: i wanted to draw smoke clouds, and for every position on the screen where i want a smoke cloud is going to be a textured, alpha-channeled plane that would hold the image of the smoke cloud. is this the way to do it? or is there a better way? (i want to create smoke like in Nascar 3, ideally, but i have no idea how they did it.) a2k

Share this post


Link to post
Share on other sites