http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

TheGrumpyProgrammer



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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