Genesis 8 for Maya Manual

June 7, 2018 5 comments

Expand Arrow

Installation

1. Install Genesis 8 for Maya

Install Genesis 8 for Maya’s files using Daz Install Manager or by manually extracting them into their proper locations.

To install manually download the ZIP file from your ‘Product Library’ in the ‘My Account’ section of the daz3d.com website. Then extract the files to the following locations:

  • Everything in the folder:
    \DAZ Studio_4.5;4.x Public Build;4.x Private Build\scripts\support\LayLo3D\Genesis8ForMaya
    Goes into:
    C:\Program Files\DAZ 3D\DAZStudio4\scripts\support\LayLo3D\Genesis8ForMaya
  • For Windows, everything in:
    \UserDocs\Autodesk\maya\plug-ins
    Goes into:
    C:\Users\{your username}\Documents\maya\plug-ins
  • Everything in this folder:
    \AppData\DAZ 3D\Studio4\RunOnce
    You should be able to double click and they will open Daz Studio (if it’s not open) and set up the scripts inside the script menu so they can be ran from Daz Studio. You can also drag them from the folder onto the Daz Studio window and it should execute them as well.
  • For Mac OS, everything in:
    \SharedDocs
    is the same as what’s in the UserDocs, there’s just a little bit of a folder structure difference with Mac OS
    \Users\Shared\Autodesk\maya\{version}\plug-ins
2. Load plug-in inside Maya

Inside Maya go to Windows > Setting/Preferences > Plug-in Manager.


Look for ‘Genesis8ForMaya.py’ and check the ‘Loaded’ box next to it. If you would like it to load every time you start Maya, check the ‘Auto load’ box as well.
Expand Arrow

How to use Genesis 8 for Maya

Setting up your character for export inside Daz Studio

Load your desired Genesis 8 character into a new scene and dial in its shape to whatever you’re going for. You can also add clothing and hair to your character if you want. For best results don’t dial in the ‘Naval’ morph, it will be exported out by default and it’s better to dial it in inside Maya. If you want to use any of the other naval morphs favorite them, so they will be exported out and apply them in Maya as well.

If you would like any additional morphs, expressions and/or pose controls to be exported with your character, set them as favorites and they will exported automatically.

Exporting your character from Daz Studio

With the character selected go to: Scripts > Genesis 8 for Maya > and select the Daz Original Core figure your character is based on.

The script will export your figure properly as a .FBX to whatever location you choose.

Importing your character to Maya

With the plug-in loaded… (refer to installation instructions)

Go to the Genesis 8 for Maya menu. From the menu select the Genesis 8 core figure your character is based on. The import dialog will come up, look for the .FBX file you created using the Genesis 8 for Maya Daz Studio export script.

Specifying a Character Name

After the import is complete you will have the option to specify a name for your character. Just type in the name you desire.

Shading Network Renaming Options

The check boxes in the Shading Network section allow you to toggle whether you would like the shading groups and/or shaders renamed.

The Rename Shading Groups checkbox will rename the shading groups from something vague to the figures name, or specified name if one is given, appended with the name of the shader. For example, instead of shading groups with names like “Genesis8MaleShapeSG1,” “Genesis8MaleShapeSG2,” etc. they will be named to the format of “Genesis8Male_TorsoSG,” “Genesis8Male_FaceSG,” etc. This makes managing shaders in the Hypershade a lot easier.

The Rename Shaders checkbox will add the figures name to the beginning of the shader name. For example, “Torso,” will be renamed to “FiguresName_Torso.” When you have clothing items and hair in the scene in addition to the figure it helps keep the shaders for different items grouped together and makes it easier to know what the shader you’re working on is for.

After you make your decision on the renaming options and click “Yes” or “No” I recommend saving the scene in a native Maya format for future use.

Expand Arrow

The Naval Morph

I decided to make my Daz Studio export scripts export the naval morph out by default. Daz Studio has JCMs that only apply when the naval is dialed in. My plug-in is able to mimic this functionality by always exporting it.

For best results don’t dial the naval morph in before export. If you want to dial it in wait until you get to Maya. If your character is wearing clothing that covers the naval it is best not to dial it in, otherwise the clothing can be pulled into it.

Expand Arrow

How to Use Geo-Grafts and Attachments with Genesis 8 for Maya

Expand Arrow

How to Use DazToMaya’s Shader Conversion Tool with Genesis 8 for Maya

To use DazToMaya’s shader conversion tools in conjunction with Genesis 8 for Maya follow all the above steps, except when the dialog box pops up after import uncheck both the “Rename Shading Groups” and “Rename Shaders” check boxes before clicking “Yes” or “No.” Don’t worry you can still use these renaming features later and specify a name for your character.

After clicking “Yes” or “No” go to the DazToMaya menu and select “Import,” when it’s dialog box comes up just use the shader conversion feature, don’t click any of the import options.

When the shader conversion is finished you can close the DazToMaya UI and that’s it.

