Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


D3DXIntersect distance

This topic is 5841 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m working with code seen in the "Pick" sample to use the mouse cursor to select a polygon in my own mesh, but I have a problem with D3DXIntersect. It seems to work only with short distances (20 max). When I move the camera out farther, I get wrong results. Anyone had similar problems, could it be a corrupt mesh? The code that computes a ray from the mouse pointer seems to be working well. I''ve tried normalizing the mouse direction vector (I''ve also tried to increase it by a lot). No success. Juozas

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!