fastExrStart

Creates a ready to start Script with Shuffles for each Channel and preset Merges

Updated: 8 October 2010

Author: jober

Compatible Nuke versions: 5.1 or later

Compatibility: Linux, Mac, Windows

Just select one or more Nodes/Readers and run the Script.

The Script then creates for each channel which is in that node a Shuffle-Node. If a comp-Operation is defined it also creates a Merge with the defined Operation and Value.

If not all channels are in one file, the Script can also create Shuffles and Merges for that channels to connect them with other Nodes later manually.

It can be be easily changed for different Projects.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

EXAMPLE:
compNodes = {"paint":"start::", "diffuse":"paint:mult:1", "specular":"diffuse:plus:1", "refl":"specular:plus:1", "occlusion":"refl:mult:0.75"}

This Preset-Standard configuration does the following:
-Starts with the "paint"-Channel
-"mult" the "diffuse" with "1",
-"plus" the "specular" with "1"
-"plus" the "refl" with "1"
-"mult" the "occlusion" with "0.75"

The Syntax is:
compNodes = {"FIRST_CHANNEL_NAME":"start::", "SECOND_CHANNEL_NAME":"PARENT_CHANNEL:OPERATION:VALUE", "THIRD_CHANNEL_NAME":"PARENT_CHANNEL:OPERATION:VALUE", .., ..}

You dont have enter the full name of the channel if its called "Thatever_Diffuse_WhatDoIKnow" it is enough to just put "diffuse" (always Lower-Case) in the Channel-Name then its gonna find it. If you have more then one Channel with the same Name-Part you can just use the "notCompNodes"-Variable to exclude channels. As Oparation you can just use any Operation the Merge-Node offers, just use exactly the same name (like: plus, mult, scrn, over, ...). The Script has two modes. Either it just ignores the defined Comp-Channels if they are not found in the Channels of the Node or it creates a not connected Shuffle and Merge anyway to connect them later with other Nodes. So even if the Node just has one Channel, you can still use the Script to make a Basic-Comp and then hock-up the other Readers to the shuffels by yourself.

Sign in or register to download or rate.