-
Notifications
You must be signed in to change notification settings - Fork 172
Closed
Description
This script shows 5 steps need to be done:
- Start Maya
- open maya scene (do 2.1 or 2.2)
2.2. start DNA Viewer GUI (dna_viewer_run_in_maya.py) - Run this script to the part called "load data"
- In the scene, make modifications to the neutral mesh and joints
- Run this script from the part called "propagate changes to dna" to the end
I tried this but meet some problem:
- The step3 will load DNA again, why I need to do step2 first?
The codebuild_rig(dna=dna, config=config)in step3 will reload DNA and overwrite the maya scene - After step3, I tried to modify the bone translation and the vertex of blendshape/head_lod0_mesh! but when I run step4:
reader = load_dna_reader(CHARACTER_DNA)
calibrated = DNACalibDNAReader(reader)
run_joints_command(reader, calibrated)
for name, item in current_vertices_positions.items():
new_vertices_positions = get_mesh_vertex_positions_from_scene(name)
if new_vertices_positions:
run_vertices_command(
calibrated, item["positions"], new_vertices_positions, item["mesh_index"]
)
save_dna(calibrated)
assemble_maya_scene()
Only bone translation is wiritten into dna file, the changes of blendshape and head_lod0_mesh has been reset in maya. Also, I can't see my changes except bone translate after loading dna files into UE.
Sometimes the step4 will report an error:
TypeError: file <maya console> line 73: MSelectionList.getDagPath() takes exactly one argument (2 given)
Are there any video tutorials? Maybe I am not so familiar with Maya. Thank you very much for helping me.
There is a same problem in UE Forums: Metahuman DNA Calib Library Export Import Issue
Metadata
Metadata
Assignees
Labels
No labels