Advertisement

Collision detection in OpenGL

Started by August 11, 2000 06:14 PM
7 comments, last by TipplerP 24 years, 3 months ago
Is there any saple about collision dectection in openGL?? With sorce of course? IS there any Site about this stuff? But it must with Win API! Thx
uh, OpenGL is a GRAPHICS API, last i checked. if it''s a PHYSICS API, i''d like to know how to use it. =) you''d have to code yer own physics, and that''s true for any GRAPHICS API you use. I''d like to refer you to the articles that they have on GameDev on physics, especially the one by Chris Hecker if you want a start on real world collisions. This will also lead you to the Game Developer site. there are good articles and demos there, too.

have fun, and good luck.

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
Advertisement
a2k> maybe it''s good idea to develop a OpenPL (=Physics Library)??



Then we have OpenGL, OpenAL, OpenML, OpenNL and OpenPL


Or... you could always check out my site here:

http://shockonline.homestead.com/openglgameprogramming.html

I just gave it a much needed face lift (well, half of it--I''m working on the other half =)), and it has a whole series on creating a 3d engine!!! Okay, this is some self-promotion, but who really cares?!?





-----------------------------

1. "Diplomacy is the art of saying 'Nice doggie!'... till you can find a rock."

2. "Always remember you're unique, just like everyone else."

3. "If we don't succeed, we run the risk of failure."
-Dan Quayle

4. If life gives you sour grapes, squash them and make wine!
-----------------------------1. "Diplomacy is the art of saying 'Nice doggie!'... till you can find a rock." 2. "Always remember you're unique, just like everyone else." 3. "If we don't succeed, we run the risk of failure."-Dan Quayle4. If life gives you sour grapes, squash them and make wine!
yeah why don''t you go the whole hog and make an OpenEL... the ''E'' stands for everything




[email=ehremo@hotmail.com][/email]
I mentioned this a while ago, but no one seemed to listen.

There''s a fantastic tutorial on flipcode that tells you how to test bounding spheres against polys.

It covers EVERYTHING! Go for it!



========
Smidge
www.smidge-tech.co.uk
========
--Mr Smidge
Advertisement
If you haven''t explored Paul Bourke''s site (http://www.swin.edu.au/astronomy/pbourke/) then definitely check it out. It has all sorts of geometry math and stuff written out as equations and as source, all of which you can use to develop an extremy good collision detection algorithm.

Morgan
You can use my collision detection library.
It doesn''t come with sources, but it''s free, unlike other libs out there.
http://photoneffect.com/coldet/
Don''t forget OpenIL (Image Library)
(you can find me on IRC : #opengl on undernet)

This topic is closed to new replies.

Advertisement