Archived

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

SkyNet_ITA

Mouse and meshes

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