Page 1 of 1

point count - interpolation

Posted: Sat Jan 31, 2009 4:16 am
by arfa
Experimenting with switch interpolation and came up against the point-count problem. There needs to be the same number of points on each layer. How to know how many points on each respective layer?

I went digging into the *.anme file and found that the information is there. Quite easy to find by searching for the layer name - then down, not so many lines, on a line of its own "points".

So, ever to fiddle, I wrote a simple PHP interface that does the digging for me. Just type in the file and layer names and - click.

Download a copy...
http://www.buddhamind.info/as/dload.php ... points.php

go well - arfa

Posted: Sat Jan 31, 2009 2:16 pm
by heyvern
Great idea for a php script but it might not work for switch layers.

Yes the number of points must match but they also have to be in the same "order" and "relative" location. You could have two identical shapes but if the points are not drawn in the same order then they won't "match" and you will get points swapping places or moving around oddly during switch layer interpolation.

Just a heads up.

-vern

good head

Posted: Mon Feb 02, 2009 5:56 am
by arfa
And a good head up it was indeed.

I tried various combinations and it seems that interpolation is limited to a layer copy. Oh well, nice try arfa but - no banana (this time :)

I'll be back - arfa

Posted: Mon Feb 02, 2009 6:43 am
by slowtiger
For switch layers I found it best practice to built one master layer with all elements in it, then duplicate this and modify each copy by just shifting points, without erasing any.