Splitting lines and color at render time

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
PatrickS
Posts: 56
Joined: Wed Feb 28, 2007 9:05 pm
Contact:

Splitting lines and color at render time

Post by PatrickS »

I was wondering, is it possible to render the outlines and the color fills into separate files for compositing reasons? If not, would it be possible to script something like that?
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

You could put the lines and fills on separate layers and render out a PSD with layers (I do this now with print work. All layers at the "root" of the document in AS are exported to a layer in a PSD. Very sweet)

Or you could create an "alternate" version and make the strokes and fills specific colors to extract an alpha. For instance the strokes could be R=0 G=0 B=255 and the fills could be R=255 G=0 B=0.

Or... you could create an alternate file that is black and white with the same concept... strokes would be white and fills black on a black background... or whatever.

Depends on the compositing application. If you use something that support Photoshop layered file format than the first option is... relatively "easy". The second option is more work since it would require splitting out those channels.

I don't think this can be scripted since the scripting in AS can't effect rendering output... as far as I know anyway. I might be wrong.

-vern
User avatar
PatrickS
Posts: 56
Joined: Wed Feb 28, 2007 9:05 pm
Contact:

Post by PatrickS »

Thanks Heyvern, that makes sense. It still makes for some extra work for each scene though. Would it be possible to make a script that turns off all the outlines and one that makes all the fills white in the scene? That way I could render the scene twice and composite those and there's no need for a script that actually affect's the render output.
Post Reply