
OpScripts in Katana | 01 Introduction To OpScripts
Here is a link to the course page: learn.foundry.com/course/6788/view/katana-for-tech…
For more Katana tutorials, visit learn.foundry.com/katana
For Katana product information, check out: www.foundry.com/products/katana
Here is a link to the asset which you can download in the Course Files tab:
learn.foundry.com/course/6788/view/katana-for-tech…
OpScript is a node that you can connect to your node network and use to manipulate attributes and scene graph locations using the scripting language LUA. OpScripts can be used to build custom nodes when there isn’t already a node in Katana to perform a particular task.
In this video, you will learn how OpScripts can be used when working in Katana.
Adam demonstrates how to use OpScript nodes to subdivide geometry by setting an attribute on referenced scene graph locations, as well as how to copy geometry and type information to locator positions by using multiple inputs on OpScript nodes to read and copy attributes from other branches. Adam also takes you through the OpResolve node to demonstrate how you can control which Ops are resolved at which point in the Node Graph, as well as how to control the order that Ops are resolved.
You will also learn how to create and access User Parameters from within your script to build custom, user-friendly parameters to manipulate the result of the OpScript without editing the LUA code, this is demonstrated through creating a drop-down menu to select polymesh or subdmesh for referenced geometry.
You will also take a look into the other parameters available within OpScript nodes, including the execution modes to control when the OpScript is run and where it is applied, using modifier names to help you keep Attributes organized when multiple OpScripts are being used, and specifying scene graph locations recursively.
Chapters:
00:00 - 01:20 - Introduction
01:20 - 02:44 - Using an External Editor to Help Write Code
02:44 - 04:00 - How to Set an Attribute Value Using Lua
04:00 - 04:41 - Checking and Setting the Correct Attribute Type
04:41 - 07:21 - User Parameters to Control What the OpScript Does
07:21 - 08:52 - Choose an Execution Mode for When you Want the Script to Run
08:52 - 10:03 - Use Implicit Resolvers for Render Time Simulation of your Deferred OpScript
10:03 - 11:00 - Deferring OpScripts to Control your Script's Order of Operations
11:00 - 12:50 - How a Deferred OpScript Will be Named in the Attributes
12:50 - 14:21 - Using Resolve IDs to Control When Ops are Resolved
14:21 - 16:52 - Run Code Automatically on Child Locations using Recursive Enable
16:52 - 17:30 - Choose Where an OpScript is Applied
17:30 - 23:16 - How to Set Input Behavior to Control Input States Automatically
23:16 - 26:11 - How to Control the Run Order of Ops in the Ops Stack
コメント