Search found 118 matches

by Breinmeester
Thu Jan 05, 2012 11:24 am
Forum: Scripting
Topic: Rendering Group Folders Separately in a File
Replies: 12
Views: 5691

Hi Jeremy, We worked together on Brendan when I did my internship there. I'm very curious to know what you're using Moho on. Are you working on Song? If you get this to work, could you guys post here what your setup is? I'm doing a big project in the near future where I might need a similair setup. ...
by Breinmeester
Thu Jan 05, 2012 11:21 am
Forum: Scripting
Topic: Centre of origin
Replies: 5
Views: 1829

Yeah, some clarity on that is needed. As far as i figured, 0,0 is at the exact centre of a layer. The anchor point has its own x and y location, so the point of origin is not depending on its location. The x and y axis are set as a ratio. Meaning that which ever is shorter is 1 unit big and the othe...
by Breinmeester
Thu Jan 05, 2012 11:08 am
Forum: Scripting
Topic: Bone morph dials script
Replies: 424
Views: 286409

Bella, since the morphdials script controls actions, you can take a whole face (or body rig for that matter) with several layers, put them in a group, put different poses of that group in actions and control those actions using morphdials. For the realtime feedback you could make a mock face in a si...
by Breinmeester
Wed Oct 26, 2011 1:17 pm
Forum: Scripting
Topic: Calling all script writers!!
Replies: 3
Views: 1475

Papagayo has a text file that is basically a pnoneme dictionary, meaning it has (almost) every word in the English language and indicates what mouth shapes it's made out of. It's in the folder somewhere. Now, timing those mouth shapes is a different thing and i think Papagayo doesn't do the best job...
by Breinmeester
Mon Oct 10, 2011 10:28 am
Forum: Scripting
Topic: Request: Instance Switch layers
Replies: 17
Views: 6464

Hey Shade! I got the workflow up and running using a work around. For my lipsync I now use actions that Ive named after the phonemes I use and in which I've set the multiple switch layers to the according sublayers. Next Ive created custom buttons that set the actions for me and I created an indicat...
by Breinmeester
Sat Oct 01, 2011 11:23 am
Forum: Scripting
Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
Replies: 21
Views: 8274

I got this to work. I'm using Rudiger's code mentioned on the first page to blend between multiple actions (in my case 4 actions), with calculated weights, through code, so without using the blendmorph dialogue box. My actions are on group layers and effect some of their child layers. With the blend...
by Breinmeester
Mon Aug 22, 2011 6:06 pm
Forum: Scripting
Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
Replies: 21
Views: 8274

Ok, I've tried Rudiger's 'scratchpad' idea, but it wasn't ideal and I've found a way to do without it. But I still want to implement this idea: Maybe I could make an action called "delete" where it has keys on all the channels that need keys deleted for the parent and all child layers. Thi...
by Breinmeester
Thu Aug 18, 2011 3:37 pm
Forum: Scripting
Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
Replies: 21
Views: 8274

One more thing: since it's realtime, I need to embed the script on a layer. I guess it's best to check for a MouseEvent and keep the scratchpad alive on mouse down and delete it on mouse release. What's the code for checking if the left mouse button is down? I could only find: class MouseEvent { Moh...
by Breinmeester
Thu Aug 18, 2011 3:30 pm
Forum: Scripting
Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
Replies: 21
Views: 8274

Brilliant! I'm gonna try it out. Thanks a lot!!
by Breinmeester
Thu Aug 18, 2011 3:03 pm
Forum: Scripting
Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
Replies: 21
Views: 8274

Ok, I appologize in advance, but I'm a complete novice in lua scripting.

What's the difference between fAnimPos, fPos and fTempPos?
And I'm guessing I would have to ActivateAction("scratchpad") first, right?

Thanks.
by Breinmeester
Thu Aug 18, 2011 11:42 am
Forum: Scripting
Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
Replies: 21
Views: 8274

Wow, that sounds pretty nifty! You've got a sound brain in yer head!

How would you do this:
Rudiger wrote:You can then use the key information to apply the morphs in real time (...)
How would you preview an action without it setting a key? The InsertAction() command sets a key as well.
by Breinmeester
Thu Aug 18, 2011 10:35 am
Forum: Scripting
Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
Replies: 21
Views: 8274

Hey Rudiger! Thanks for helping out. Probaply your solution would delete any keys that were there before, right? Also, the actions I'm trying to blend are on a group layer and effects several child layers. I don't want to simply delete all the keys of the parent and child layers on the current frame...
by Breinmeester
Wed Aug 17, 2011 9:39 pm
Forum: Scripting
Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
Replies: 21
Views: 8274

No, he uses a different technique. He calculates the point data himself.
by Breinmeester
Wed Aug 17, 2011 9:37 pm
Forum: Scripting
Topic: Request: Instance Switch layers
Replies: 17
Views: 6464

The head is just something I whipped together quickly for the occasion. I know I could also either stick the layers in group layers and switch those with only 1 switch layer or use actions (for instance controlled by MorphDials like you suggest). With group layers as sublayers to a switch layer I wo...
by Breinmeester
Wed Aug 17, 2011 8:05 pm
Forum: Scripting
Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
Replies: 21
Views: 8274

Would it be possible to implement this code without it setting a keyframe on the timeline? I mean in a sort of preview mode like the Blend Morphs dialogue box before you 'Ok' it.