How to run Metahuman DNA Calibration script (dna_viewer) in Maya

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 30

  • @LFA_GM
    @LFA_GM Год назад +3

    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()

    • @noahstudio3717
      @noahstudio3717  Год назад

      By the way there is a new plugin Called MetaPipe for MH.

    • @LFA_GM
      @LFA_GM Год назад +1

      @@noahstudio3717 True, first I am trying to get the gist of using Maya then I'll test the free version. Cheers.

    • @vincentzhang1192
      @vincentzhang1192 9 месяцев назад

      thank you,very helpful

  • @elenashevchenko-l8t
    @elenashevchenko-l8t 10 месяцев назад +1

    THANKS !!!! HELPFULL

  • @Maxparata
    @Maxparata Год назад +1

    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 :/

    • @noahstudio3717
      @noahstudio3717  Год назад

      It has been log time....., I may need to have another tutorial.

    • @Maxparata
      @Maxparata Год назад

      @@noahstudio3717 That would be nice, because I think a lot of things have changed since then.

    • @noahstudio3717
      @noahstudio3717  Год назад

      ruclips.net/video/4mMygMGrpKE/видео.html

  • @SK-hj1xh
    @SK-hj1xh 2 года назад +3

    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.

    • @noahstudio3717
      @noahstudio3717  2 года назад +2

      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.

  • @wuboliang6565
    @wuboliang6565 Год назад +1

    thanks for your help!!

  • @yongz28
    @yongz28 2 года назад +2

    Thank you for your detailed tutorial, may I ask if this can only adjust the head? Can the body adjust? thanks

    • @noahstudio3717
      @noahstudio3717  2 года назад

      I am working on testing all scripts . I have tested only three of them, am still learing the proper use of this script.

  • @cgartist1447
    @cgartist1447 2 года назад +2

    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?

    • @noahstudio3717
      @noahstudio3717  2 года назад

      Thanks for the comment. In the future I am going to do more tutorials about MH.

  • @herosreels7337
    @herosreels7337 Год назад

    I met a problem: line 15: DLL load failed while importing _py3dna, how should i deal with it

  • @mimihello7279
    @mimihello7279 Год назад +1

    Hey Noah great tutorial
    can we swap head mesh with custom one, could you please help a bit?

    • @noahstudio3717
      @noahstudio3717  Год назад

      You can creat new Blendshep for the custom head

  • @luisquesadamarcos
    @luisquesadamarcos 2 года назад +1

    Great!!!!

  • @AmrAli-gy2xs
    @AmrAli-gy2xs 2 года назад

    Hey, amazing tutorial mate! How did you attach/view the texture in the end at 11:42 ?

    • @noahstudio3717
      @noahstudio3717  Год назад

      Project the scan texture to MH using wrap3d(since i used wrap to constract the head mash)

  • @poochyboi
    @poochyboi Год назад

    Do you know how to attach a metahuman head to a different body?

  • @hanson251985
    @hanson251985 Год назад

    Hi can you edit body rig and mesh with dna calibration? Scale of body rig. Cheers

  • @keima4619
    @keima4619 Год назад

    Great Work!

  • @Jsfilmz
    @Jsfilmz 2 года назад +3

    I once told an old friend this day would come but he never belived me. RIP Yusef @ayamexpert

    • @noahstudio3717
      @noahstudio3717  2 года назад

      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)

  • @mimiqiao556
    @mimiqiao556 2 года назад

    amazing thanks!

  • @Instant_Nerf
    @Instant_Nerf 2 года назад

    Possible in 3DS max?