Physics engines: Difference between revisions

From OLPC
Jump to navigation Jump to search
(+license link + build instructinos)
(+iphysics)
Line 7: Line 7:
! [http://www.box2d.org Box2d]
! [http://www.box2d.org Box2d]
! [http://www.phun.at Phun]
! [http://www.phun.at Phun]
! [http://www.iphone.r4m0n.net/?cat=9 iPhysics]
|-
|-
| '''License'''
| '''License'''
| [http://www.linuxuser.at/elements/infos/chipmunk_license.txt MIT]
| [http://www.linuxuser.at/elements/infos/chipmunk_license.txt MIT]
| [https://box2d.svn.sourceforge.net/svnroot/box2d/License.txt zlib]
| [https://box2d.svn.sourceforge.net/svnroot/box2d/License.txt zlib]
| Non-free
| Proprietary
| Non-free
|-
|-
| '''Forums'''
| '''Forums'''
Line 17: Line 19:
| [http://www.box2d.org/forum/]
| [http://www.box2d.org/forum/]
| [http://phun.cs.umu.se/forum]
| [http://phun.cs.umu.se/forum]
| -
|-
|-
| '''irc.freenode.net'''
| '''irc.freenode.net'''
| #pymunk
| #pymunk
| #box2d
| #box2d
| -
| -
| -
|-
|-
| '''Latest Release'''
| '''Latest Release'''
| March 08
| March 08
| March 08
| March 08
| March 08
Line 37: Line 42:
| 1.7 mb
| 1.7 mb
| ~ 1.5 mb
| ~ 1.5 mb
| ~ 300 kb
|-
|-
| '''Platforms'''
| '''Platforms'''
Line 42: Line 48:
| All
| All
| All
| All
| iPhone
|-
|-
| '''Python Bindings'''
| '''Python Bindings'''
| [http://code.google.com/p/pymunk/ pymunk]
| [http://code.google.com/p/pymunk/ pymunk]
| [http://www.box2d.org/forum/viewtopic.php?f=5&t=241 via SWIG]
| [http://www.box2d.org/forum/viewtopic.php?f=5&t=241 via SWIG]
| -
| -
| -
|-
|-
Line 52: Line 60:
| probably (not yet tested)
| probably (not yet tested)
| not yet (only with OpenGL)
| not yet (only with OpenGL)
| -
|-
|-
| '''Notes'''
| '''Notes'''
Line 57: Line 66:
| Feature-Rich
| Feature-Rich
| Feature-Rich
| Feature-Rich
| [http://iphysics.r4m0n.net/index.php?title=Main_Page more infos]
|-
|-
| '''Videos'''

|
|
|
|}
|}


Line 79: Line 92:
# http://phun.cs.umu.se/wiki/Download (Binaries for Windows and Linux)
# http://phun.cs.umu.se/wiki/Download (Binaries for Windows and Linux)


''''' iPhysics '''''
# http://iphysics.r4m0n.net/index.php?title=Latest_Updates


[[category:software]]
[[category:software]]

Revision as of 10:11, 14 March 2008

This is a short comparison of 2d physics engines.

Chipmunk Box2d Phun iPhysics
License MIT zlib Non-free Non-free
Forums [1] [2] [3] -
irc.freenode.net #pymunk #box2d - -
Latest Release March 08 March 08 March 08 March 08
Language C C++ C++
Library Size 48 kb 1.7 mb ~ 1.5 mb ~ 300 kb
Platforms All All All iPhone
Python Bindings pymunk via SWIG - -
XO Compatible yes (with max. 20 elements) probably (not yet tested) not yet (only with OpenGL) -
Notes Fast Feature-Rich Feature-Rich more infos
Videos


Download & Build Instructions

Chipmunk

  1. http://files.slembcke.net/chipmunk/release/ChipmunkLatest.tgz

Chipmunk, Python API & Examples

  1. http://www.linuxuser.at/elements/elements.zip

Box2d

  1. svn co https://box2d.svn.sourceforge.net/svnroot/box2d box2d
  2. Download and apply this patch: http://pippin.gimp.org/tmp/box2d-build-diff.txt
  3. run 'make'

If it fails with a suggestion to use the -fPIC flag, add it to Source/Makefile, line 13. So it looks like this:

CXXFLAGS=   -g -O2 -fPIC

Phun

  1. http://phun.cs.umu.se/wiki/Download (Binaries for Windows and Linux)

iPhysics

  1. http://iphysics.r4m0n.net/index.php?title=Latest_Updates