Archived

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

Mouse and meshes

This topic is 5749 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 JUST solved this myself. The example that comes with the directx SDK is called "Pick" that shows you how to convert the 2d mouse coordinates into a vector that can be used to select an object that has not had it''s world coordinates changed. so it takes into consideration the viewing and projection matrices but not the world. if you goto http://www.mvps.org/directx/articles/improved_ray_picking.htm there is a great example on how to apply the world matrix to what that "Pick" example gives you.

Share this post


Link to post
Share on other sites