Amazon VERSION 2.0V1 Betriebsanweisung Seite 226

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 264
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 225
226
Render Passes and Outputs
As with Render Dependencies, the sequence of dictionaries returned by GetSortedDependcyList() contains the
names, paths, and temporary paths of the outputs a Render node produces.
Render Output Names
The following example script defines a function that returns a sequence comprised of the names of the output
passes produced by a render node:
def outputNames(nodeName):
"""
Get the render outputs of a render node
"""
# Get hold of the node and all of its dependencies as a
# dictionary
node = NodegraphAPI.GetNode(nodeName)
info = FarmAPI.GetSortedDependencyList( [ node ] )
# Extract the names of the outputs
# of a render node
allDeps = [
# The output name
output["name"]
# Each info entry
for i in info
# We only want the info for our particular node
if i["name"] == nodeName
# We only want output info
for output in i["outputs"]
]
return allDeps
Render Output File Paths
Each image file rendered is written to a temporary location before being copied to the chosen final location. It
therefore has two locations, the temporary (which is always a local file path) and the final (which can be an Asset ID).
The default temporary path contains the Process ID of the current Katana session (not the one running on the farm).
This path can be changed through the UI or the Nodegraph API, so knowledge of is useful.
28 RENDER FARM API | RENDER PASSES AND OUTPUTS
Seitenansicht 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 263 264

Kommentare zu diesen Handbüchern

Keine Kommentare