Greg Digenti
Forum Replies Created
-
Perfect! Thanks a lot!
-
Greg Digenti
September 8, 2008 at 6:57 pm in reply to: clone stamp effect glitching during render – Answers, anyone?I wasn’t the original poster, but thanks for answering this. I was having the same issue and I was pulling my hair out trying to figure it out.
-
Wow, that’s perfect! Works like magic!
So what is that expression doing exactly?
-
You could add the Animation>Animate Text>Character Offset animator to the layer and add this expression to the Character Offset property:
random(26)
-
I figured out what was going on, but haven’t solved the problem yet. The puppet comp in the main comp was in 3D space, but neither the effectors or the pieces within the puppet comp were. This was causing the discrepancy in where they were located. Stupid me.
However, I don’t want the effectors to be in 3D space because they become too difficult to grab and move and I’d also have to make all the pieces inside the puppet comp 3D and the whole thing would get too complex, so I’m not sure how to get around it.
I would like to be able to keep those controllers outside the puppet comp because I was going to just make the puppet comp a few frames long and enable time remapping in the main comp to stretch it out to the length of the movie. That way all of the keyframes for motion control of the puppet would be in the main comp.
-
The comps are different sizes, but they’re both set to square pixels.
-
I’m not sure if you heard that, but it was the sound of my hand slapping my forehead 🙂
Yes, it is. How would I go about compensating for that? It’s 54% of the original size.
-
Hi Dan. Nice to get a response from the man himself.
I tried your expression (I was getting an error initially because I had changed the name of the layer in the main comp to something else, but I fixed that), and it’s closer, but still not working right.
I have an effector in the puppet comp which I’m trying to link to the effector in the main comp, and with your expression, the effector in the main comp is below and to the left of the hand (and still moves slower than the arm when I drag it) and in the puppet comp the effector is off to the right. So now, neither effector actually seems attached to the hand.
-
Okay, I see. I have a bit of javascript experience, and global variables are such a big part of how I typically write the code, this will take a bit of re-thinking.
Thank you for your sample code, the frameDuration part is particularly helpful — though it only seemed to work when I removed the parenthesis after it. I checked out Dan Ebbert’s site, which was a great help, and ended up incorporating his exponential decay code to make the propeller start to slow once it was tripped by a Checkbox Control. (Your code did work, but it didn’t produce quite as smooth or realistic of a slowdown as that one.)
Thanks again. Hopefully someday I’ll get to the point where my expression questions are challenging for you guys.