PDA

View Full Version : Collision detection with selection mode?



Jeronimo
01-12-2002, 05:49 PM
Hi,

Just one simple question. Can basic 3D collision detection be performed with OpenGL's selection mechanism? Someone mentioned this to me, but I'm never seen a reference to this method in the red book (it does mention selection but from the user's point of view) or in online tutorials (most mention sphere bounding box as the simplest method available for collision detection). If it exists, why is it seldom (or never) mentioned? Too slow? Too cumbersome?

Thanks for your help.

Frederico Jeronimo

Leyder Dylan
01-13-2002, 12:34 AM
Hi,

Try another way.

Jeronimo
01-13-2002, 02:44 AM
Originally posted by Leyder Dylan:
Hi,

Try another way.

Thanks for the answer. But can you be a little more specific? I just want to know if it's possible, out of curiosity. I'm not planning to use this method (if it exists).
Thanks again,

Frederico Jeronimo

Leyder Dylan
01-13-2002, 04:44 AM
Hi again,

Sorry for the short reply, time is money http://www.opengl.org/discussion_boards/ubb/smile.gif

Here's a link .
http://www.stanford.edu/~jgao/collision-detection.html

Bob
01-13-2002, 04:52 AM
It is possible to do collision detection using the selection mode. You shouldn't use it because it's not meant for collision detection, and most important, most implementations can't handle it in hardware.