Hi, everyone! I’m trying to figure out a way to force the origin (or offset) of a layer to be a whole number of pixels in every frame.
The reason is: I export my animations as .png sequences, and then use ShoeBox to pack them into textures. ShoeBox will optimize textures by stacking frames, but only if they are identical. I have a lot of frames in some animations where only the origin has moved, so it would be nice if I could get ShoeBox to stack those. But since the origin is not set to a whole number of pixels, the renderer interpolates each frame just a little bit differently, so each .png image is slightly different even after cropping. This results in textures that are much bigger than they need to be.
Here is what I’ve tried:
turning off antialiasing for all objects
using a super sample layer with various settings
but none of those worked.
I think some parameter conversion might fix it… but I can’t find one that will round parameters to the nearest integer. Does anyone have any ideas?