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?
01-31-2001, 09:51 AM
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.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.