PDA

View Full Version : [Q] gluUnProject with perspective projection



Wonwoo
07-29-2003, 04:52 PM
I tested gluUnProject function in orthogonal projection and it worked well.

I just changed projection method from orthogonal to perspective. And then glUnProject function seems not to work.

Is the gluUnProject applicable only to orthogonal projection ?

satan
07-29-2003, 05:54 PM
Originally posted by Wonwoo:

I tested gluUnProject function in orthogonal projection and it worked well.

I just changed projection method from orthogonal to perspective. And then glUnProject function seems not to work.

Is the gluUnProject applicable only to orthogonal projection ?



No, you may want to do a search in the beginners forum as this is not really advanced.

JONSKI
07-30-2003, 03:58 PM
GluUnProject() should work with any type of projection. Are you sure you are giving it the right parameters?