Skip to content

Commit

Permalink
Merge pull request #2 from nfa-vfxim/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
bkamphues authored Jan 11, 2021
2 parents 6798d62 + 7a40681 commit 16a9061
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Binary file modified otls/sgtk_arnold.otl
Binary file not shown.
14 changes: 14 additions & 0 deletions python/tk_houdini_arnold/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ def __getBeautyPath(self, node):
# format sequence key to houdini formatting
fields["SEQ"] = "FORMAT: $F"

# replace name with renderpass name
fields["name"] = self.__getRenderpassName(node)

# resolve camera
cam = self.__getCameraNode(node)

Expand Down Expand Up @@ -160,6 +163,9 @@ def __getAOVPath(self, aov, node):
# format sequence key to houdini formatting
fields["SEQ"] = "FORMAT: $F"

# replace name with renderpass name
fields["name"] = self.__getRenderpassName(node)

# resolve camera
cam = self.__getCameraNode(node)

Expand Down Expand Up @@ -242,3 +248,11 @@ def __updateAOVParm(self, node, parm):
parm_path.lock(False)
parm_path.set("Disabled")
parm_path.lock(True)

def __getRenderpassName(self, node):
# get the renderpass name from the supplied node

parm = node.parm("renderpass")
name = parm.eval()

return name
1 change: 1 addition & 0 deletions todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
- Add Deadline subprocess functions.
- Add slate/preview functions.
- ~~Move repo to /nfa-vfxim instead of /bkamphues.~~
- Add publish plugin for automatically creating a review version.

0 comments on commit 16a9061

Please sign in to comment.