Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Autodesk Maya 2010 / Two Maya bugs : Cannot paint blend shapes, cannot paint relax
  RSS 2.0 ATOM  

Two Maya bugs : Cannot paint blend shapes, cannot paint relax
Rate this thread
 
38604
 
Permlink of this thread  
avatar
  • Total Posts: 106
  • Joined: 06 April 2006 08:00 PM

I’m frequently encountering two bugs in Maya 2010 and 2009.

The first is quite often Maya will not allow me to paint blend shape weights when clearly the model has a blendShape node input. (The icon for painting has a cross through it). After restarting Maya and reloading the scene, it works, but then can revert and not work again later.

Secondly, I have found the relax mode of artisan paint will not affect some vertices of my mesh, as if they are locked in position. The smooth, push, pull modes work absoloutely fine. I have no workaround for this and its severly limiting my workflow.

Can anyone offer any more information on these issues ?

Ben



Replies: 0
avatar
  • THNKR
  • Posted: 12 January 2010 02:14 AM

you could run this when the blendshape paint fails (taken from artAttrBlendShapeToolScript.mel ) it might give you a clue.

string $cmd = “artAttrCtx -q -attrSelected “ + `currentCtx` ;
string $attrSelected = eval($cmd)
string $target[];
$target = `textScrollList -q -si blendShapeTargetList`; // tells you what is selected in the target list;
string $tokens[] ;
tokenize( $attrSelected, “.”, $tokens)
int $result = getIndexForBlendShapeTarget($target[0],$tokens[1])
print ($target[0] + “\t” + $tokens[1] + “\t” + $result + “\n")



Replies: 0
avatar
  • THNKR
  • Posted: 12 January 2010 02:56 AM

With regards to the second issue you raise, relax does not work on edges that lie on border edges, but push, pull and smooth do. Perhaps you have border edges where you do not expect them?



Replies: 0
avatar

No, its a continous mesh, normals facing corrected way, vertices welded, all quads. Only other thing I can think is winding order of the polygons ?

Thanks for the first script BTW !



Replies: 0
avatar

Heres the output

// Error: file: /opt/aw/maya2009/scripts/others/bsTargetIndex.mel line 56: No object matches that name.  Cannot query. //
-1



Replies: 0
avatar
  • THNKR
  • Posted: 12 January 2010 04:28 AM

That means that this fails: string $aliasNames[] = `aliasAttr -q $blendShape`; This gets the user friendly names for the weights that you see in the blendShape editor. They are normally derived from the transform names of the targets and could be very long or thus problematic.

Try
aliasAttr -q $tokens[1];

It looks like somehow the alias names for the weights get messed up. What do you see in the Blend Shape Editor?



Replies: 0
avatar
  • Braden99
  • Posted: 06 December 2010 11:42 PM

I have also come across this issue. I think it’s caused by a mixture of skin weights, clusters and blenshapes on the same mesh. I think as soon as you paint cluster weights on your mesh, your blendshapes paint weight tool no longer functions correctly.



Replies: 0