Search found 45 matches

by PocketGoat
Fri May 15, 2009 8:17 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

I re-downloaded Genete's script and it works (sort of) now, I must've modified the original somewhere along the line by accident. I don't think yours is working like you mean it to though, if I bind the points to a non-pose bone and move that bone in the animation it has no effect. The problem with ...
by PocketGoat
Fri May 15, 2009 7:23 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

I think I've got my solution for the expanding shape problem, but my maths is too shabby to fix the difference between two points problem. The way it's set up now means if the points rotate the morph will still move in the same direction, regardless of the fact that the picture has rotated. So if a ...
by PocketGoat
Fri May 15, 2009 6:22 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

Hmm. I tried just changing that and the shapes instantly expand to take up the entire work area. Are you sure that's all that's different from Genete's original script? Not the bit I added in the array creation part as well?
by PocketGoat
Fri May 15, 2009 6:13 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

I did that to ignore frame one except as a comparison as the neutral pose. If you wanted to include it as a normal pose you'd need to make another variable and store the neutral pose in there instead of with all the others. It was more work than just cutting it out. Heh, if it's doing something else...
by PocketGoat
Fri May 15, 2009 5:47 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

I'm working on my own solution. We'll see who gets there first :P
by PocketGoat
Fri May 15, 2009 5:22 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

Hmm. Something else is going wrong now. It's ignoring other bone's influence.

Back to the drawing board.
by PocketGoat
Fri May 15, 2009 5:16 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

I'm ahead of you because I'm in New Zealand. It's currently 4:14 pm on the 15th of May. I wrote it after midnight last night, hence 15th May :P
Thanks for fixing that. Now I just have to fix the problem with storing the difference between points. Need to dust off my high school trignometry skills.
by PocketGoat
Fri May 15, 2009 4:01 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

Every time the script runs in each frame it starts from scratch, right? So all the stored variables are lost. How do I go about storing values between runs of the script? I see there's the ScriptPrefs class, which could do it, but it wouldn't be efficient to convert the point positions into integers...
by PocketGoat
Fri May 15, 2009 2:25 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

This is more a proof of concept at this stage DarthFurby. At least it means with a little more work that it'll be possible to use poses with bone or point animation, or even multiple pose setups on the same layer. Also, I've realized I'm not storing the point difference's properly, so there'll be so...
by PocketGoat
Fri May 15, 2009 12:48 am
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

Any ideas how to fix the expanding shape thing, heyvern? It doesn't save the weird values when you refresh the frame. Is there some function to do that manually?
This is the first script I've played around with, so I really have no idea how to get it to do much.
by PocketGoat
Thu May 14, 2009 1:36 pm
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

Don't forget that it takes into account point animation, so if you don't copy your neutral pose into the first frame of the animation after the pose set up you're going to get some strange results. That kept tripping me up, so I just thought I'd mention it. And start labeling your pose bones from &q...
by PocketGoat
Thu May 14, 2009 1:31 pm
Forum: How Do I...?
Topic: Constrain bone scale to bone position?
Replies: 5
Views: 698

Ahh, awesome. Thanks.
by PocketGoat
Thu May 14, 2009 1:25 pm
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

It's still rough, selgin, so don't be too harsh :P
I'll try and fix the weird shape expanding thing later, a solution just wasn't immediately springing to mind. It's only a problem when you move the view, or select something. Just scrub forward and back on the timeline and it's fixed, in the meantime.
by PocketGoat
Thu May 14, 2009 1:20 pm
Forum: Scripting
Topic: i have a script request! (Poses)
Replies: 227
Views: 109740

I can't really say, I was only playing around with Genete's simple example. Frame 0 is rather slow when the script is turned on, but there was no lag on any other frame. I'll try a more complicated test tomorrow and see how bad of a performance hit we're talking.
by PocketGoat
Thu May 14, 2009 1:11 pm
Forum: How Do I...?
Topic: Constrain bone scale to bone position?
Replies: 5
Views: 698

Hmm. I looked through your list of tools in the first post before and even looking again now I still can't see anything that describes what I'm after. Maybe I'm just blind, or too tired. If you could tell me the name of the tool that'd be a big help.