PDA

View Full Version : Problem with gluPerspective view?



HanWu
06-15-2005, 01:29 AM
i am doing a viewer which has a basic navigation function, Pan, Rotate, and Zoom. At first i set up my current view with orthographic view. The gluUnProject works fine and able to maps the window coordinates to object coordinates. But after i switch to gluPerspective view, gluUnProject doesn't maps to the right coordinate. Hope some one can show me how to solve this problem. Thanks

Brolingstanz
06-18-2005, 10:53 AM
not an advanced question, but i think you'll find that there's a wealth of knowledge here if you only look...all it takes is a search.

regards,
bonehead