Skip to main content
gamedev.net
🔒 Locked

billboarding

Started by xiongyouyi Mar 27, 2009 at 8:39 AM 0 replies 750+ views
Original Post
xiongyouyi
xiongyouyi
I read the billboarding tutorial on Lighthouse 3D. http://www.lighthouse3d.com/opengl/billboarding/index.php3?billCheat2 According to the tutorial, he use up and right vector to define the vertices of the quad. a = center - right * (size * 0.5); b = center + right * size * 0.5; c = center + right * size * 0.5 + up * size; d = center - right * size * 0.5 + up * size; What's the meaning of the above expressions? Thank you!
-jK-
-jK-
up = camera up vector
right = camera right vector

PS: the tutorial says you how to get those vectors

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.