Unexpected face offset after parenting operations in create_head_and_body_scene method #64
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: CGNICO/Metahuman_DNA_Calibration#64
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi everyone.
I've been testing the resources from UEFest over the past few weeks to replicate the DNA Calibration Demo (https://dev.epicgames.com/community/learning/tutorials/EoPj/metahuman-dna-calibration-deep-dive) However, I’ve encountered unexpected results during the FBX export process.
My current environment for running the test are:
Maya - 2022.2
Maya Up Axis - Z
Metahuman_DNA_Calibration lib + UFest files (this repo) - Current version
No changes has been made to the script apart from ROOT_DIR path, WORK_DIR path is in the same path as tutorial and contains the files needed.
This is the result of running the
uf_calibration.py
script, the SKs for each LOD are consistently generated with that offset for the facial joints (FACIAL_C_FacialRoot, FACIAL_C_Neck1Root, FACIAL_C_Neck2Root). I found that the offset occurs specifically during the execution of the following code snippet withindef create_head_and_body_scene()
:for facial_joint, neck_joint in zip(facial_root_joints, neck_joints): cmds.parent(facial_joint, neck_joint)
If I manually omit this part of the script and instead perform the parent operation directly in Maya after the script has finished running, the hierarchy updates correctly without introducing the offset.
However, the downside to this manual approach is that it requires running the export method separately for each LOD, which adds additional steps and time to the workflow.
The are no errors on the log during the script execution, although there are some warnings that I think are not related.
maya_log.txt
Any help on this would be much appreciated.
Hi all,
This was answered and solved in the Unreal forums: https://forums.unrealengine.com/t/tutorial-metahuman-dna-calibration-deep-dive/1520481/9?u=lord_triste
Solution: Disable Maya Autokeyframe before running the script.