-
is there a function?
is there any function in open gl that will return the coordinates of the current eye position? or is there any simple way to get these values from the current matrix?
-
Junior Member
Regular Contributor
Re: is there a function?
Hello,
Since you have to know where the camera is located in order to proceed with any rendering, it is easier to track the 'eye position' within your application than to attmpet to deduce it from the current OpenGL state.
By default, your eye position is at 0,0,0, staring down the negative 'Z' axis, with a 0,1,0 'up' vector.
-- Jeff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules