www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: qcrist on April 30, 2012, 08:27:52 pm

Title: Object collision and model loading
Post by: qcrist on April 30, 2012, 08:27:52 pm
I was wondering what libraries/formulas are used to load models and do collision detection in jpct?

Title: Re: Object collision and model loading
Post by: EgonOlsen on May 01, 2012, 09:14:01 pm
I don't get the question. Formulas to load models? No libraries are being used. It's all build in...but as said: I don't get the actual question...???
Title: Re: Object collision and model loading
Post by: qcrist on May 02, 2012, 10:51:02 pm
I don't get the question. Formulas to load models? No libraries are being used. It's all build in...but as said: I don't get the actual question...???
I was wondering what libraries were used for the model loading and collision detection. And for the collision detection, if no libraries were used, what formulas/equations is used to calculate the collision detected.
Title: Re: Object collision and model loading
Post by: EgonOlsen on May 02, 2012, 10:56:46 pm
Maybe the wiki helps: http://www.jpct.net/wiki/index.php/Collision_detection (http://www.jpct.net/wiki/index.php/Collision_detection) ???
Title: Re: Object collision and model loading
Post by: qcrist on May 02, 2012, 11:06:12 pm
I'm trying to do some collision detection in an project where I cannot use external libraries. I am currently trying to do ellipsoid collision detection, but I am struggling. I used the library a little while ago and loved how the checkXXXCollisionEllipsoid methods work. I was wondering what algorithm they use.

Also, I just noticed I failed when I posted this, it is meant to be here:
Code: [Select]
http://www.jpct.net/forum2/index.php/board,3.0.htmlIf you want you can move it there, but it doesn't really matter
Title: Re: Object collision and model loading
Post by: EgonOlsen on May 02, 2012, 11:24:25 pm
Moved!

It's basically a slightly modified version of this algorithm: http://www.peroxide.dk/papers/collision/collision.pdf (http://www.peroxide.dk/papers/collision/collision.pdf)
Title: Re: Object collision and model loading
Post by: qcrist on May 04, 2012, 04:15:50 am
Thanks