[gameprogrammer] Re: screen coordinates to object coordinates.

> Is there some thing similar in DirectX

D3DXVec3Unproject

You need the viewport values and projection, world and view matricies, 
but you can get all of those from IDirect3DDevice9::GetViewport and 
IDirect3DDevice9::GetTransform



Andy


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: