Open BigRoy opened 3 weeks ago
using the following publish template :
ayon+anatomy://RnD/templates/publish
{
"name": "HoudiniComponentBuilder",
"directory": "{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}/{product[name]}/{@version}",
"file": "{originalBasename}.{ext}"
}
ayon+settings://core/tools/publish/template_name_profiles
allows me to replicate have the same output with the same names in the publish folder. but keep in mind this publish template will also be applied to all USD products!
using the following publish template : . . allows me to replicate have the same output with the same names in the publish folder. but keep in mind this publish template will also be applied to all USD products!
I've just broken the contribution workflow. it doesn't respect the publish template.
I tried publishing the output of component builder as an assembly variant in usd contribution.
I may be missing a step.
Anyways, do you think it's a good thing/valuable to publish the component builder a an assembly product in a usdAsset
?
Side question: What tasks types are most suitable for component builders? since component builders include look and model products.
I tried publishing the output of component builder as an assembly variant in usd contribution. I may be missing a step. Anyways, do you think it's a good thing/valuable to publish the component builder a an assembly product in a
usdAsset
?
I'd say component builder makes little sense with the contribution workflow - yet at the same time, there may be an edge case where one may want to do that and instead have it be the full usd asset itself.
Side question: What tasks types are most suitable for component builders? since component builders include look and model products.
Generic task type maybe. But yes, there isn't a clear 'default' task type in AYON that is the combination of those two.
I've created https://github.com/ynput/ayon-usd/issues/78 to track the issue of using publish templates and contribution workflow.
Gave it another test with the default publish template. When using a used rop (which publish each layer of the component builder as a separate layer + one additional layer by the usd rop itself), the contribution workflow works as usual.
When using the new component builder creator (with contribution enabled and variant disabled), the contribution workflow breaks because the default prim was not set properly. (this is fixed by configuring the node properly, see https://github.com/ynput/ayon-houdini/pull/163#discussion_r1848047040)
When using the new component builder creator (with contribution enabled and variant enabled), it works.
and Here's an example where I published both the component builder directly and using a USD ROP along with contribution workflow.
Changelog Description
Implements a prototype creator that can publish the output USD of a Component Builder LOPs network.
Additional review information
Example graph:
Publisher:
The published asset is contained within a single publish with all its relative paths and localized files:
Note that this screenshot does not contain the textures - but that's only because I didn't have them on my disk in this case. That's then logged forgivingly as a warning during publish. For example:
Selecting the Creator in the publisher UI and pressing the question mark on the top right of the publisher UI will try and guide you about what it does and how to use it.
Testing notes: