https://github.com/ousttrue/swigbullet
bullet wrapper for python by siwg
https://github.com/ousttrue/swigbullet
Last synced: over 1 year ago
JSON representation
bullet wrapper for python by siwg
- Host: GitHub
- URL: https://github.com/ousttrue/swigbullet
- Owner: ousttrue
- Created: 2012-01-26T14:57:17.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-03-13T13:55:08.000Z (over 14 years ago)
- Last Synced: 2025-01-20T23:29:10.301Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 2.15 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
==========
swigbullet
==========
bullet wrapper by swig.
python binding is supported.
directories
===========
bullet-2.79
-----------
* http://freeglut.sourceforge.net/
ZLib license.
Reconstruction of taking out the class in a class outside is carried out.
For example, btRigidBody::btRigidBodyConstructionInfo to btRigidBodyConstructionInfo.
freeglut
--------
* http://freeglut.sourceforge.net/
MIT license.
BasicDemo
---------
based bullet-2.79/Demos/BasicDemo.
depend on freeglut.
gldrawer
--------
The utility which draws the bullet world by OpenGL.
based bullet-2.79/Demos/OpenGL.
swigbullet
----------
bullet wrapper by swig.
build on Windows
================
0. requirement
--------------
on msys shell
::
$ /c/Python27/python --version
Python 2.7.2
$ cat /c/Python27/Lib/distutils/distutils.cfg
[build]
compiler=mingw32
$ gcc --version
gcc.exe (tdm-1) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ premake4 --version
premake4 (Premake Build Script Generator) 4.3
$ swig -version
SWIG Version 2.0.4
Compiled with i586-mingw32msvc-g++ [i686-pc-linux-gnu]
Configured options: +pcre
Please see http://www.swig.org for reporting bugs and further information
1. bullet-2.79
--------------
::
$ cd bullet-2.79
$ premake4 gmake
$ make
$ ls ../release
libBulletDynamics.a libLinearMath.a libBulletCollision.a libBulletSoftBody.a
2. gldrawer
-----------
The utility which draws the bullet world by OpenGL.
::
$ cd gldrawer
$ premake4 gmake
$ make
$ ls ../release
libgldrawer.a
3. swigbullet/python binding
----------------------------
::
$ cd swigbullet/python
$ /c/Python27/python setup.py install
# examples
$ /c/Python27/python examples/HelloWorld.py
$ /c/Python27/python examples/BasicDemo.py
BasicDemo requries pyOpenGL and glglue(0.3.0 or later).