Thank you so much for this steps. I've just started with DNA calibration. I fixed the script for for Maya 2023 and DNA Calibration 1.2.0: """ This example demonstrates Maya UI Window for simple and non-programmatic creation the scene with the creating functional rig. - usage in command line: - call without arguments: - will not start with error message: "DNAViewer needs to be run with Maya2022" NOTE: Script cannot be called with Python or mayapy, it' must be called in Maya Script Editor. - usage in Maya: 1. copy whole content of this file to Maya Script Editor 2. change value of ROOT_DIR to absolute path of dna_calibration, e.g. `c:/dna_calibration` in Windows or `/home/user/dna_calibration`. Important: Use `/` (forward slash), because Maya uses forward slashes in path. Expected: Maya will show UI. NOTE: If running on Linux, please make sure to append the LD_LIBRARY_PATH with absolute path to the lib/linux directory before running the example: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: """ from os import environ from os import path as ospath from sys import path as syspath from sys import platform # if you use Maya, use absolute path ROOT_DIR = "c:/dna_calibration" ROOT_LIB_DIR = f"{ROOT_DIR}/lib" if platform == "win32": LIB_DIR = f"{ROOT_LIB_DIR}/windows" elif platform == "linux": LIB_DIR = f"{ROOT_LIB_DIR}/linux" else: raise OSError( "OS not supported, please compile dependencies and add value to LIB_DIR" ) # Add bin directory to maya plugin path if "MAYA_PLUG_IN_PATH" in environ: separator = ":" if platform == "linux" else ";" environ["MAYA_PLUG_IN_PATH"] = separator.join([environ["MAYA_PLUG_IN_PATH"], LIB_DIR]) else: environ["MAYA_PLUG_IN_PATH"] = LIB_DIR # Adds directories to path syspath.insert(0, ROOT_DIR) syspath.insert(0, LIB_DIR) # This example is intended to be used in Maya from dna_viewer import show show()
I downloaded the latest version on git, and the file "dna_viewer_run_in_maya.py" is not the same file anymore. There are only a few command lines in it: "import dna_viewer dna_viewer.show()" There is no Root dir, or anything, so it's not possible to follow this tutorial anymore :/
I don't understand... Can I change a face geometry using sculp and after that all joints replace their position in new place? Now i only see that face can change by moving joints. In this way impossible to make face form that needed.
Currently I am working on runing the script in maya once I coplite all scripts I will start looking in to the proper use of those scripts. I understan the scripts are very impotant for modifing the MH.
wow! i am waited this video from you! thank you very much! it is awesome! Thanks to you, I started to learn Maya and do not afraid anymore!) i am also practic to change body and head metahuman and yesterday it was holiday for me when i know about DNA and i started to search info about it and first place where i go it is your channel)) i am happy to see how fast you make instructions! one moment stay for me the secret - how to export DNA file from maya to use in unreal engine?!) or file changing automatically?
Thank you so much for this steps. I've just started with DNA calibration. I fixed the script for for Maya 2023 and DNA Calibration 1.2.0:
"""
This example demonstrates Maya UI Window for simple and non-programmatic creation the scene with the creating functional rig.
- usage in command line:
- call without arguments:
- will not start with error message: "DNAViewer needs to be run with Maya2022"
NOTE: Script cannot be called with Python or mayapy, it' must be called in Maya Script Editor.
- usage in Maya:
1. copy whole content of this file to Maya Script Editor
2. change value of ROOT_DIR to absolute path of dna_calibration, e.g. `c:/dna_calibration` in Windows or `/home/user/dna_calibration`. Important:
Use `/` (forward slash), because Maya uses forward slashes in path.
Expected: Maya will show UI.
NOTE: If running on Linux, please make sure to append the LD_LIBRARY_PATH with absolute path to the lib/linux directory before running the example:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
"""
from os import environ
from os import path as ospath
from sys import path as syspath
from sys import platform
# if you use Maya, use absolute path
ROOT_DIR = "c:/dna_calibration"
ROOT_LIB_DIR = f"{ROOT_DIR}/lib"
if platform == "win32":
LIB_DIR = f"{ROOT_LIB_DIR}/windows"
elif platform == "linux":
LIB_DIR = f"{ROOT_LIB_DIR}/linux"
else:
raise OSError(
"OS not supported, please compile dependencies and add value to LIB_DIR"
)
# Add bin directory to maya plugin path
if "MAYA_PLUG_IN_PATH" in environ:
separator = ":" if platform == "linux" else ";"
environ["MAYA_PLUG_IN_PATH"] = separator.join([environ["MAYA_PLUG_IN_PATH"], LIB_DIR])
else:
environ["MAYA_PLUG_IN_PATH"] = LIB_DIR
# Adds directories to path
syspath.insert(0, ROOT_DIR)
syspath.insert(0, LIB_DIR)
# This example is intended to be used in Maya
from dna_viewer import show
show()
By the way there is a new plugin Called MetaPipe for MH.
@@noahstudio3717 True, first I am trying to get the gist of using Maya then I'll test the free version. Cheers.
thank you,very helpful
THANKS !!!! HELPFULL
I downloaded the latest version on git, and the file "dna_viewer_run_in_maya.py" is not the same file anymore.
There are only a few command lines in it:
"import dna_viewer
dna_viewer.show()"
There is no Root dir, or anything, so it's not possible to follow this tutorial anymore :/
It has been log time....., I may need to have another tutorial.
@@noahstudio3717 That would be nice, because I think a lot of things have changed since then.
ruclips.net/video/4mMygMGrpKE/видео.html
I don't understand... Can I change a face geometry using sculp and after that all joints replace their position in new place? Now i only see that face can change by moving joints. In this way impossible to make face form that needed.
Currently I am working on runing the script in maya once I coplite all scripts I will start looking in to the proper use of those scripts. I understan the scripts are very impotant for modifing the MH.
thanks for your help!!
Thank you for your detailed tutorial, may I ask if this can only adjust the head? Can the body adjust? thanks
I am working on testing all scripts . I have tested only three of them, am still learing the proper use of this script.
wow! i am waited this video from you! thank you very much! it is awesome! Thanks to you, I started to learn Maya and do not afraid anymore!) i am also practic to change body and head metahuman and yesterday it was holiday for me when i know about DNA and i started to search info about it and first place where i go it is your channel)) i am happy to see how fast you make instructions! one moment stay for me the secret - how to export DNA file from maya to use in unreal engine?!) or file changing automatically?
Thanks for the comment. In the future I am going to do more tutorials about MH.
I met a problem: line 15: DLL load failed while importing _py3dna, how should i deal with it
Hey Noah great tutorial
can we swap head mesh with custom one, could you please help a bit?
You can creat new Blendshep for the custom head
Great!!!!
Hey, amazing tutorial mate! How did you attach/view the texture in the end at 11:42 ?
Project the scan texture to MH using wrap3d(since i used wrap to constract the head mash)
Do you know how to attach a metahuman head to a different body?
Hi can you edit body rig and mesh with dna calibration? Scale of body rig. Cheers
Great Work!
I once told an old friend this day would come but he never belived me. RIP Yusef @ayamexpert
We are geting closer and closer to know everything about MH so we all can manuplate it as we like(RIP big studios and ....lol)
amazing thanks!
Possible in 3DS max?
There is no MH plugin for 3DS max.