Jump to content
  • Advertisement

Archived

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

mutex

determining what 3d obj click on

This topic is 6955 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
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!