Not sure if I’ll put anymore time into this but I made it last week just as a learning exercise.
The videos are shot in my android project so most textures/models would be much higher resolution on PC. Since it’s not a big game world you can also use extremely high polygon models that you wouldn’t otherwise have in a game to pre-render sprites from, and on PC you could also have textures up to 4096x4096, rather than 1024x1024…so could easily capture images 512x512 or larger, or create much longer sprite animations.
This is output from a skeleton with outline shader on android: (animates vertically)
Basically I set some pre-defined camera positions for straight on, isometric, and top-down angles you can switch through. You can rotate the model 90 degrees in either direction to get the same camera shots at multiple angles. There’s also an option to keep the model spinning and loop animations so you can make running animations with transitions to different directions
You can adjust the number of pictures taken and the size. In the video it makes 256x256px tiles, removes the pink background and packs them into a single texture.
Once you have the camera angle you want, you simply click an animation on the right to play it and load it into the slot to play during the capture. Once you’ve selected the animation, made sure it’s the one you want, you press the K key to clear the screen, snap your number of shots, isolate them using the alpha channel, and save them in the applications folder.
This is a video showing a few shader options I threw on:
And here’s a video showing what the animations are like when played back, before I removed the pink background or added the GUI:
Just wanted to share another use for unity to make tools in addition to games, I might make a tutorial or something in the future.
edit:: You can also use it to remove a range of colors, here’s a nasa pic I removed a range of colors from, not sure a purpose yet just messing around, I wanted to generate a level based off nasa space images, like populate stars or planets based off the picture…(black dots in picture are pixels removed for matching my range)