-
Notifications
You must be signed in to change notification settings - Fork 128
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: Cant assign shaders to the ass file - OP-4859 #4460
Maya: Cant assign shaders to the ass file - OP-4859 #4460
Conversation
…e/OP-4859_cant-assign-shaders-to-the-ass-file
Task linked: OP-4859 Can’t assign shaders to the ASS file |
Look at #4535 |
- refactor common code to lib.
@LiborBatek give this another go. Think I've fixed #4535 now. |
…e-ass-file # Conflicts: # openpype/hosts/maya/api/lib.py # openpype/hosts/maya/tools/mayalookassigner/arnold_standin.py # openpype/hosts/maya/tools/mayalookassigner/lib.py
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.
Some notes
openpype/hosts/maya/plugins/publish/collect_arnold_scene_source.py
Outdated
Show resolved
Hide resolved
openpype/hosts/maya/plugins/publish/extract_arnold_scene_source.py
Outdated
Show resolved
Hide resolved
openpype/hosts/maya/plugins/publish/extract_arnold_scene_source.py
Outdated
Show resolved
Hide resolved
openpype/hosts/maya/plugins/publish/extract_arnold_scene_source.py
Outdated
Show resolved
Hide resolved
openpype/hosts/maya/plugins/publish/extract_arnold_scene_source.py
Outdated
Show resolved
Hide resolved
openpype/hosts/maya/plugins/publish/validate_arnold_scene_source_cbid.py
Outdated
Show resolved
Hide resolved
maya 2023.3 + arnold 5.1.3.3 |
@LiborBatek could you try this again now? |
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.
Now its possible to assign Look
asset to the Ass
Instance loaded in scene as with other representations of the model.
Not sure why but I m not able to graph it in Hypershade
editor its not shown as connected shader to the ass asset. Maybe its by its nature just a reminder what observed during testing....could be issue later on.
Yeah, assigning shaders to aiStandIn is done through operators, which do not follow any native material assignments workflows.; https://help.autodesk.com/view/ARNOL/ENU/?guid=arnold_user_guide_ac_operators_html |
@BigRoy you happy with this PR? |
openpype/hosts/maya/plugins/publish/extract_arnold_scene_source.py
Outdated
Show resolved
Hide resolved
…e.py Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
…ttps://github.com/tokejepsen/pype into feature/OP-4859_cant-assign-shaders-to-the-ass-file
…ttps://github.com/tokejepsen/pype into feature/OP-4859_cant-assign-shaders-to-the-ass-file
@moonyuet or @LiborBatek could I get an approval on this? |
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.
Seems ok. Being already tested.
Hello, |
@OlivierOsotimehin it does work on abc representations :-) |
Brief description
Support AiStandIn nodes for look assignment.
Description
Using operators we assign shaders and attribute/parameters to nodes within standins. Initially there is only support for a limited mount of attributes but we can add support as needed;
Testing notes
Resolves #4535