mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
clarify the directory for each renderer's rop
This commit is contained in:
parent
8e3cc04cdb
commit
e3b5aa0f3f
5 changed files with 18 additions and 15 deletions
|
|
@ -42,8 +42,8 @@ class CreateArnoldRop(plugin.HoudiniCreator):
|
|||
ext = pre_create_data.get("image_format")
|
||||
|
||||
filepath = "{}{}".format(
|
||||
hou.text.expandString("$HIP/pyblish/"),
|
||||
"{}.$F4.{}".format(subset_name, ext)
|
||||
hou.text.expandString("$HIP/pyblish/renders/"),
|
||||
"{}/{}.$F4.{}".format(subset_name, subset_name, ext)
|
||||
)
|
||||
parms = {
|
||||
# Render frame range
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ class CreateKarmaROP(plugin.HoudiniCreator):
|
|||
ext = pre_create_data.get("image_format")
|
||||
|
||||
filepath = "{}{}".format(
|
||||
hou.text.expandString("$HIP/pyblish/"),
|
||||
"{}.$F4.{}".format(subset_name, ext)
|
||||
hou.text.expandString("$HIP/pyblish/render/"),
|
||||
"{}/{}.$F4.{}".format(subset_name, subset_name, ext)
|
||||
)
|
||||
checkpoint = "{}{}".format(
|
||||
hou.text.expandString("$HIP/pyblish/"),
|
||||
|
|
@ -42,8 +42,8 @@ class CreateKarmaROP(plugin.HoudiniCreator):
|
|||
)
|
||||
|
||||
usd_directory = "{}{}".format(
|
||||
hou.text.expandString("$HIP/pyblish/usd_renders/"),
|
||||
"{}_$RENDERID".format(subset_name)
|
||||
hou.text.expandString("$HIP/pyblish/renders/usd_renders/"),
|
||||
"{}_$RENDERID".format(subset_name, subset_name, ext)
|
||||
)
|
||||
|
||||
parms = {
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ class CreateMantraROP(plugin.HoudiniCreator):
|
|||
ext = pre_create_data.get("image_format")
|
||||
|
||||
filepath = "{}{}".format(
|
||||
hou.text.expandString("$HIP/pyblish/"),
|
||||
"{}.$F4.{}".format(subset_name, ext)
|
||||
hou.text.expandString("$HIP/pyblish/render/"),
|
||||
"{}/{}.$F4.{}".format(subset_name, subset_name, ext)
|
||||
)
|
||||
|
||||
parms = {
|
||||
|
|
|
|||
|
|
@ -70,10 +70,11 @@ class CreateVrayROP(plugin.HoudiniCreator):
|
|||
if pre_create_data.get("render_element_enabled", True):
|
||||
# Vray has its own tag for AOV file output
|
||||
filepath = "{}{}".format(
|
||||
hou.text.expandString("$HIP/pyblish/"),
|
||||
"{}.${}.$F4.{}".format(subset_name,
|
||||
"AOV",
|
||||
ext)
|
||||
hou.text.expandString("$HIP/pyblish/renders/"),
|
||||
"{}/{}.${}.$F4.{}".format(subset_name,
|
||||
subset_name,
|
||||
"AOV",
|
||||
ext)
|
||||
)
|
||||
re_rop = instance_node.parent().createNode(
|
||||
"vray_render_channels",
|
||||
|
|
@ -90,8 +91,8 @@ class CreateVrayROP(plugin.HoudiniCreator):
|
|||
|
||||
else:
|
||||
filepath = "{}{}".format(
|
||||
hou.text.expandString("$HIP/pyblish/"),
|
||||
"{}.$F4.{}".format(subset_name, ext)
|
||||
hou.text.expandString("$HIP/pyblish/renders/"),
|
||||
"{}/{}.$F4.{}".format(subset_name, subset_name, ext)
|
||||
)
|
||||
parms.update({
|
||||
"use_render_channels": 0,
|
||||
|
|
|
|||
|
|
@ -99,8 +99,10 @@ class CollectMantraROPRenderProducts(pyblish.api.InstancePlugin):
|
|||
var = rop.evalParm("vm_variable_plane%d" % i)
|
||||
if var:
|
||||
aov_name = "vm_filename_plane%d" % i
|
||||
aov_boolean = "vm_usefile_plane%d" % i
|
||||
aov_enabled = rop.evalParm(aov_boolean)
|
||||
has_aov_path = rop.evalParm(aov_name)
|
||||
if has_aov_path:
|
||||
if has_aov_path and aov_enabled == 1:
|
||||
aov_prefix = evalParmNoFrame(rop, aov_name)
|
||||
aov_product = self.get_render_product_name(
|
||||
prefix=aov_prefix, suffix=None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue