Jump to content
  • Advertisement
Sign in to follow this  
paulbird

collision detection

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

Is there anything in OpenGL where after you have drawn your scene you can ask it: "If I draw a line from point (x,y,z) to point (x2,y2,z2) will it pass through any of my drawn objects?" i.e. is there any help for collision detection?

Share this post


Link to post
Share on other sites
Advertisement
An interesting paper to get your feet wet in collision detection is Paul Nettle's paper on Collision Detection with Ellipsoids. This is a pretty difficult subject if you've not done much of its nature before, so I wouldn't suggest just taking a dive into the deep end here- You probably won't get very far.

By all means, go ahead and read it and try though. No point in just not trying at all. [smile]

edit: When I originally posted this, there was a post before it saying there is nothing in OpenGL to help with collision detection. This post was supposed to reinforce that and provide an alternative.

Share this post


Link to post
Share on other sites
You'll have to do it yourself... things like AABB's or bounding spheres are pretty simple to set up.

An article on simple collision detection schemes:
http://www.gamasutra.com/features/19991018/Gomez_1.htm


A list of various articles explaining different collision techniques:
http://www.realtimerendering.com/int/
which links to this:
http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter3.htm

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!