The Best Physic Engine for commercial,multiplatform project?

Discussion about everything. New games, 3d math, development tips...
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

The Best Physic Engine for commercial,multiplatform project?

Post by Nadro »

What is the fastest, easiest integration in Irrlicht and multiplatform (Windows,Linux and MacOSX), so the BEST physic engine? This engine must be free for commercial projects.
Anteater
Posts: 266
Joined: Thu Jun 01, 2006 4:02 pm
Location: Earth
Contact:

Post by Anteater »

ODE.
Eternl Knight
Posts: 313
Joined: Tue Nov 01, 2005 5:01 am

Post by Eternl Knight »

Well, you have three different requirements for your physics engine there that need to be addressed separately.

Fastest is a point of contention, so I won't go into it in detail. Suffice to say that the speed of the engine must be weighed against the accuracy of the physics solution. ODE is pretty good for this, as is Newton & Bullet - all have their own ways of maintaining plausible accuracy (ODE will remove angular momentum, Newton applies damping, etc). I tend to prefer ODE when using simple shapes (spheres, boxes, capsules, etc) and a fixed timestep, Bullet when using complex shapes (arbitrary triangular mesh, procedurally defined surfaces, etc) and/or able to use an arbitrary timestep that can change per frame. ODE is faster than Bullet, but has some restrictions. Newton sits somewhere between the two with less restrictions that ODE (but more than Bullet) and faster than Bullet (but slower than ODE).

All three (Newton, Bullet, & ODE) have support for the three platforms you describe.

"Best" is simply flamewar territory (trust me on this), so I'll avoid it. A good paper to read that does a comparison for you (with verifiable test results) is located here. Bullet has been upgraded quite a bit since then (it gets a significant update almost weekly at the moment), but as far as the other engines go - it is still valid :)

--EK
3ddev
Posts: 169
Joined: Tue Sep 19, 2006 6:51 am
Contact:

Post by 3ddev »

On Irrlicht I use Newton threw IPhysics. It is really fast, and the examples for use with Irrlicht are great! Personnally, using ODE, you might be coding forever! :wink:
Eternl Knight
Posts: 313
Joined: Tue Nov 01, 2005 5:01 am

Post by Eternl Knight »

Personnally, using ODE, you might be coding forever!
Well, that isn't that accurate - there is already a base to work from with ODE & Irrlicht - MyWorld. Given such a base, it is well ahead of even my current choice (Bullet).
evak
Posts: 8
Joined: Thu Nov 30, 2006 10:06 pm

Post by evak »

IF your willing to drom Linux which isn't really feasible for a real commercial game, then you can always use PhysX from Ageia. That is free for commercial games on all computer platforms but not consoles.
TheRLG
Posts: 372
Joined: Thu Oct 07, 2004 11:20 pm

Post by TheRLG »

evak wrote:IF your willing to drom Linux which isn't really feasible for a real commercial game, then you can always use PhysX from Ageia. That is free for commercial games on all computer platforms but not consoles.
I didn't realize it was free for any commercial games. I thought that was only free for non-commercial.
Eternl Knight
Posts: 313
Joined: Tue Nov 01, 2005 5:01 am

Post by Eternl Knight »

They recently changed their license (one assumes to get more developers onboard). I think that the whole "GPU physics" thing is beginning to bother them (as it completely undercuts their business model).

--EK
TheRLG
Posts: 372
Joined: Thu Oct 07, 2004 11:20 pm

Post by TheRLG »

The AGEIA PhysX SDK is free for non-commercial use. Standard pricing for commercial use is $50,000/title/platform. Licensed developers who implement PhysX accelerator support in their PC title are not required to pay this fee.
. . . Yeah, that's not confusing. . . :roll:
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post by Luke »

RabidLockerGnome: That license has changed but for some reason they are slow to update the front pages...
Eternl Knight
Posts: 313
Joined: Tue Nov 01, 2005 5:01 am

Post by Eternl Knight »

I have confirmation from one of the developers involved - the license has definitely changed. You can believe me or not, but it sounds like it wouldn;'t affect your choice anyway :)

Press release for license change also here

--EK
TheRLG
Posts: 372
Joined: Thu Oct 07, 2004 11:20 pm

Post by TheRLG »

hehe Don't worry, I believe you.

I think PhysX is probably the best bet if you're doing windows-only gamedev, and then either ODE or Newton otherwise.
Fr4gz0r
Posts: 4
Joined: Fri Dec 08, 2006 1:39 pm

Post by Fr4gz0r »

Havok is the ultimate (also used in Half-Life 2) u need to pay for it but still it's the best of the best out there :).
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post by Luke »

From http://devsupport.ageia.com/ics/support ... tionID=378 (to see you may need the register)


Free:

* Commercial & non-commercial use on PC
o Must keep registration information currect
o Must agree to the EULA at the time of download (pops up, but is copied below)
o Available for Windows & Linux (soon)
o No PhysX HW support requirement
* PS3 platform (through Sony pre-purchase)
* All platforms through some of our middleware partnerships, such as UE3, Gamebryo 2.2, and others
ChrisC
Posts: 37
Joined: Sun Dec 03, 2006 6:47 am

Post by ChrisC »

I actually quite like bullet, I used ODE for quite a while, but have been frustrated by the slow pace of development and build issues on differing systems.

While CMake and JAM (used on bullet) are frankly not really up to the job, I have used bullet and irrlicht with older gcc implementations (think mingw here) and also latest Linux gcc implementations, by creating a trivial Makefile for it.

Bullet handles a wide range of collisions shapes rather well, ODE probably has the edge on Bullet for joints and definably on documentation!
Post Reply