Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Bullet Irrlicht demo
PostPosted: Tue Dec 19, 2006 11:34 am 
Offline

Joined: Sun Jun 18, 2006 10:22 pm
Posts: 32
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



Image


Last edited by nomad on Sun Jan 20, 2008 1:48 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 10:29 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3126
Location: California, USA
That looks like a really nice demo already.

Could you add the option to display debug settings using Bullet btIDebugDrawer interface? And wireframe rendering?

Also it would be good to see which percentage/cpu cycles go to graphics, versus physics.

Thanks,
Erwin


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 20, 2006 10:03 am 
Offline

Joined: Sun Jun 18, 2006 10:22 pm
Posts: 32
OK, I'll add some debug display options to the demo very soon, and do some simple profiling to measure the graphics vs. physics CPU usage.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 22, 2006 3:19 pm 
Offline

Joined: Sun Jun 18, 2006 10:22 pm
Posts: 32
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.


Last edited by nomad on Sun Jan 20, 2008 1:48 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 1:33 pm 
Offline

Joined: Fri May 04, 2007 1:27 pm
Posts: 1
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..


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 10, 2007 12:14 pm 
Offline
User avatar

Joined: Sun Jun 10, 2007 12:01 pm
Posts: 1
That´s a great demo. The combination of bullet and irrlicht is perfect.
Did you make already a second demo ?

I hope you make more stuff like this because we plan to include bullet in our 3D world.

iZigoo

_________________
-------------------------------------------------------
iZigoo - The open 3D internet

iZigoo Homepage

iZigoo Forum at Irrlicht


Top
 Profile  
 
 Post subject: Re: Bullet Irrlicht demo
PostPosted: Fri Jan 04, 2008 11:39 am 
Offline

Joined: Fri Jan 04, 2008 11:31 am
Posts: 1
Demo application quits itself always when keys 1-6 are pressed. So can´t see any physics. What causes that?


Top
 Profile  
 
 Post subject: Re: Bullet Irrlicht demo
PostPosted: Wed Jan 30, 2008 11:48 pm 
Offline

Joined: Fri May 11, 2007 7:06 am
Posts: 16
Better, simpler, more up to date demo here:

http://irrlicht.sourceforge.net/phpBB2/ ... 2b72302850

_________________
http://code.google.com/p/irrlamb/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group