Jump to content
  • Advertisement
Sign in to follow this  
hillbilly

how to pick up a line?

This topic is 4845 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

hi guys, I'm wondering how to pick up something in dx9? just like a line, or a sphere, bucause I'm working on my scenec editor, and it seems that I have to konw it. I've googled for hours, but get nothing..., so any handy methods or samples are welcomed. thank you very much!:)

Share this post


Link to post
Share on other sites
Advertisement
Hi there HillBilly, how are you doing?

[The Problem]
"Picking" items in DirectX

[The Solution]
The technique you are refering to is named picking, it involves translating the mouse coordinates to world space so that you can see if the mouse coordinates are in the bounding box/sphere of a object.

If you google for "picking" you will find some resources. If you don't come right, please do not hesitate to reply here and I shall happily assist you in the finer details.

I hope this helps.
Keep cool.

Share this post


Link to post
Share on other sites
Quote:
Original post by Armadon
Hi there HillBilly, how are you doing?

[The Problem]
"Picking" items in DirectX

[The Solution]
The technique you are refering to is named picking, it involves translating the mouse coordinates to world space so that you can see if the mouse coordinates are in the bounding box/sphere of a object.

If you google for "picking" you will find some resources. If you don't come right, please do not hesitate to reply here and I shall happily assist you in the finer details.

I hope this helps.
Keep cool.


hi warm-hearted guy!

I get a lot by searching for the keyword "picking", it's what I really want, your reply is indeed helpful!

thank you Amadon!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!