PDA

View Full Version : composite 2012 - pre-comp templates workflow


gauranga108
07-23-2011, 10:20 PM
http://download.autodesk.com/us/maya/2012help-composite/index.html?url=files/GUID-5BB5FDDB-EDD8-4233-96E0-07B2CBCD0A4-249.htm,topicNumber=d28e16321

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.
Jason

CGTalk Moderation
07-23-2011, 10:20 PM
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.