hi,
i have a given rotation matrix that gives me a certain view direction,(4x4) how do i compute the translation part of this matrix when i want my camera to be positioned at 400, 300, 200 while looking in the same direction.
tia
hi,
i have a given rotation matrix that gives me a certain view direction,(4x4) how do i compute the translation part of this matrix when i want my camera to be positioned at 400, 300, 200 while looking in the same direction.
tia
if i’m not mistaken the translation is the right column of the transformation matrix
the camera doesn’t move
if you want to point the camera somewhere you can use glu.gluLookAt();