-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USD ROP allow remapping explicit layer save paths to be remapped to AYON Entity URI #80
USD ROP allow remapping explicit layer save paths to be remapped to AYON Entity URI #80
Conversation
Due to a limitation of the Publisher UI the attribute definitions for the `usdrop` family won't be shown in the Publisher UI. The Publisher UI only shows attribute definitions for the main primary product type, not for the other "families" on the Created Instance. Because `usd` is the primary product type, and not `usdrop` the attributes would never show.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you are some test runs..
I don't have the resolver yet, but I can at least validate if the PR works as expected.
No idea if the URI is correct or not. But, I'll assume it's correct.
So, I loaded few published products using different loaders.
here you are the different URIs I got:
-
ayon+entity://Robo/Assets/Character/moco&product=usdSphere&version=v006&representation=usd
-
ayon+entity://Robo/Assets/Character/moco&product=usdAsset_model&version=v005&representation=usd
Another test, I used all the loaders to load the exact same asset:
They all point to my usdSphere
mentioned at the top.
…enhancement/usd_rop_save_layers_entity_uri # Conflicts: # server/settings/publish.py
@MustafaJafar your specific test run confirms the loading, but not this PRs saving of explicit layer save paths and embedding that in the published USD file. @Lypsolon I've checked your scene files just now - and your scene actually behaves correctly. It saves only one explicit layer save path. This is due to the MERGE node. At the merge, there's only one layer still in my Scene Graph Layers. This is due to the default being a "Simple merge". That's when the publisher should pick that up. So I'd say - please test again with that knowledge. |
ahh sorry rucky mistake i will test again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after fixing the merge settings (Roocky mistake)
it now works.
Tested on Houdin 20.0 Almalinux 9 with 200Explicit Save Paths
One small note.
|
Correct - this is the discovery of the plugins in the Create Context and how it applies the project settings. It's verbose yes - but shouldn't be an issue for now. |
Changelog Description
Allow remapping to AYON Entity URI instead of resolved publish filepath for layer save paths directly written out from the USD ROP that also turn into their own publishable instance.
Additional info
Testing notes:
Enable
Extract USD
attributeuse_ayon_entity_uri
in settings.*When using Merge LOP to merge multiple explicit layer save paths (e.g. separate SOP imports with explicit layer save paths) keep in mind that Merge LOP default merge mode "Simple merge" will discard them. More details, see here