Archived

This topic is now archived and is closed to further replies.

determining what 3d obj click on

This topic is 6648 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know how to determine what 3d object was clicked on from X and Y screen coordinates? I am using Direct3D. I know that Genesis3D has a function that does it (geCamera_ScreenPointToWorld), which "takes a screen X and Y pair, and a camera and generates a vector pointing in the direction from the camera position to the screen point." Problem is, I don't understand what it's doing and I sorta need this info quick. I need to know how the vector is computed, and how to determine if a plane intersects the vector. Thanks in advance...

(a while later)
anyone?

[This message has been edited by mutex (edited October 11, 1999).]

Share this post


Link to post
Share on other sites