![Confused :?](./images/smilies/icon_confused.gif)
I want to do a billboard node, but the irrlicht camera uses the lookat method. i don't to think to long about it, so i ask you how can i get the upvector, eye and center from just a matrix xyz rotation. I'd prefer to know it this way.
Thanks
Code: Select all
[ 0 1 2 3]
[ 4 5 6 7]
[ 8 9 10 11]
[12 13 14 15]
Code: Select all
x axis = (M[0], M[4], M[8])
y axis = (M[1], M[5], M[9])
z axis = (M[2], M[6], M[10])
eye position = (M[12], M[13], M[14])