Enix591

im trying to create a scene editor like app for my engine.

In my mesh class, i have a boolean variable called "Selected". It determines if the mesh is selected.

So does anybody know how to determine the coordinates of the mouse.

And ,

Determine a bounding rectangle on the part of a mesh viewable.

If you dont understand that, just think of how i can click on and select/deselect a mesh.

Thanks in advance




Re: Game Technologies: DirectX 101 Select a mesh

Talyrond

Here's a very good tutorial that should help:

http://www.mdxinfo.com/tutorials/picking.php

Julian