I’ve just started a project that involves using Blender to make sprites for a flash game. Right now i have about fifty or so objects that are going to need to be rendered from eight angles each, and Blender is already set up to render them in bulk. The only problem is that not all the objects are the same size, and they need to be cropped down as small as possible.
I could adjust the output resolution or cropping manually, but there’s a good chance to screw up with 400+ renders. Is there anyway at all to use nodes to automatically crop a set of images down so that only parts where the alpha value is 0 are removed? Here’s a crude example:
before after 000000 000100 0010 011110 1111 011110 1011 000000