Irrlicht bullet: Difference between revisions

From RpWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Image:Irrlicht_bullet.png|200px|thumb|right|irrlicht_bullet]]
[[Image:Irrlicht_bullet.png|200px|thumb|right|irrlicht_bullet]]
== Info ==
This is a small test application using c++, [http://irrlicht.sourceforge.net/ Irrlicht 3d engine] and the [http://www.bulletphysics.com/ bullet physics engine].
This is a small test application using c++, [http://irrlicht.sourceforge.net/ Irrlicht 3d engine] and the [http://www.bulletphysics.com/ bullet physics engine].


You can shoot cubes onto a plane surface and watch them collide.
You can shoot cubes onto a plane surface and watch them collide.


=== Control ===
Navigate with the cursor keys and shoot with the left mouse button.
To exit hit ESCAPE.


== Building ==
== Building ==
Line 10: Line 16:


=== Linux ===
=== Linux ===
On a debian based system try this to solve building dependencies (tested on kubuntu):
On a debian based systems try this to solve building dependencies (tested on kubuntu):
   apt-get install build-essential cmake
   apt-get install build-essential cmake


Line 17: Line 23:
   cd build
   cd build
   cmake ../.
   cmake ../.
=== Windows ===
Download and install [http://www.cmake.org CMake].
Check that cmake is in your PATH, if not add it.
Open a cmd "shell" and navigate to your checked out irrlicht_bullet directory.
than issue following commands:
  mkdir build
  cd build
  cmake -g "Visual Studio 8 2005" ..\.
Then open the solution within your visual studio and build it.
With -g you can specify a lot of different generators, for more help run cmake.exe or check the documentation.


== Source Code ==
== Source Code ==
git http viewer: [http://git.oldsch00l.com/?p=irrlicht_bullet.git;a=summary irrlicht_bullet]
gitweb viewer: [http://git.oldsch00l.com/?p=irrlicht_bullet.git;a=summary irrlicht_bullet]


   git clone http://git.oldsch00l.com/irrlicht_bullet.git
   git clone http://git.oldsch00l.com/irrlicht_bullet.git

Revision as of 06:33, 5 September 2008

irrlicht_bullet

Info

This is a small test application using c++, Irrlicht 3d engine and the bullet physics engine.

You can shoot cubes onto a plane surface and watch them collide.

Control

Navigate with the cursor keys and shoot with the left mouse button.

To exit hit ESCAPE.

Building

You will need the Irrlicht library to compile the sample program, you can get it on the Irrlicht homepage. After this you have to set the right library path in the CMakeLists.txt file.

Linux

On a debian based systems try this to solve building dependencies (tested on kubuntu):

 apt-get install build-essential cmake

To build use these commands in the irrlicht_bullet directory:

 mkdir build
 cd build
 cmake ../.

Windows

Download and install CMake. Check that cmake is in your PATH, if not add it.

Open a cmd "shell" and navigate to your checked out irrlicht_bullet directory. than issue following commands:

 mkdir build
 cd build
 cmake -g "Visual Studio 8 2005" ..\.

Then open the solution within your visual studio and build it. With -g you can specify a lot of different generators, for more help run cmake.exe or check the documentation.

Source Code

gitweb viewer: irrlicht_bullet

 git clone http://git.oldsch00l.com/irrlicht_bullet.git