Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Hello World
PostPosted: Mon May 21, 2012 8:20 am 
Offline

Joined: Mon May 21, 2012 7:44 am
Posts: 8
Just started using Bullet and I'm looking forward to integrating it with Irrlicht for an automated robot arm program I am currently developing.
If anyone could point me in the direction of some useful examples/tutorials on implementing Bullet with Irrlicht I would be most grateful
Thanks in advance for helping.


Top
 Profile  
 
 Post subject: Updated problem
PostPosted: Mon May 21, 2012 2:27 pm 
Offline

Joined: Mon May 21, 2012 7:44 am
Posts: 8
I've been having a play around with the demos provided with the Bullet source code and I'm really impressed!

For my requirements however, I'm interested in a much simpler, low level implementation of bullet. I have two static meshes that are moved manually and all I need to do is use the btGJKPairDetector to calculate the closest distance between the two meshes - no dynamics required.

The meshes are rendered using irrlicht and are created from .3ds files.

All of the examples and demos I've seen go into a lot of detail rendering the graphics and contain movement etc... If someone could explain simply how to create two concave triangle meshes from .3ds files and then use the "btGJKPairDetector" function to query their distance that would be of great help.

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Hello World
PostPosted: Mon May 21, 2012 3:43 pm 
Offline

Joined: Mon May 21, 2012 7:44 am
Posts: 8
Really could do with some help with this problem. I've got my static mesh as a scene node in irrlicht, but I don't know how to send this information to Bullet for collision detection processing:

//create a simple mesh object
scene::ISceneNode* pCube = pSmgr->addMeshSceneNode(pSmgr->getMesh("Cube.3DS"));
if(pCube)
{
pCube->setPosition(core::vector3df(0,0,0));
pCube->setMaterialTexture(0, pDriver->getTexture("aluminumbrush2030.jpg"));
pCube->setMaterialFlag(video::EMF_LIGHTING, false);

//Send the mesh to Bullet for processing use btBvhTriangleMeshShape somehow!!
}

Please help!


Top
 Profile  
 
 Post subject: Re: Hello World
PostPosted: Tue May 22, 2012 8:03 am 
Offline

Joined: Mon May 21, 2012 7:44 am
Posts: 8
I have moved this question to an alternative thread:

viewtopic.php?f=9&t=8141

Please delete this one


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher and 4 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® Forum Software © phpBB Group