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
2
Originally posted by Wonwoo:
[b]
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 ?
[/b]
No, you may want to do a search in the beginners forum as this is not really advanced.
JONSKI
3
GluUnProject() should work with any type of projection. Are you sure you are giving it the right parameters?