Any good algo for a simple 3D collision detection (using 3d bounding boxes)

Hi there, I've been developing a simple 3D engine for a game, and have been pondering over the topic of game collision, searched google and found out that collision detection is not as simple as I thought, is there any good advice on where to begin with?

Thanks in advance

preview the 3d engine here

http://www.comp.nus.edu.sg/~cheefoos/3dengine.html

~Jeffrey

[391 byte] By [Jeffrey_Cheea] at [2007-9-28 7:59:12]
# 1
That really looks good man, i'm impressed
oo0speed0ooa at 2007-7-9 19:12:33 > top of Java-index,Other Topics,Java Game Development...
# 2

Thanks, I think the reason why it's smooth is mostly I din't write my own flooding/painting methods,

I used drawPolygon/fillpolygon instead of writting my own...

No Z buffer also...since I din paint myself so can't implement z buffer...

just wanted to keep it simple, and have been cracking my brains over how to do collision detection.

Most of the collision detection algo are very advanced stuff on the net.

So I've been thinking of a way to makr 2d collision detection usable in 3d, which I somehow think is non trival when I throw in rotations and stuffs....

~Jeffrey

Jeffrey_Cheea at 2007-7-9 19:12:33 > top of Java-index,Other Topics,Java Game Development...
# 3
> So I've been thinking of a way to makr 2d collision detection usable in 3dIf your objects are convex, is it the case that the projections onto the planes of an orthogonal basis will collide iff the 3d objects collide?
YATArchivista at 2007-7-9 19:12:33 > top of Java-index,Other Topics,Java Game Development...
# 4

yup, just simple convex objects only,

I was originally thinking of not doing rotations on the bounding boxes, rotating only the object within the box.

Then I realised if the floor has elevated ground, mini hills and valleys, this won't work, so the 3d bounding boxes still need rotation.

Thats where I think I'm stuck.

~Jeffrey

Jeffrey_Cheea at 2007-7-9 19:12:33 > top of Java-index,Other Topics,Java Game Development...