Page 1 of 1

Layer and Tool - Z translation scale offset scripts

Posted: Sat Aug 18, 2012 4:27 pm
by heyvern
Fixed the links. I had bad links on the script downloads. They are working now.

Someone was asking about a script to automatically scale a layer to offset for z translation.

The idea is that when you use the 3D camera motion in Anime Studio, you can do "parallax" type scrolling of layers that replicates a multiplane camera setup. the drawback is that this z translation causes the layers to change size visually moving back and forth in the z axis. In order to compensate for this it would require a lot of annoying scaling and adjusting of these layers and making additional changes to z translation would also require more annoying changes.

My solution to make this simpler, are 2 scripts. One is a tool script and one is a layer script (I prefer the layer script). they both do sort of the same thing. You could use one or the other or even both together. The reason I prefer the layer script is that it doesn't require using a different tool and it works more effectively. The modified layer translation tool works the same way and is also a good solution.

Layer Script
Download: hm_zindex-offset.zip



Tool Script
Download: hm_magic_zscale.zip



-vern

Re: Layer and Tool - Z translation scale offset scripts

Posted: Sun Aug 19, 2012 3:50 pm
by ulrik
Hi Vern!

The Download for: magic zscale is the wrong file, it will download the hm_switch-layer-bone-control

Re: Layer and Tool - Z translation scale offset scripts

Posted: Sun Aug 19, 2012 7:49 pm
by heyvern
Dagnabbit!

Fixed the links! Sorry. I did this so fast yesterday. I was practically walking out the door. I had copied the links from the wrong location and only checked that they worked not if they were thew correct fils. Ooops! :)

-vern

Re: Layer and Tool - Z translation scale offset scripts

Posted: Sun Aug 19, 2012 10:14 pm
by ulrik
Thanks, great script, I can see that it would be useful, thanks for sharing!

Re: Layer and Tool - Z translation scale offset scripts

Posted: Mon Aug 20, 2012 6:59 pm
by foundmarble
Hello.

Tool script works awesome and love the results.
This tool/script is sooo much easier that using the older method shown in Tutorial 6.7 and the results can be achieved MUCH faster.

I try to embed the script and it does not scale the sub layers. Not sure why.
I see that is key framing the scale when I translate, however, doesn't change any of the scale values.

THANKS AGAIN

FM

Re: Layer and Tool - Z translation scale offset scripts

Posted: Tue Aug 21, 2012 3:11 am
by heyvern
I will look into this and see what might be wrong.

Thanks for the comments.

-vern

Re: Layer and Tool - Z translation scale offset scripts

Posted: Wed Aug 22, 2012 12:10 pm
by Karhu
Thank you, this is great script!
Will be big timesaver now and in future. :)

I did notice that when I use this for png-images, scale will stay the same as intended. But location will move depending on how much z-value gets translated.
Not sure if its bug or not, moving them back to original position is still way much easier than scaling.

Cheers!

-Karhu