crueleva1 / dynamica

Automatically exported from code.google.com/p/dynamica
0 stars 0 forks source link

Can't Bake simulation #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. installed 2. loaded plugin 3. all dynamic working 4. but

error 1. when press Main Dinamica Window - // Error: Too many children in 
layout: frameLayout22 and not opening, when clicking again it opening

error 2. I can't bake simulation - // Error: DSO <Debug.dll > failed to load 
properly or perhaps commandList is incorrect.

Bake is very important for me :d

Versons: Bullet 2.78 32bit, Maya 2009 SP1 32bit, Windows XP SP3

and thanks programmers, bullet is realy great Physic ;)

Original issue reported on code.google.com by Architec...@gmail.com on 15 Dec 2011 at 5:02

Attachments:

GoogleCodeExporter commented 8 years ago
someone help me please to Fix this problem, why?? what is wrong??

Original comment by Architec...@gmail.com on 20 Dec 2011 at 4:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Try the RBD Tools attched. I had the same problem (in Maya 2009 32bit WindowsXP 
SP3) and the dynamicaBake script worked. 

I found it here: 
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=&f=12&t=2658

Original comment by rogerpu...@gmail.com on 27 Jan 2012 at 8:40

Attachments:

GoogleCodeExporter commented 8 years ago
which version of Dynamica are you using?

I just tried the latest Dynamica svn trunk version, and baking works fine under 
Maya 2011/2012.

Original comment by erwin.coumans on 1 Feb 2012 at 6:00

GoogleCodeExporter commented 8 years ago
I'm getting issue #2 as well. Also using Maya 2009 Windows XP 32bit. Can't help 
there, as for UI glitches/warnings...

To fix issue #1. In the dynamicaUI.mel script, look for the 
dynamicaUI_createHelpTab procedure and change the following...

dynamicaUI_createFrame("Credits", "", 0, 0);
            text -al "left" -l "Original Plugin: Walt Disney Studios";
            text -al "left" -l "Original Author: Nicola Candussi";
            text -al "left" -l "Modified By: Roman Ponomarev, Erwin Coumans";
            text -al "left" -l "Tools, Features, UI & Maintenance: Michael Baker";
            text -al "left" -l "Original Baking Scripts: RBD";
            setParent ..;
        setParent ..;

to...

dynamicaUI_createFrame("Credits", "", 0, 0);
            columnLayout;
                text -al "left" -l "Original Plugin: Walt Disney Studios";
                text -al "left" -l "Original Author: Nicola Candussi";
                text -al "left" -l "Modified By: Roman Ponomarev, Erwin Coumans";
                text -al "left" -l "Tools, Features, UI & Maintenance: Michael Baker";
                text -al "left" -l "Original Baking Scripts: RBD";
                setParent ..;
            setParent ..;
        setParent ..;

PS. If you also having trouble with the "Toggle Advanced Tools Tab" reporting 
an invalid flag, in the dynamicaToolsUI.mel, do a search for "-fpn" (it's near 
the top and there is only one instance of it) and remove it - the flag doesn't 
exist in 2009/2010.

So this line becomes this line...

string $tabs[] = `tabLayout -q -tl -fpn $dynamicaUI_tabs`;

becomes...

string $tabs[] = `tabLayout -q -tl $dynamicaUI_tabs`;

Original comment by will.ear...@gmail.com on 8 Feb 2012 at 6:41

GoogleCodeExporter commented 8 years ago

http://code.google.com/p/dynamica/source/browse/trunk/Extras/MayaPlugin/scripts/
dynamicaUI.mel#612

There are already 3 times 'setParent ..; in the current source code.
What do you need to change exactly?

Original comment by erwin.coumans on 10 Feb 2012 at 12:13

GoogleCodeExporter commented 8 years ago
The setParent on line 622 parents all the UI elements in the procedure to the 
columnLayout on line 580. The additional setParent is to parent the text 
elements on lines 614-618.

Minus the commented code on lines 590-610, here is the edited procedure I'm 
using in order to properly display the UI in Maya 2009. I've placed an inline 
comment of where the new setParent should go. Note that I haven't checked this 
in M2011+

I hope that's of some help.

global proc string dynamicaUI_createHelpTab()
{   
    string $mainForm = `columnLayout -adj 1`;
        dynamicaUI_createFrame("Documentation & Resources", "View the online wiki documentation or bulletphysics.org", 0, 0);
            rowLayout -nc 2;
                iconTextButton -st "iconAndTextVertical" -l "Online Help" -w 75 -i "dynamicaHelp.xpm" 
                    -c "system(\"load http://code.google.com/p/dynamica/wiki/DynamicaIntroduction\")" -ann "View Online Documentation";
                iconTextButton -st "iconAndTextVertical" -l "bulletphysics.org" -w 90 -i "dynamicaBulletWebsite.xpm" 
                    -c "system(\"load http://bulletphysics.org\")" -ann "Visit bulletphysics.org";
            setParent ..;
        setParent ..;

        dynamicaUI_createFrame("Credits", "", 0, 0);
            columnLayout;
                text -al "left" -l "Original Plugin: Walt Disney Studios";
                text -al "left" -l "Original Author: Nicola Candussi";
                text -al "left" -l "Modified By: Roman Ponomarev, Erwin Coumans";
                text -al "left" -l "Tools, Features, UI & Maintenance: Michael Baker";
                text -al "left" -l "Original Baking Scripts: RBD";
                setParent ..; //This is the additional setParent needed for MAYA 2009/2010.
            setParent ..;
        setParent ..;

    setParent ..;

    return $mainForm;
}

Original comment by will.ear...@gmail.com on 14 Feb 2012 at 8:32

GoogleCodeExporter commented 8 years ago
Can't you update to a newer version of Maya?

I'm using Maya 2012 and baking just works fine with Dynamica.

Original comment by erwin.coumans on 17 Feb 2012 at 4:59

GoogleCodeExporter commented 8 years ago
I haven't been able to try Maya 2009 yet.

Here is another report of baking problems, with attached file.
http://forums.cgsociety.org/showthread.php?p=7276232#post7276232

Original comment by erwin.coumans on 21 Mar 2012 at 7:23

Attachments:

GoogleCodeExporter commented 8 years ago
It seems an old bug in Maya/MEL, when using the 'allNodeTypes' command:
Error: DSO <Debug.dll > failed to load properly or

http://groups.google.com/group/python_inside_maya/browse_thread/thread/113fb874a
69ae41a?pli=1

Original comment by erwin.coumans on 21 Mar 2012 at 11:54

GoogleCodeExporter commented 8 years ago
Can you try copying attached mel script in your Dynamica scripts directory,
so avoid the DSO error?

Original comment by erwin.coumans on 22 Mar 2012 at 12:01

Attachments:

GoogleCodeExporter commented 8 years ago
Try increasing your substeps. This has made this one go away for me.

Original comment by r...@moggach.com on 25 Mar 2012 at 11:48

GoogleCodeExporter commented 8 years ago
Should be fixed in trunk, please try:
http://code.google.com/p/dynamica/source/detail?r=153

Original comment by erwin.coumans on 12 Apr 2012 at 5:35