painting constraint stiffness help!

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Display Modes
  08 August 2006
painting constraint stiffness help!

Hi guys. I cant seem to paint the stiffness attribute on the constraints. My paintbrush cursor turns circle with a x. Any workaround on this?
 
  08 August 2006
what flavors are u using?

there was a prob in linux 7+ and syflex 3.55, 3.55b fixed it
 
  08 August 2006
im using 3.5 on windows. i also cant seem to paint it out even in linux. the only option that works is the flood button.
 
  08 August 2006
get 3.55b for linux, it works..
 
  08 August 2006
oh, let me share this... I find it usefull when I paint a constraint , then I just deal with distance..

global proc syflexConnectConAttrs(){
//Usage: select a cloth solver transform
// All pins/mimics that influence the selected solver
// will have thier damp/stiff connected to solver's stretch stiff/damp
string $list[] =`ls -sl`;
if($list[0]=="")error "Select a solver transform first!!";
string $solvers[] = `listRelatives -c $list[0]`;
if(`nodeType $solvers[0]`=="syCloth"){
string $mimics[] = `listConnections -t syMimic $solvers[0]`;
string $pins[] = `listConnections -t syPin $solvers[0]`;

for($item in $mimics){
catch (`connectAttr -f ($solvers[0]+".stretchStiff") ($item+".stiff")`);
catch (`connectAttr -f ($solvers[0]+".stretchDamp") ($item+".damp")`);
}

for($item in $pins){
catch (`connectAttr -f ($solvers[0]+".stretchStiff") ($item+".stiff")`);
catch (`connectAttr -f ($solvers[0]+".stretchDamp") ($item+".damp")`);
}}}
 
  10 October 2006
Originally Posted by jmartin: oh, let me share this... I find it usefull when I paint a constraint , then I just deal with distance..

global proc syflexConnectConAttrs(){
//Usage: select a cloth solver transform
// All pins/mimics that influence the selected solver
// will have thier damp/stiff connected to solver's stretch stiff/damp
string $list[] =`ls -sl`;
if($list[0]=="")error "Select a solver transform first!!";
string $solvers[] = `listRelatives -c $list[0]`;
if(`nodeType $solvers[0]`=="syCloth"){
string $mimics[] = `listConnections -t syMimic $solvers[0]`;
string $pins[] = `listConnections -t syPin $solvers[0]`;

for($item in $mimics){
catch (`connectAttr -f ($solvers[0]+".stretchStiff") ($item+".stiff")`);
catch (`connectAttr -f ($solvers[0]+".stretchDamp") ($item+".damp")`);
}

for($item in $pins){
catch (`connectAttr -f ($solvers[0]+".stretchStiff") ($item+".stiff")`);
catch (`connectAttr -f ($solvers[0]+".stretchDamp") ($item+".damp")`);
}}}


Hi JMartin,

Do you then disconnect the pins/mimics attributes and tweak them, or do you usually keep connected until the end?

thanks
Luca
__________________
www.lucavfx.com
 
  10 October 2006
I usually keep it connected, and just fiddle with distance and painted values.

though I've been thinking of adding a multiplier in between stretchStiff
 
  10 October 2006
Ok, Thanks Martin.
In case you were wondering It's just that I quite like having a look at other artists' techniques.

Take care
Luca

Originally Posted by jmartin: I usually keep it connected, and just fiddle with distance and painted values.

though I've been thinking of adding a multiplier in between stretchStiff
__________________
www.lucavfx.com
 
  10 October 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:15 PM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.