Re: Select shape keys
| Date : Wed, 20 Feb 2008 17:08:44 +0100 |
| To : XSI(at)Softimage.COM |
| From : "Ahmidou Lyazidi" <ahmidou.xsi(at)gmail.com> |
| Subject : Re: Select shape keys |
NewScene(null, null);
CreatePrim("Cube", "MeshSurface", null, null);
Duplicate("cube", null, 2, 1, 1, 0, 0, 1, 0, 1, null, null, null, null, null, null, null, null, null, null, 0);
Translate(null, 10.9175450953921, 0, 0, siRelative, siLocal, siObj, siXYZ, null, null, null, null, null, null, null, null, null, 0, null);
SelectGeometryComponents("cube1.pnt[6]");
Translate(null, -2.12895273383167, 1.64763424121599, -0.164763424121599, siRelative, siView, siObj, siXYZ, null, null, null, null, null, null, null, null, null, 0, null);
var Myshape = SelectShapeKey ("Cube", "Cube1", siShapeObjectReferenceMode,1 , 0);
var Myclip = ApplyShapeKey (Myshape,null ,null , 1, null, 5,null , 2);
SetValue (Myclip+".actionclip.weight", 0);
2008/2/20, Ahmidou Lyazidi <ahmidou.xsi(at)gmail.com>:
Strange, here it does not set any fcurve, the last argument in the first line tells xsi to not add anything in the mixer.2008/2/20, Stefan Andersson <sanders3d(at)gmail.com>:Thanks, though it only set's the weight to 0, it doesn't remove the
Fcurve. And if anyone have a suggestion for getting a better 'ramp'
like weightmap than the symmetry map I would be very happy to hear
about it.
Here is my current 'beef' with how XSI handles shapes (I hope someone
has a workaround for this).
ex;
1.) I have 10 shapes which I apply to the main head
2.) 7 of those I would like to generate as Left/Right shapes
It applies a f-curve to each of the "SelectShapeKey" that I do.
StoreShapeKey works only if you are modeling with clusters and shapes.
grrr....
Why can't we just have a container with the shapes... Why does the
mixer have to be involved all the time...
/stefan
On 2/20/08, Ahmidou Lyazidi <ahmidou.xsi(at)gmail.com> wrote:
> 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
> > >
> >
> >
>
>
--
__________________________________________
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
- References:
- Select shape keys
- From: "Stefan Andersson" <sanders3d(at)gmail.com>
- Re: Select shape keys
- From: "Ahmidou Lyazidi" <ahmidou.xsi(at)gmail.com>
- Re: Select shape keys
- From: "Ahmidou Lyazidi" <ahmidou.xsi(at)gmail.com>
- Re: Select shape keys
- From: "Stefan Andersson" <sanders3d(at)gmail.com>
- Re: Select shape keys
- From: "Ahmidou Lyazidi" <ahmidou.xsi(at)gmail.com>
- Select shape keys
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Re: Select shape keys
- Next by Date: Re: Select shape keys
- Previous by Thread: Re: Select shape keys
- Next by Thread: Re: Select shape keys
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |