|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [gameprogrammer] screen coordinates to object coordinates.
Hi, I have only one object which is rendered. Now when a mouse down occurs I need to find out where exactly in object coordinates the mouse click has happened. My problem is to get the z coordinates... I heard in opengl there is a method glReadPixel to get the z coordinate from the z buffer... (after that I think unproject() will give the coresponding object coordinate) Is there some thing similar in DirectX Regards, Ashwin --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html
|
|