A small (win32, VC 7.1) demo using Irrlicht. Hit 1-6 to add objects, shoot to remove them.
This is a basic framework that demonstrates loading meshes and sharing of various different collision shapes. Also a simple 'hello world' demo to get Irrlicht users started with Bullet.
Download
Bullet Irrlicht demo
-
- Posts: 32
- Joined: Sun Jun 18, 2006 10:22 pm
Bullet Irrlicht demo
Last edited by nomad on Sun Jan 20, 2008 1:48 pm, edited 1 time in total.
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
-
- Posts: 32
- Joined: Sun Jun 18, 2006 10:22 pm
-
- Posts: 32
- Joined: Sun Jun 18, 2006 10:22 pm
Download
I've added a window to display some stats, including the btProfiler info. The demo now has wireframe display, aabbs, deactivation of obects (they go a bit darker) and shows Bullet's percentage CPU usage.
I implemented the btIDebugDraw interface (obviously), but I didn't use drawLine (since it is easier to let Irrlicht do AABBs) or drawContactPoint.
I haven't implemented these debug draw modes:
DBG_DrawFeaturesText
DBG_DrawContactPoints
DBG_EnableSatComparison
DBG_DisableBulletLCP
DBG_EnableCCD
But I could always add these later on, if they would be useful to anyone.
This version uses the multi-threaded runtime library to avoid linker errors. The original demo had a huge poly count for the spheres, they have been cut down, and now you can also hide much of the geometry. Instructions on-screen.
I've added a window to display some stats, including the btProfiler info. The demo now has wireframe display, aabbs, deactivation of obects (they go a bit darker) and shows Bullet's percentage CPU usage.
I implemented the btIDebugDraw interface (obviously), but I didn't use drawLine (since it is easier to let Irrlicht do AABBs) or drawContactPoint.
I haven't implemented these debug draw modes:
DBG_DrawFeaturesText
DBG_DrawContactPoints
DBG_EnableSatComparison
DBG_DisableBulletLCP
DBG_EnableCCD
But I could always add these later on, if they would be useful to anyone.
This version uses the multi-threaded runtime library to avoid linker errors. The original demo had a huge poly count for the spheres, they have been cut down, and now you can also hide much of the geometry. Instructions on-screen.
Last edited by nomad on Sun Jan 20, 2008 1:48 pm, edited 1 time in total.
-
- Posts: 1
- Joined: Fri May 04, 2007 1:27 pm
Hi. I want to use Bullet with Irrlicht in Dev-CPP but didn`t found any tutorial which describes how to integrate Bullet with Dev-CPP. Is this possible? As i know Dev-CPP need files with specific extension (.a if i remember correctly) but i don`t know where or how to get it.
Sorry for my poor english..
Sorry for my poor english..
-
- Posts: 1
- Joined: Sun Jun 10, 2007 12:01 pm
-
- Posts: 1
- Joined: Fri Jan 04, 2008 11:31 am
Re: Bullet Irrlicht demo
Demo application quits itself always when keys 1-6 are pressed. So can´t see any physics. What causes that?
-
- Posts: 16
- Joined: Fri May 11, 2007 7:06 am