If you would like to auto-rename the shaders and shading groups you can do so by going to the “Genesis 8 for Maya” menu and clicking the appropriate menu items.

Expand Arrow

Update Notes – 1.10

Added Set Driven Keys for the eyelid joints surrounding the eyeballs.

Prior to this change when rotating the eyeballs they would commonly poke through the eyelids. The new functionality also more closely mimics that of Daz Studio. There is also a limitation with Daz Studio’s FBX export that it does not export out the negative affect of morphs and pose controls. Therefore, the “Eyes Side-Side” and “Eyes Up-Down” would only move the eyes and eyelids in one direction. I feel this is a good solution to the problem. If this change negatively affects using your mocap systems, the connections to the eyelid joints can be broken to remove the effects of the “Set Driven Keys.”

“Smooth Mesh Preview” with “Preview Division Levels” set to 2 and “Use Preview Level for Rendering” will now be turned on automatically inside Maya for both the figure mesh and eyelashes (if they were exported).

With most render engines this change should make the mesh less faceted and look better when rendered.

Genesis 8 will now be exported out of Daz Studio at the “Base Resolution” level.

I recently learned that even though FBX export always exports the mesh with the same number of polygons of that of the base resolution mesh, if the resolution level isn’t set to base before export the mesh is smoothed a little bit and doesn’t look good when subdivided inside Maya. This should also make it easier if you decide to create any extra blend shapes for your figure.

Added an option to select an alternate HumanIK definition that is compatible with MotionBuilder when importing the figure into Maya.

The original HumanIK definition isn’t compatible with MotionBuilder 2018 and would need to be re-defined if you sent the scene to MotionBuilder. The difference between the two definitions is that the arm and leg roll joints get defined as “roll” joints for the MotionBuilder HumanIK definition and required slightly different arm rotations. With the original definition they get defined as “roll leaf” joints.

I don’t know all the implications of using one definition over the other. If you use motion capture I would suggest trying both and see what one produces better results. Please let me and everyone else know in the comments below. Please note when sending a scene to MotionBuilder (MB) that it doesn’t support “Set Driven Keys” and the JCM functionality of Genesis 8 for Maya will be lost. Also, after sending the scene to MB some blend shapes get turned on inside of MB and the mesh may appear distorted. Either turn off the influence of the blendshapes inside MB or delete the blend shapes from the scene in Maya before sending it to MB.

Added full support for Mabel 8 and Teen Kaylee 8.

5 Responses to “Genesis 8 for Maya Manual”

  1. aeon says:

    I get the following when trying to load your plugin in maya:
    // Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: ImportError: file D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya.py line 13: No module named G8ForMaya_Menu //
    // Warning: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: Failed to call script initialize function //
    // Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: (Genesis8ForMaya) //

    • LayLo says:

      Can you double check and make sure you have the Maya plug-in files in their proper locations?

      It looks like in your case you should have the following files in this folder D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya like:
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/g8_for_maya.png”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Aiko8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Alexandra8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_BaseJCMs.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Charlotte8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Darius8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Edie8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Edward8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Floyd8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Girl8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Karyssa8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Lucas8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Mabel8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Menu.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Michael8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Monique8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Ollie8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Olympia8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Owen8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Penny8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Sakura8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Stephanie8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_TeenKaylee8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/G8ForMaya_Victoria8.pyc”
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya/LL3D_Logo.png”

      And the Genesis8ForMaya.py should be here:
      “D:/Users/Andy/Documents/maya/plug-ins/Genesis8ForMaya.py”

  2. aeon says:

    I solved replacing “~/maya/plug-ins/Genesis8ForMaya” with “D:\Users\Andy\Documents\maya\plug-ins\Genesis8ForMaya” in Genesis8ForMaya.py

    But now I’ve another problem.
    I’ve loaded Genesis 8 Female base
    exported via Scripts -> Genesis 8 for Maya -> Export Genesis 8 base Female
    But when I try to import in maya using G8 for Maya -> Import Genesis 8 Base Male or Female, I get this:
    Unexpected figure or naming convention
    # Traceback (most recent call last):
    # File “D:/Users/LayLo/Documents/maya/plug-ins/Genesis8ForMaya\G8ForMaya.py”, line 1239, in loadGenesis8Figure
    # File “D:/Users/LayLo/Documents/maya/plug-ins/Genesis8ForMaya\G8ForMaya.py”, line 129, in createCharacterGroup
    # ValueError: No object matches name: hip
    # Warning: An error occurred. If you believe this error occurred due to a bug please email the log file located at : C:/Users/Andy/AppData/Roaming/SPB_Data/maya/plug-ins/Genesis8ForMaya/log.txt to Daz tech support. #

  3. aeon says:

    And yes, the files are (and were) all in the paths you indicate

  4. aeon says:

    Apparently last problem was happing because I’ve “updated animation” and no “add and update animation” in maya fbx import options.
    Maybe you can add the correct maya fbx import options in your how to use instructions?

Leave a Comment