Page 1 of 1

CLone points motion

Posted: Wed Aug 29, 2007 12:01 am
by Genete
I don't know if this embedded script exists or not but according to selgin's request I'm trying to achieve a embedded script to clone the movement of the points of one vector layer to other vector layer (inside the same folder layer)
But I have a problem:


How can I access to a Mesh of a vector layer without selecting it? I can access to any layer by its name (or index) but the only way I know to access the Mesh is selecting the layer and accessing to moho:Mesh() function.
The problem is that once I select the layer inside the embedded script I'm not able to select any other layer with user interaction.

Any ideas?
-G

Posted: Wed Aug 29, 2007 1:58 am
by Touched
I use a layer script called fa_meshinstance.lua to clone the point movement of another layer. I use this for masked eyes, where the controlled layer contains the black filled parts that should go over the mask area. Is that what you mean?

Posted: Wed Aug 29, 2007 3:59 am
by Víctor Paredes
Touched wrote:I use a layer script called fa_meshinstance.lua to clone the point movement of another layer. I use this for masked eyes, where the controlled layer contains the black filled parts that should go over the mask area. Is that what you mean?
wow. thank you so much!. i never saw this script (and it were installed in my hard disk :oops: )
thank you genete for being so kind.

this is really great.
here is the link, if someone want it too

Posted: Wed Aug 29, 2007 4:23 am
by heyvern
I've used that meshinstance script as well. It works great.

Actually I think I used it to extract point motion from bone motion... it has been awhile so I don't remember exactly how I did that.

-vern

Posted: Wed Aug 29, 2007 5:58 am
by Genete
Dang! I also have it installed and never used it!
Thanks!
-G

Posted: Wed Aug 29, 2007 6:04 am
by Genete
Woah!
This fazek is a master!!!! It works like a charm!
-G

Posted: Wed Aug 29, 2007 6:07 am
by Genete
Oh oh...
the blurred area is not masked...
Did you get it selgin? or I'm doing something wrong?
-G

Posted: Wed Aug 29, 2007 8:06 am
by Víctor Paredes
Genete wrote:Oh oh...
the blurred area is not masked...
Did you get it selgin? or I'm doing something wrong?
-G
yeah, i get it. first i have duplicated the layer. then i have cleared the soft edge effect to all the shapes of the mask.

:wink: