View Full Version : camera position
09-14-2000, 02:30 PM
First, I know that the camera (as if there is one) is always at 0,0,0 and that we move the objects in a scene, but
after a series of translate rotates etc how can I get my camera's exact position wrt the world
09-14-2000, 08:02 PM
I'm new so this might sound crazy. but if you mean that your modelview matrix and your projection matrix need to be equal to each other you can say
I think this is what you are talking about, it might not even work though http://www.opengl.org/discussion_boards/ubb/frown.gif. Hope it helps.
09-14-2000, 08:03 PM
wait a second, thats nonsense. nevermind, don't listen to me!
09-15-2000, 06:13 AM
Get the modelview matrix, invert it, and throw (0,0,0,1) at it.
Matrix inversion routines are to be found in these forums (forae?). Search for my name.
09-15-2000, 10:20 AM
(straying from the subject by a mile)i think forum is neuter gender so if i remeber my latin from high school correctly the plural is "fora".
09-15-2000, 10:22 AM
as if ya'll care. http://www.opengl.org/discussion_boards/ubb/rolleyes.gif
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.