PNG Strip Exporter

Share your custom panels, brushes, papers... (you need to be registered to read posts in this section)
Post Reply
Ace
Posts: 2
Joined: 10 May 2008, 21:59

PNG Strip Exporter

Post by Ace »

Hi there! Is it possible to create something to export an animation as a single file PNG strip with alpha channels?

I'm baffled as to how or if tvpaint could do this. I'm creating artwork and animations for a video game, and this is a feature I would seriously need for TVPaint for any game character animations, etc.

Would anyone familiar with TVPaint's scripting language be able to write such a script? Or is it impossible because of the canvas size that must be set at the start of the application?
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: PNG Strip Exporter

Post by Fabrice »

Hi Ace, welcome on the TVPaint forum.

TVPaint can export PNG sequences with alpha chanel.

Could please tell us more about the Strip export ? or just give an exemple ? I'm not sure to understand the concept correctly.
Fabrice Debarge
User avatar
malcooning
Posts: 2114
Joined: 29 Mar 2006, 12:43
Location: Tel Aviv
Contact:

Re: PNG Strip Exporter

Post by malcooning »

Ace wrote:Hi there! Is it possible to create something to export an animation as a single file PNG strip with alpha channels?
By strip, do you mean a single image that holds it's animated frames in a row, like CSS multi-state rollover images?
strip.png
strip.png (1.95 KiB) Viewed 1952 times
User avatar
slowtiger
Posts: 2949
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: PNG Strip Exporter

Post by slowtiger »

I'd do this in Photoshop. If you really depend on TVP to do this, it's just a bit complicated:

You'll need one project with the width of (character width) x (number of frames). Get your character as an AnimBrush and use the Keyframer to distribute the frames. Duplicate this animLayer as often as you have frames. Shift them so you have one frame with all drawinggs visible. Export this.

I tried to automate this with whatever panel I had installed, but no luck. There should be a script which copies all frames of one layer into one frame.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: PNG Strip Exporter

Post by Fabrice »

A script that can tile an anim brush on the screen is in the Creation Pack.
Fabrice Debarge
Ace
Posts: 2
Joined: 10 May 2008, 21:59

Re: PNG Strip Exporter

Post by Ace »

@Fabrice
What do you mean that it tiles the anim brush? Does this automatically create a new project with the correct size and distributes the images, or does it do it only in the current frame after the creation of an anim brush? How does that brush you're referring to work exactly?

Also, I'm not too familiar with how to create/use anim brushes across multiple frames.

@malcoonig
And yeah, making the frames on a single image is what I'm after.
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: PNG Strip Exporter

Post by Fabrice »

the animbrush contains several brushes, taken/cropped from some selected images of an animlayer.
the script asks for a grid size and put one element of the animbrush just after the other on that grid, then go to the next line.
Fabrice Debarge
Post Reply