Physics, Reliability And Open Source? I need a physics engin

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Physics, Reliability And Open Source? I need a physics engin

Post by dejai »

Looking at the engines so far newton and Physx I was a bit annoyed newton / irrlicht tutorial source is not that great and physicX cannot be editied and the laws on its commercial stature are strange.

I have also heard of bullet but really which engine is the best for open source / commercial games.

By this I mean, engines that can be edited and the games sold commercially.
Programming Blog: http://www.uberwolf.com
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

You could have kept this in your other thread about engines rather than creating loads of new threads.

I tried using newton with irrlicht briefly and struggled with it quite a lot (others have not, others say it's great but this is my personal feeling of putting only a little effort into using it as i didn't have much time).

I've also used Havok though that's not free i shouldn't think, i've not gone into that engine very much but it seems ok.

But best of all i've tried is Physx and it's the one i'm using on my current Battleheart project (not with irrlicht though but it would be easy to use with irrlicht also i'm sure). I found it very easy to get to grips with, much more so than newton. I did have some very good tutorials with it though i don't know if these come with the PC version of the SDK or not as i haven't seen that.
Image Image Image
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

Though is PhysX ok to edit. I was thinking about the bullet engine I here good things about it.
Programming Blog: http://www.uberwolf.com
Kim2
Posts: 14
Joined: Thu May 31, 2007 12:40 am

Post by Kim2 »

This might help you dejai, it's a small project I made that uses convex hulls, static meshes, materials and a few other functions of newton with 3ds files. You control a space ship that moves with the application of forces and torque, and if you uncomment a few things you can shoot projectiles. Turn left when the program first starts and you will see a cube you can push around.

It's pretty sketchy and the code for Newton is all lumped into one class file (this was the first time I had used Newton) but you will be able to work out how to use Newton if you study it for a while.

http://rapidshare.com/files/55824563/31 ... t.rar.html
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Post by Nadro »

I reccomend to You Bullet Engin. This is very good Physic Engin usage in Playstation 3. Engin has very long list of features. In my opinion is better than PhysX, and is cross-platform and no need special drivers in system. (Windows, Linux, MacOSX etc...) On free Ageia license You cannot use hardware PhysX acceleration, so Bullet is Better and easy in integration with Irrlicht. You can merge Bullet with ODE solver, so your physic will be very fast:) In my project I use standard Bullet functions (with standard Bullet solver) and my game is very fast and has goot physic environment:) Bullet is the best physic engin:)
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Bullet isn't used in PS3 as far as i know, the only ones available to developers officially are Havok and Physx...

I just read a website claiming bullet is free for use, including on PS3 but there's no PS3 version available for download and the windows download includes no mention of PS3. To actually use it on PS3 would take a lot of conversion work i would imagine. Maybe they mean you can use it on PS3 if you have Linux installed.
Image Image Image
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Post by Nadro »

Yes Bullet PS3 version is avaiable only for PS3 developers, but You can't write games on PS3 without sony license, so if You have got a license = You have got Bullet PS3 version and You can write games on PS3 ;)
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Where is this PS3 version as it's not on the developer network!
Image Image Image
erwincoumans
Posts: 46
Joined: Tue Oct 02, 2007 6:46 am
Contact:

Post by erwincoumans »

JP wrote:Where is this PS3 version as it's not on the developer network!
If you have access to PS3 Devnet, use the private support tracker and ask for SPU Optimized Bullet, and you will get access.

The Playstation 3 optimized version of Bullet is being used by several Playstation 3 licensees. Some game companies are using Bullet also on other platforms such as XBox 360, PC or Wii.

Thanks,
Erwin Coumans
http://bulletphysics.com
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Cool, if i get some time on my hands i might have a look at it, for now i'm happy with Ageia though and plan to play around with Havok some more as well if i get time.
Image Image Image
Obeleh
Posts: 28
Joined: Tue Oct 02, 2007 7:46 am

Post by Obeleh »

Can you give me an example / tutorial using the irrlicht engine? I've tried looking in the bullet examples but the msv8 projects dont work.
Tanuva
Posts: 54
Joined: Tue Oct 10, 2006 6:49 pm
Location: 200 metres behind the moon
Contact:

Post by Tanuva »

Obeleh wrote:Can you give me an example / tutorial using the irrlicht engine? I've tried looking in the bullet examples but the msv8 projects dont work.
You mean an irrlicht tutorial? Or a bullet tutorial which uses irrlicht for graphics? The first one is located in the tutorials section on irrlicht.sf.net...
Tanuva
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

Probably will do with newton, possibly bullet...
Programming Blog: http://www.uberwolf.com
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

JP: Do you have a license for PS3 development?
TheQuestion = 2B || !2B
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Yup, I work for Sony so have everything I need for all PlayStation development. I'm very blessed :lol:
Image Image Image
Post Reply