picking glOrtho vs gluPerspective

Post: #1
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?
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How do I do Color Picking? dockode 2 7,712 Sep 24, 2011 08:02 PM
Last Post: dockode
  Issues with picking FFaqui 0 3,244 Nov 21, 2009 04:37 PM
Last Post: FFaqui
  Small error with glViewport and gluPerspective? cjcaufield 1 5,036 Sep 20, 2009 01:10 AM
Last Post: DoG
  Opengl picking problem (zip file) papillon68 1 6,459 Mar 1, 2009 08:49 PM
Last Post: chronus
  Picking and selection... chalamov33 2 5,298 Mar 31, 2008 02:08 PM
Last Post: wyrmmage