Eye position
How can I retrieve the eye position from the view matrix ?
Thanks in advance
February 17, 2003 06:41 AM
Wouldn''t you please explain, what for on the earth you need it?
February 17, 2003 07:13 AM
yes, but i think you should be storing the orientation of the camera(eye) so you wouldn''t need to extract this info from the view matrix. depending if your view matrix is row or column major then your eye position is {M41,M42,M43} or {M14,M24,M34} where M is your Camera matrix, Make sure that only the camera transform is the only one on the view.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement