-
Notifications
You must be signed in to change notification settings - Fork 34
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
Maya: USD workflow with maya usd #334
Conversation
client/ayon_core/hosts/maya/plugins/load/load_maya_usd_add_maya_reference.py
Outdated
Show resolved
Hide resolved
…a_reference.py Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
…ancement/maya_usd
…ancement/maya_usd # Conflicts: # server_addon/maya/server/settings/publishers.py
…ublishing would create runtime USD instances that do not have creator attributes data.
…ancement/maya_usd # Conflicts: # server_addon/maya/client/ayon_maya/api/usdlib.py # server_addon/maya/client/ayon_maya/plugins/create/create_maya_usd_layer.py # server_addon/maya/client/ayon_maya/plugins/load/load_maya_usd_add_maya_reference.py # server_addon/maya/client/ayon_maya/plugins/load/load_maya_usd_add_reference.py # server_addon/maya/client/ayon_maya/plugins/publish/extract_maya_usd.py # server_addon/maya/client/ayon_maya/plugins/publish/extract_maya_usd_layer.py
…hich no attribute exists on model
So I've been playing with it. Found particular case I don't know how we should handle. I was trying to reference shot USD consisting of just sublayers:
Loader gave me:
and nothing was referenced (so it is more error than warning). When trying to do it manually the error is more clear:
Which make sense.It basically means we can reference in only USD with defined |
@antirotor Could you elaborate a bit more on how to reproduce this particular behavior? I suppose you were just publishing some "shot contributions" using Or could you share your instance publish settings that produced these shot USD files? |
Please move to https://github.com/ynput/ayon-maya if is still relevant. |
Changelog Description
Implement more of Maya USD workflows:
Additional info
Some of the logic here has been used in our production - but there's also quite a bit that we didn't use at all in the actual production. The logic here can thus be considered mostly a prototype and up for discussion.
We mostly used the loading of USD files to a proxy - for previewing purposes. And the Maya USD export from Maya.
I also had this prototype to export native maya model + lookdev done with arnold to just a "look" layer override for a USD stage. (So basically a look export without the geometry present so that you could overlay it over the asset; however we did not use that.)
Anyway, input is more than welcome!
This is basically the Maya part of this equivalent OpenPype PR ynput/OpenPype#5925 but with some more improvements we did while using some parts in production.
Testing notes: