PDA

View Full Version : Cylindrical Billboarding


andrewvtran
02-22-2003, 07:02 PM
Does anyone know how to do cylindrical (axis-aligned) billboarding around an arbitrary axis?

Dia Kharrat
02-23-2003, 01:50 AM
I'm thinking of posting a special tutorial on billboarding (spherical and cylindrical).

donBerto
02-23-2003, 09:28 AM
would you please? that would be really nice.

:yes:

davepermen
02-23-2003, 12:27 PM
you have one axis, the vector from axis to eye, take a crossproduct and you get a "right" vector (or left), and normalize them, make them all perpendicular onto eachother, and voilą, your 3x3 matrices can get built up..

in case you know yet the vector math, next time just take a piece of paper and play:D

Yau
02-23-2003, 05:31 PM
Just read some of the post about how 2 do lasers in OpenGL in the OpenGL section. Lots of discussion about axis aligned billboarding there.