iDevGames Forums
picking glOrtho vs gluPerspective - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: picking glOrtho vs gluPerspective (/thread-5451.html)



picking glOrtho vs gluPerspective - rhiannon - Jun 6, 2005 02:20 PM

Hi everyone,

Recently I decided to have the option to switch to a glOrtho when viewing a model, from gluPerspective, when I make this switch my picking code does weird things... It still picks and processes hits but they are off, they don't line up at all. I'm a noob so it's probably something simple. I just replace the gluPerspective calls with similar ones to glOrtho, both in the real viewing and in the picking view. It works fine in gluPerspective btw. Any ideas?