Assigning a Look File to an Asset
The easiest way to assign a Katana look file to your asset is by using the Importomatic, see Using the Importomatic. It is also possible to assign a Katana look file using LookFileAssign.
To assign a Look File using LookFileAssign:
1. | Create a LookFileAssign node and connect it to the recipe. |
2. | Select the LookFileAssign node and press Alt+E. |
The LookFileAssign node becomes editable within the Parameters tab.
3. | Assign the scene graph locations of the 3D assets to the LookFileAssign CEL parameter (see Assigning Locations to a CEL Parameter under Node Parameter Basics). |
4. | In the asset parameter, enter the Katana look file to assign. |
Note: When you bake a LookFile, CEL statement locations are automatically amended to be relative to the root of the LookFile bake. This means that although the full hierarchy of the target scene does not need to match the source scene, intermediate hierarchies must correspond.
For example, the assignment baked at -
/root/world/geo/someGeometry:
./geometry/subGeometry/subSubGeometry
- works applied to any locations with matching intermediate hierarchy. Assigning the LookFile to //subSubScene in the path below would work -
/root/newScene/newSubScene/geometry/subGeometry/subSubGeometry
- as would assigning the LookFile to //newSubBranch in the path below-
/root/newSubBranch/geometry/subGeometry/subSubGeometry
Assigning the LookFile to //worldAssets it the path below would not work, as the intermediate hierarchies do not match -
/root/worldAssets/someGeometry/geo