I don't believe Open GL has any sort of mechanism

for "collision detection"(this is what this

problem is referred to as in computer graphics

circles). So it looks like this is going to have

to be all handled in your code.

If you know you will only deal with objects with

polygonal planar polygons, you can look at the

distances between vertices of a moving object

and the vertices of potential collided-with objects.

You can determine the potential objects by looking

at all of them, or use a space subdivision

algorithm like an oct-tree.

If you have alot of vertices though, this could

work out to be slow. Real-time collision

detection is something still sought out by

researchers in the field of computer graphics.

In fact, I believe I had seen a talk one time

by a Dr. Manocha and his wife Dr. Ling. They

showed a brief video on collision detection

using this approach in a VR setting. You could

possibly access there papers at www.cs.ncu.edu.

You should find them under the graphics lab link

they have there.

On a final side note, blobby objects and metaballs

are a way people have handling bonding of objects.

The objects flow and bond together based on how

atomic bonds work. This would limit your objects

to being only made out of blobbies and not

polygonal data.

Hopefully something in there helped you out.

Have Fun.

for "collision detection"(this is what this

problem is referred to as in computer graphics

circles). So it looks like this is going to have

to be all handled in your code.

If you know you will only deal with objects with

polygonal planar polygons, you can look at the

distances between vertices of a moving object

and the vertices of potential collided-with objects.

You can determine the potential objects by looking

at all of them, or use a space subdivision

algorithm like an oct-tree.

If you have alot of vertices though, this could

work out to be slow. Real-time collision

detection is something still sought out by

researchers in the field of computer graphics.

In fact, I believe I had seen a talk one time

by a Dr. Manocha and his wife Dr. Ling. They

showed a brief video on collision detection

using this approach in a VR setting. You could

possibly access there papers at www.cs.ncu.edu.

You should find them under the graphics lab link

they have there.

On a final side note, blobby objects and metaballs

are a way people have handling bonding of objects.

The objects flow and bond together based on how

atomic bonds work. This would limit your objects

to being only made out of blobbies and not

polygonal data.

Hopefully something in there helped you out.

Have Fun.