Hi all, I try to understand the camera mode. I read in indigo pdf that the camera have two vector to get the rotation angle with the position of the camera. I has the next example. I has a camera in position:
Px= 6.567
Py= -6.842
Pz= 6.230
and the rotation is:
Rx= 63.559º
Ry= 0.620º
Rz= 46.692º
Can anyone tell me how I can get with these values the up vector and the forward vector ?
Understand camera,
i dont know what application you are using, but if you can acces the objects matrix, the up-vector is the second or third vector (v2 or v3, depending on whats axis is up in your application) and the forwards-vector is one of the other two(wich should be in fact the forwards axis in your application).
if you cant acces the matrix, im sure you can calculate it.
but i dont know how
greets
if you cant acces the matrix, im sure you can calculate it.
but i dont know how
greets
Who is online
Users browsing this forum: No registered users and 32 guests
