Jump to content


gluUnProject............


  • You cannot reply to this topic
No replies to this topic

#1 kaonashi

    New Member

  • Members
  • Pip
  • 1 posts

Posted 12 September 2005 - 10:03 AM

Hi all!!!
I have been trying to use gluUnProject to get 3d mouse coords and then cast a ray from my camera through the 3d coords and check for interestion with a plane. All of this is working not so bad except that the farther i click from my camera the bigger the error between the Z coords i want and the ones i get is..

I guess the problem is something related the the zFar and Znear plane, but i dont know how to fix it..

Someone has an idea of what it might be?

Thanks alot! :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users