Genesis 2 Error + Documentation

Issue #987 closed
Midnight Arrow created an issue

Blender v3.0, Diffeomorphic v1.6.2.0981

I tried to import a Genesis 2 figure for the first time only to find out that Genesis 2 doesn’t support JCMs? I looked through the docs but didn’t see anything about this. So I checked the properties in Daz Studio and found all these “CTRLRIG” things. I imported those thinking they’re the same as JCMs for G2 only to get this error pop up:

  File "C:\Users\**************\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import_daz-97c9cb0a6a90\load_morph.py", line 1093, in makeBoneDriver
    addTransformVar(fcu, vname, ttypes[j], self.rig, bname)
UnboundLocalError: local variable 'ttypes' referenced before assignment

How exactly do Genesis 2 figures work if they don’t have JCMs? And was this ever explained on the Diffeo blog?

On a related note doesn’t Bitbucket have a wiki component like Github? Can we start moving the documentation onto there? Using a blog full of outdated info to store detailed technical documentation isn’t working very well, I’m sorry.

Comments (7)

  1. Alessandro Padovani

    G1 G2 use triax that’s not supported by blender, you will only get the basic weightmap deformations. You can partially fix this by using a corrective smooth modifier and/or exporting pre-bended limbs to retain some of the original deformations.

    G3 G8 G81 use jcms and are fully supported.

    edit. note for Thomas. May be the easy import could have G1-G81 presets to avoid confusion.

    • G1 G2: no jcms no facs
    • G3 G8: no facs, though facs can transfer to G8, but it’s not so in daz studio where you need to get from the daz shop specific facs for G3 G8, not supported in diffeo
    • G81: full options, or possibly no face units/expressions since facs/facs expressions are meant to replace them

    https://www.daz3d.com/genesis-3--8-face-controls

  2. Midnight Arrow reporter

    Triax not working really needs to be in some documentation somwhere, preferably in wiki style.

    In theory we could export a bunch of pre-bent figures as Objs from Daz, import all of them into Blender at once, and create JCMs. Blender just made a thing called “crazyspace” part of its API which might help that:

    https://wiki.blender.org/wiki/Reference/Release_Notes/3.1/Python_API

    Also, I use FACS on regular Genesis 8 all the time. Aside from some bad eyelash deforms they work fine since G8 has the same mesh.

  3. Thomas Larsson repo owner

    If anyone wants to improve on the documentation, I’m totally cool with that. Personally I have been more occupied with the war effort recently (a Ukrainian family lived with us for a month, but has now departed).

  4. Alessandro Padovani

    Nice. As I understand it, “crazy space” seems the same used in daz studio to create jcms for clothing via the morph loader. We may create a set of poses for G1 G2 that may transfer to the G8 jcms, so that the G8 jcms will be used for G1 G2 as well. But this would also require to use the G8 rig on G1 G2 and to transfer poses and animations.

    Ultimately seems a little complex to me, also because I suck at rigging so I can’t help here.

    https://www.daz3d.com/pjcm-poses--for-clothing-creators-for-genesis-8

    edit. note. Or there are products in the daz shop to convert G2 to G3 or among other generations. A daz user could use them to export to blender. That’s probably the easy way.

    https://www.daz3d.com/genx2-addon-for-genesis-3

  5. Alessandro Padovani

    Thomas, here we take ukrainians as well via the church in my block. I’m glad to hear that you and your family are active to help. Personally I don’t feel I’ll have much time to take on the docs because I already do a number of things also for the church and diffeo gets little time. But if you agree I may throw some notes here and there at times.

  6. Midnight Arrow reporter

    @ Thomas

    Sounds good, but where should it be hosted? Here on Bitbucket? Do ordinary users have write privileges for a Bitbucket wiki?

    @ Alessandro

    I was thinking there would be a script in Daz Studio that just poses the G2 figure in the necessary positions for JCMs and exports all them poses to Objs, then the importer loads the folder full of Objs at once and converts them into shape keys for G2 base mesh.

    It does seem a little complex so I wouldn’t recommend it for ordinary usage. But the reason I used Genesis 2 was because of a specific geograft and geografts can’t be converted to different generations, so a brute-force approach would be good when there’s no other option.

  7. Log in to comment