facebookarchive / Keyframes

A library for converting Adobe AE shape based animations to a data format and playing it back on Android and iOS devices.
https://facebookincubator.github.io/Keyframes/
Other
5.33k stars 302 forks source link

Path trimming and bitmap support not working #137

Open thewoodpecker opened 7 years ago

thewoodpecker commented 7 years ago

Thanks for the latest release. I've tried it out and managed to get the linear gradient and track matte working, but the I can't get bitmap or path trimming to work. I might be doing something wrong, any pointers on how to get these working?

I applied 'Trim paths' as an effect to a path in After Effects and I'm testing on iOS.

renyu-io commented 7 years ago

@thewoodpecker are you using the script running in AfterEffects or the command line tool version? Currently, bitmap is only supported in the command line tool version.

And are you placing the 'Trim Paths' and the 'Path' under the same group?

thewoodpecker commented 7 years ago

@LazyChild I've started to use the command line tool to export it now, and the bitmap support works now which is great.

The Trim paths however won't work.

Here's how I've arranged the layers: screen shot 2017-06-30 at 14 55 34

Here's a link to the AE project which includes the json, image (to test bitmap support) and ae file. https://www.dropbox.com/s/74pgc5bjvzhhq8i/test.zip?dl=0

Thanks for your help with this!