Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualLightness1024

Posted 15 April 2013 - 08:09 AM

This problem is typical of aspect ratio problems. Be sure that the function that creates the ray from the mouse point is really a match for your projection and view matrices. This is not trivial, because most of the time people use a focal system to ray-cast (placing the screen plane at focal distance) and this can omit some importants anisotropy that actually happens using a 4D projection matrix.

To very quickly verify that it is this problem, or something else, set your window totally square and tests again.


#2Lightness1024

Posted 15 April 2013 - 08:09 AM

This problem is typical of aspect ratio problems. Be sure that of the function that creates the ray from the mouse point is really a match for your projection and view matrices. This is not trivial, because most of the time people use a focal system to ray-cast (placing the screen plane at focal distance) and this can omit some importants anisotropy that actually happens using a 4D projection matrix.

To very quickly verify that it is this problem, or something else, set your window totally square and tests again.


#1Lightness1024

Posted 15 April 2013 - 08:09 AM

This problem is typical of aspect ratio problems. Be sure that of the function that creates the ray from the mouse point is really a match for your projection and view matrices. This is not trivial, because most of the time people use a focal system to ray-cast (placing the screen plane at focal distance) and this can omit some importants anisotropy that actually happens using a 4D projection matrix.


PARTNERS