composite 2012 - pre-comp templates workflow

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  07 July 2011
composite 2012 - pre-comp templates workflow

I'm trying wrap my brain around pre-compositing in 2012. I want to create my own templates based off of my render passContributionMaps from maya 2012. Above is a link to the help file and below is what the help say to do to create my own template.

My goal is to understand pre-comp templates so I can perhaps write my own script that will create templates automatically from my scenes in maya. I created a script that sets up my render passes and passContributionMaps for me and I'd like to extend this script to generate templates composite will like so going from maya to a setup composite is automatic enough where I can get creative more quickly.

My understanding of pre-comp in maya is that it creates a .precomp python file that composite uses in conjunction with templates to create a dependency graph in composite. Is that right?

You can create your own template for pre-compositing.
To create a template:
Import a pre-comp file without specifying a template—see Pre-Compositing Import.

Ok I understand this green part above I think. This gets my pre-comp into composite so i can then set it up manually with blendnComp nodes right?

If you are creating a render layer template, the render layer composition contains a number of link nodes to render pass footage compositions. The render pass anchors are already set on the link nodes—see Render Layer Composition Creation.

If you are creating a scene template, the scene composition contains a number of link nodes to render layer compositions. The render layer anchors are already set on the link nodes—see Scene Composition Creation.

This red part above is for if I use render layers and cameras, not necessary yet.

Build the dependency graph.

Does the part in orange mean that I build my comp by manually hooking everything up with blendnComp nodes etc?

If needed, edit the render pass or layer anchors—see Pre-Compositing Anchors.

The blue part is about anchors with are tags for import nodes letting composite know what each file has i.e. selection pass. Right?

(Option) Clean up the template by selecting Composition > Pre-Compositing and one of the clean-up options. When cleaning up the template, link nodes are reset, their name is changed to match the anchors, and unused anchors are removed from nodes and output sockets.

In Pink I don't see "composite" in the menu set, but I did see a File>Pre-comp>clean up so I'm assuming that this help info is old?

Provide the pre-comp file (.txcomposition) to the 3D artist as the render layer template.

In the Red, does this mean after I create my dependency graph I built with blendnComps I then select all and export this composite into a template file as a .txcomposition file so I can have composite set this graph again automatically next time I have these exact same passes?

Please correct me if I'm wrong. It's still fuzzy to me what exactly then programmers had in mind that created this part of maya and composite.

I'm all about automating as much as possible.

If I'm right that I don't like having to create a composite manually to create a template. I'd like to export a .txcomposition template file from what I setup in maya automatically so composite knows what passContributionMaps I've setup and how they should be layered in the comp.

Thanks a lot for taking the time to read this.
  07 July 2011
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:45 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.