-
Notifications
You must be signed in to change notification settings - Fork 5
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
Aligning json data in published layout across DCCs #109
base: develop
Are you sure you want to change the base?
Aligning json data in published layout across DCCs #109
Conversation
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.
I was able to publish the Layout
it also got it integrated into DB but when trying to load it back while still been in the UE
it fails to load properly with following error msg:
Traceback (most recent call last):
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\core_0.4.5-dev.1\ayon_core\tools\loader\models\actions.py", line 740, in _load_representations_by_loader
load_with_repre_context(
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\core_0.4.5-dev.1\ayon_core\pipeline\load\utils.py", line 325, in load_with_repre_context
return loader.load(repre_context, name, namespace, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Work\REPO\ayon-unreal\client\ayon_unreal\plugins\load\load_layout.py", line 745, in load
save_dir = hierarchy_dir_list[0] if create_sequences else asset_dir
~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
so it seems more of an transforms issues the loading didnt trigger any error messages tho... |
I can see that. Would fix it. |
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.
I was able to publish the Layout
from UE and successfully load all assets it contains but the transforms differ from the UE.
Besides obvious mirror in X axis there are also differences in rotation
In UE:
and when loaded into Maya
:
Note you can compare values in the scrnshots as the same asset been selected for comparison
…ut-with-the-loaders-across-DCCs
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.
I have created new test scene for publishing the layout
from UE (just to clarify why different asset positioning) as I have lost the former workfile so nevermind the differences between older testing rounds and this one.
Here is my UE layout (I have used that ayon-unreal PR for producing it as mentioned in the testing steps)
and when in maya>
The scene is correctly positioned but the rotations are lacking. check those scnrshots for comparison
…ut-with-the-loaders-across-DCCs
…ut-with-the-loaders-across-DCCs
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.
I have produced new layout product in UE (for assurance) and it went smoothly....issue comes when loading into maya, all assets got in nicely but without any transforms...
I will also enclose a JSON for layout for isnpection:
QD_sh020_layoutMain_v002.json.txt
…ut-with-the-loaders-across-DCCs
Changelog Description
This PR is to align json data in published layout, so that the layout data can be loaded in different DCCs.
Resolve #108
Additional info
Not entirely supports for blender yet.
Test along with ynput/ayon-maya#74
Testing notes: