Comparison of Physics Engines with Irrlicht

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Weng
Posts: 97
Joined: Tue Oct 03, 2006 4:23 pm
Location: Singapore

Comparison of Physics Engines with Irrlicht

Post by Weng »

I am exploring on using a physics engine with irrlicht.
So far, the more popular and free ones are PhysX, Newton and ODE.

I have visited their websites and their screenshots look pretty impressive. As this is the first time using a physics engine, I would prefer one which
has a gentler learning curve and which has an active online community,
like Irrlicht.

So among these 3 engines, which one is better in terms of picking up and
getting online help?

:)
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Post by Nadro »

I also think than Bullet is currently the best free physic engine. It's very good engine with very good license :)
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
kingdutch
Posts: 76
Joined: Tue Sep 02, 2008 7:01 am

Post by kingdutch »

I'll have a question to add to this topic:

Looking more FPS and realism wise (even if this meant a steeper learning curve) would Bullet still be the choice or would others be better?
night_hawk
Posts: 153
Joined: Mon Mar 03, 2008 8:42 am
Location: Suceava - Romania
Contact:

Post by night_hawk »

People know I'm sold to PhysX when it comes to physics. Not literaly, but you get the idea. It's easy to setup, easy to use and stable. Crappy version detection (correction, no version detection), but awesome overall.

Bullet seemed a bit weird to me, but that's just my opinion.
wyrmmage
Posts: 204
Joined: Sun Mar 16, 2008 3:12 am
Contact:

Post by wyrmmage »

Bullet is a weird physics engine, IMO, but I still like it better than, say, ODE :D I would recommend going with Bullet, but be prepared....they have very little documentation compared to more established physics engines!
-wyrmmage
Worlds at War (Current Project) - http://www.awkward-games.com
Ganadu'r, The Eternal Sage (Other Current Project) - http://rpg.naget.com
Weng
Posts: 97
Joined: Tue Oct 03, 2006 4:23 pm
Location: Singapore

Post by Weng »

Looks like Bullet is a popular physics engine.

How about physX or newton or ODE? Do they have a steeper learning curve or a less active online community?
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

An annoyance I've had with ODE is that it requires a fixed timestep, if you want variable (which I assume most games would), you have to do it yourself along with some accumulator and interpolation malarkey. I don't know if other physics engines do this for you.(anyone know?)
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

physX has me, as far as I'm concerned ^^
Dark_Kilauea
Posts: 368
Joined: Tue Aug 21, 2007 1:43 am
Location: The Middle of Nowhere

Post by Dark_Kilauea »

PhysX handles variable timesteps beautifully, even doing several substeps if the timestep it's given is too long.

I like PhysX because it is fairly easy to use, well documented, and very powerful.
rogerborg wrote:Every time someone learns to use a debugger, an angel gets their wings.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

my vote goes for Physx as it's the only one i've used extensively and it worked a dream for me and was really easy to pick up. Having said that someone else has been having a lot of trouble getting it to work at all either in Irrlicht or OpenGL code... I guess the PS3 version is just easy to use heh

Havok is another good option i'd say, commercial quality but free!
Image Image Image
aboeing
Posts: 16
Joined: Sat Oct 07, 2006 7:50 pm

Post by aboeing »

you can use the PAL physics system to select the best physics engine for your needs. check out the PAL irrlicht benchmark demo, it compares a number of popular physics engines.
http://www.adrianboeing.com/pal/benchmark.html
CuteAlien
Admin
Posts: 9718
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Wow, that looks very interesting (just can't check the demo right now, because I'm not on windows).

Also, as I'm also sometimes doing image processing, is there a working link for your ImprovCV? The one on your homepages seems to be dead :(
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
CuteAlien
Admin
Posts: 9718
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

@aboeing: Why don't you create a project announcement for that? Especially the benchmark really rocks! I have to get the full version running some time, this is very useful stuff.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Yeah it would be useful to have a single thread with more information... might tread on the project i've just started though... :evil:

:lol:

Edit: Having checked out the benchmarker it seems cool to compare all the physics engine side by side like that but the results are pretty open to interpretation as in we don't really know what the physics simulation should look like... and if that's how the same inputs from PAL result in such varying behaviours in the resulting physics simulations then it seems PAL isn't really that good for switching between engines.. should the same inputs to PAL not result in very similar results from the different engines?
Image Image Image
Post Reply