03-25-2002, 01:52 PM
I have set up a camera where all I do is change the position, view, and up-vector coordinates of a camera, and the change the view using glLookAt. Well, when i run glUnProject from where the mouse clicks on the window, it returns the incorrect 3d coordiantes in relation to the window space coordinates that the mouse is actually at. Does anyone have any idea what I may be doing wrong with the amount of info I'm giving? If you need more info, I can give it, but I don't know how much you need. ANY feedback would be greatly appreciated.