Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

determining what 3d obj click on

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 mutex   Members   

1111
Like
Likes
Like

Posted 03 October 1999 - 02:10 PM

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).]





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.