Ok… Im working on a little portal engine, and I want to project the coords of the portal polygons to the screen so I can set up a scissor box. The problem is, gluProject is giving me some interesting values. Now, I am using homebrew infinite far-plane projection matrix… may this be the reason why my gluProject call is going off the deep end? Ok… I am also using a viewport that doesn’t consume the entire screen. I suppose gluProject corrects for this.
Any insight as to why gluProject isnt working up to snuff here?