Jump to content
  • Advertisement


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

Paul Dolhai

Mesh Picking

This topic is 5894 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

Hey, This really isn''t DirectX specific, so I thought I''d throw my problem out there. I''m having some trouble implementing the Direct SDK Pick sample to work with multiple objects pointing to the same mesh. Basically what it does is calculate the look ray and performs an intersect test with the mesh. Now this works fine for 1 mesh and 1 object, but I can''t get it working with 1 mesh and multiple objects. What I''m trying to do now is get the inverse matrix of the transforms I do to an object, multiply it with the Pick vector and Intersect it. I thought this would work, but it doesn''t. Anyone have any ideas? Thanks Paul

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!