|
Oups Stefan not Stephan
2008/2/20, Ahmidou Lyazidi <ahmidou.xsi(at)gmail.com>:
Hi Stephan, You can do it this way: var Myshape = SelectShapeKey ("baseobject", "shapeobject", siShapeObjectReferenceMode,1 , 0); var Myclip = ApplyShapeKey (Myshape,null ,null , 1, null, 5,null , 2);
SetValue (Myclip+".actionclip.weight", 0);
2008/2/20, Stefan Andersson <sanders3d(at)gmail.com>:
Hi All,
I'm trying to automate a facial rig that is similar to what I have in Maya. But the way XSI handles shapes confuses me a bit. Perhaps someone could shed some light into this.
Is it possible to use the "Select Shape Key" without it adding a
keyframe to the weight?
Because adding an _expression_ to the weight isn't possible if it has any keys.... any my script will be unnecessary lenghty if I need to remove keyframes for each shape that is created.
also, converting image to weightmap? can't find anything that doesn that...
regards stefan 'whos been away from xsi production a long time' andersson
-- __________________________________________
Pixel Abuser (at) http://www.swiss.se/ Blog (at) http://sanders3d.blogspot.com/
Web (at) http://sanders3d.googlepages.com/
work e.mail: stefan [at] swiss.se --- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
|