Mouse intersect plane (Full project available)

Hi,

this has been driving me nuts for weeks now, im trying to get the point where the mouse intersects a plane.

I have to have this project for college done for thur and i im just stuck.

If anyone can help it would be excellent, i have created a simple test project to show what im doing, Download (118kb)

Thanks for any help,
-Dave



Answer this question

Mouse intersect plane (Full project available)

  • jamiemthomas

    Hi David, thanks for the reply,

    Yea i looked at the pick sample, if you check out the soruce code in the link i have picking working with a simple box mesh.

    Where im running into trouble getting the x,y,z cords back from the plane intersection, i think its the way im creating the plane, but im not sure.


  • PedroSimao

  • AkinLang2

    Have you already looked at the Pick sample in the DirectX SDK It does exactly what you're looking for (although on a more complex model than a simple plane).


  • Mouse intersect plane (Full project available)