Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Mar 04, 2010 4:52 pm 
Offline

Joined: Tue Dec 29, 2009 6:46 pm
Posts: 8
Hello.

I am having problems retrieving the rigidbody name from a .bullet exported file. I tried to debug it and, as it seems, the meshes are being loaded with no name. I am using bullet-2.76 and Maya 2010 (32bits, Win7).

Anyone with similar problems?

TIA.


Top
 Profile  
 
PostPosted: Thu Mar 04, 2010 5:38 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3746
Location: California, USA
vini wrote:
Hello.

I am having problems retrieving the rigidbody name from a .bullet exported file. I tried to debug it and, as it seems, the meshes are being loaded with no name. I am using bullet-2.76 and Maya 2010 (32bits, Win7).

Anyone with similar problems?

TIA.


The feature of exporting the rigid body name was added after the current Dynamica plugins were uploaded. Can you try to compile the plugin from the current Bullet trunk?

Otherwise, I'll make sure to update the plugins soon,
Thanks,
Erwin


Top
 Profile  
 
PostPosted: Thu Mar 04, 2010 5:43 pm 
Offline

Joined: Tue Dec 29, 2009 6:46 pm
Posts: 8
I can do that. Thanks for the prompt answer.


Top
 Profile  
 
PostPosted: Thu Mar 04, 2010 6:11 pm 
Offline

Joined: Tue Dec 29, 2009 6:46 pm
Posts: 8
I've recompiled from the bullet 2.76 and reloaded the plugin into Maya 2010. I had to fix some paths to do that (some directories were configured to work with Maya 8.5). The plugin seems to work ok but same problem persists. Am I doing something wrong? Is there a more specified documentation about the serialization process so I've could help to fix that?

TIA.


Top
 Profile  
 
PostPosted: Thu Mar 04, 2010 6:15 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3746
Location: California, USA
Quote:
I had to fix some paths to do that (some directories were configured to work with Maya 8.5)

Did you use cmake-gui to configure the projectfiles? What file/directories were configured wrong?

Sorry, I forgot to tell that we moved the Dynamica development to a new repository. I'll removed the Bullet/Extras/MayaPlugin from the Bullet main repository to avoid confusion.

Can you try this location? http://code.google.com/p/dynamica/

Thanks,
Erwin


Top
 Profile  
 
PostPosted: Thu Mar 04, 2010 6:20 pm 
Offline

Joined: Tue Dec 29, 2009 6:46 pm
Posts: 8
I didnt used cmake, used directly the VS2005 solution file. Ok, I'll try from this new repository!

Thanks!


Top
 Profile  
 
PostPosted: Thu Mar 04, 2010 6:43 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3746
Location: California, USA
Can you try it with cmake (from http://cmake.org)? I'll remove the visual studio projectfile, because it is out-of-date.

There is a bit of info how to do this here: http://bulletphysics.org/mediawiki-1.5. ... om_scratch

The BulletMayaPlugin.mll will be written to ${LIBRARY_OUTPUT_PATH}/Release/BulletMayaPlugin.mll
By default, Dynamic cmake searches for Maya in a few locations, you can see it in Dynamica/Extras/MayaPlugin/CMakeLists.txt.
If you use the CMake GUI you can enter the folder where your Maya is installed manually, so you don't need to worry about CMakeLists.txt:
Attachment:
dynamica_cmake.PNG
dynamica_cmake.PNG [ 41.98 KiB | Viewed 1186 times ]


Also, there is the preliminary Bullet physics editor for Windows and Mac OSX, that can load the .bullet file and show the names. There is a precompiled Windows binary.
http://bullet-physics-editor.googlecode.com

Thanks a lot,
Erwin


Top
 Profile  
 
PostPosted: Thu Mar 04, 2010 7:06 pm 
Offline

Joined: Tue Dec 29, 2009 6:46 pm
Posts: 8
Built with cmake and VS. Now it is working! Thanks!


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 1 guest


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