DAZ Importer version 1.3

This is the main documentation side for the stable version 1.3. Documentation for the previous version 1.2 can be found here.

The current stable version is 1.3.1. It fixes many bugs in the previous release, in particular regarding materials. The user interface differs somewhat from what is described in this document, since it was written for the previous stable version.

The DAZ importer is a tool for importing native DAZ Studio files (DAZ User File *.duf, DAZ System File *.dsf) into Blender. It also contains some tools to make the assets more animation friendly.

The script has mainly been tested with DAZ Studio 4.10 and Blender 2.79a on Windows 7.

Links to download pages

Repository: https://bitbucket.org/Diffeomorphic/import-daz

Development version as a zip file: https://bitbucket.org/Diffeomorphic/import-daz/downloads/

Stable version 1.3.1: https://www.dropbox.com/s/0tfwk7v82116nt3/import-daz-v1.3.1-20181016.zip

  Instructions:
  1. Save the zip file somewhere on your computer.
  2. In Blender, go to File > User Preferences > Add-ons
  3. Press Install From File... and select the zip file.
  4. Enable the DAZ importer. 
  5. In the Settings panel, set up all DAZ library paths.
  6. In Daz Studio, install the export basic data plug-in, included in the zip file.
  7. Save the Daz scene as a .duf file.
  8. Export basic data with the provided add-on to a .json file with the same name as the .duf file. 
  9. In Blender, import the .duf file with Mesh Fitting set to Json file.

  Documentation / Tutorials:

  1. Installing the Blender add-ons.
  2. Installing the DAZ Studio plugin. 
  3. Setting up DAZ library paths.
  4. Export from DAZ Studio
  5. Import into Blender
  6. Setup Panel
    1. Corrections Section
    2. Materials Section
    3. Morphs Section
    4. Finishing Section
  7. Advanced Setup Panel.
    1. Low-Poly Section
    2. Visibility Section
    3. Rigging Section
    4. Morphs Section 
    5. Hair Section
  8. Settings Panel.
  9. Utilities Panel.
  10. Posing Panel.

License

License information

59 kommentarer:

  1. Hello Thomas,

    Fantastic project you have here, I am getting very good results!
    I have an issue however with corrective morphs (JCM's).
    Visemes, expressions etc. are loading correctly, but I cannot get the corrections for bending to show up.
    Error message say's cannot find any JCM's??
    In DAZ everything works fine though, so I import an already posed model and then render it.

    I am stuck, any suggestions?

    Thanks,

    Jerone

    SvaraRadera
    Svar
    1. The plugin only loads JCMs for G3 and G8 characters, from a directory called Base Correctives. For Genesis and G2 there is no such directory, nor are there any JCM files in nearby directories. At least I did not find any on my system.

      Radera
    2. You are right, my mistake. I tried G8 instead of G2 and everything works fine.
      Thanks for that!

      Radera
  2. It seems that the development version is broken.
    Installing it in Blender's user preferences creates an error message that part of the script is missing.

    SvaraRadera
    Svar
    1. I cannot reproduce this with current version 3c906f5b22a9. Could you describe exactly what the error message is?

      Radera
  3. Hello Thomas,

    I use both the stable plugin and the latest dev plugin, making sure that both use the same basic settings.
    Using the latest dev plugin; when I try to import a scene using the principled shader option, nothing happens and in the 3D viewport I get a list of errors and nothing is imported.
    Unfortunately, the error-messages disappear in Blender when you move the mouse.
    Unchecking the principled shader option seems to fix this problem (at least for me) with the dev plugin.
    The stable version works for me regardless of using the principled shader option or not.

    Great project!!

    SvaraRadera
    Svar
    1. If you start Blender from the a DOS/terminal window, a lasting error trace is printed on it.

      But anyway, I found a fatal bug which affected pretty much every file using the principled shader. Fixed now.

      Radera
  4. Wow, that was quick Thomas, fantastic!
    Question; DAZ studio allows linking customized textures in a scene to, for instance, the My Pictures map. Would it be possible to include that into your project?
    (I know, I am a lazy bastard)

    SvaraRadera
    Svar
    1. I don't understand what you are asking for here. If you assign a texture to a mesh in DS, the plugin will import that texture even if it is not located under one of the DS root directories (just checked). Or did you mean something else?

      Radera
    2. Thomas,

      Sorry for beeing rather unclear.
      I use the layered image editor in DAZ quite a lot for adding textures on skin, clothing, walls etc. The editor creates a jpeg file in DAZ temp folder, but that file is deleted when you quit DAZ. Besides, when I would copy that jpeg file and use it as the basic texture, I cannot edit it anymore inside DAZ.
      I find this useful to avoid building up a huge amount of custom textures for every scene.
      When I load a DAZ scene with edited textures into Blender with your plugin, the added texture does not show up or shows up deformed and/or in the wrong place.
      I was wondering if it would be possible that your plugin picks the correct jpeg file from the DAZ temp folder?

      Radera
  5. Thank you for your amazing plugin.

    This version seems to have a slight bug. Facial expressions seem to be improperly weighted after Rigifying the character, compared with before. For instance, the range of movement of BrowInnerUp-DownL is a fraction of what it was before Rigifying. I have been unable to locate the source of this error, or to find a remedy, as I am fairly new to Blender.

    SvaraRadera
    Svar
    1. After some more investigation, I think this is not an error with the addon, but was caused by applying scale at the character's object level. I presume this causes problems with the scripted expressions and drivers WRT DazScale and DazCharacterScale properties.

      Radera
  6. Hello guys, I'm having an issue were the face of my Gen 8 or 3 gets badly deformed when I load the expressions, face units or visemes? I had tried doing one at the time and all of them together however the animation slider doesn't do anything. Followed the instructions for rigging the character, creating extra bones for the face and making all bones posable but I'm still kinda stuck, any thoughts?

    SvaraRadera
    Svar
    1. nvm, It needed the autorun scripts. Is fixed now.

      Radera
  7. Wow, this is an amazing tool and a time saver.
    Just wondering if it is possible to import custom JCM such as:

    Musculature HD Morphs for Genesis 3
    Ultimate Natural Bend Morphs for Victoria 7

    Thanks again

    SvaraRadera
    Svar
    1. Unfortunately, I don't see a way to do that currently.

      There is the additional problem that the plugin imports the character in original resolution, not with subsurf applied, so the mesh does not have enough vertices for the HD morphs. Normally this is what you want; you can add a subsurf modifier in Blender after the armature modifier to smooth the posed character. But it also means no HD morphs.

      Radera
    2. Den här kommentaren har tagits bort av skribenten.

      Radera
  8. Hello Thomas, thanks for all the hard work and excellent plugin I am running Daz studio on Linux, works quite well, and I am using this plugin. I am using the connect in studio to download store products and these are being saved in /home/timothy/Documents/DAZ 3D/Studio/My Daz Connect Library/data/cloud as numerical folders so it is not the same as the content manager. I have set this as a resource folder but having problems unless I copy the daz 3d folder in to /home/timothy/Documents/Daz 3d/Studio/My Library anything I have missed on setting this up. I don't really want to have two copies of the same thing if I can avoid it, and I really don't know how to set the hierarchy of the files up.

    SvaraRadera
  9. I rarely use Linux and my knowledge of it is very rudimentary. Perhaps you can create a link with the ln command from the place that works to the place that doesn't.

    SvaraRadera
  10. Hi, I would recommend adding your documentation inside the .zip file. Amazing job btw. Wish i could get my morphs working though hehe. Amazing job though. This must have taken so long to make!

    SvaraRadera
  11. What is the best method to import actions (not just poses)?

    SvaraRadera
  12. First of all, thank you for the plugin. Though, I have run into some issues.
    I've been comparing models imported from a .duf and a .dae and they're just noticeably different. For example, the ears on a .duf import are much thinner than that from a .dae import, and the mouth on a .duf import is ever so slightly parted (which is greatly exaggerated when subsurf is applied). There are a few other minorities, like nostril height and neck thickness too. This happens with a base Genesis 8 model with no morphs used, so I doubt it's an issue with any external installed morphs. Is there a fix for this?

    SvaraRadera
  13. thank you very much for the tool !
    but is there any plans for multiple uvmaps on objects like gens ? when i export fbx gens get different uvmaps but this script doenst seem tho do that and those uvs really help me to color the gen so i wonder if there will be a seperate uvmap option or somehing like that

    SvaraRadera
  14. I wanted to clarify an earlier question with an example. Let's say use Daz's lip sync tool on my character. That mostly manipulates morphs in Daz Studio. As far as I know, Daz Importer would not import those animated morphs. Is there a way to bring those over to blender? Thanks.

    SvaraRadera
  15. this is the message im getting error mesh fitting set to .json.

    SvaraRadera
  16. Hello! Great Tool here Thomas! But i have a question, i ran through the tutorial and i think i did all correctly. But still i cannot seem to expand the expressions from the default 7 that is with daz. I have hundreds in my daz from addons. But they do not show up. When i try to import them nothing happens. I also tried to copy paste them to the folder of the native expressions without luck. What am i doing wrong?
    I did a check of the file size and content, some .dsf files had alot of info and seemed similar to the default daz in info and size. then others had very little info, almost like it was refering to another file. Hope you can help out with this.

    SvaraRadera
    Svar
    1. I forgot to mention, this is Genesis 8 female.

      Radera
  17. That is an incredible plugin! Thank you very much!

    SvaraRadera
  18. Hi! This is an incredible addon for blender, thank you so much for sharing it!
    Do you have any plan for porting it in blender 2.8? :-)
    Anyway, this is the best DAz3d importation solution ever!

    SvaraRadera
  19. Hello Thomas,

    really great job, and my question seems to be a question of a noob, but i thought the plug-in was able to create ik solvers and controlers to make a pose to pose animation ? For example i can't move the hand so that all the arm move, is it normal ?

    SvaraRadera
  20. Hiya Thomas! I was wondering why my blender hangs up when converting mesh hair into particle hair with your plugin... I moved the hair to an empty layer then separated the skull cap from the hair and renamed it "Skull" then I shift select main layer (with hair layer) then deselected everything shown on main layer and then selected the body and hair respectably followed by clicking "Make Hair", the result was a incomplete particle hair with some sides missing... Hair used: Classic Bob for Genesis 8 Female. Thank you,for any help you can offer.

    SvaraRadera
  21. Hi Thomas, thank you so much for sharing this wonderful project. It is simply the best Daz to Blender tool. I hope you are considering to make it for Blender 2.8. Together with Eevee render engine is going to be a game changer.

    SvaraRadera
  22. Hi Thomas. This is a worderful projetct. The version 1.3 works fine at me with Blender 2.8 Alpha 2.

    SvaraRadera
  23. Good day is there one way to enjoy of the poses of daz and to the same time enjoy of the bvh files because if you finish the character to mhx this doesn`t work with daz poses anymore

    SvaraRadera
  24. I get the following error when trying to activate the plugin:Report: Error
    A Traceback (most recent call last):
    File "C:\Users\Jeff\AppData\Roaming\Blender Foundation\Blender\blender-2.80.0-git.7c438e5366b2-windows64\2.80\scripts\modules\addon_utils.py", line 393, in enable mod.registerQ
    File "C:\Users\Jeff\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\import-daz\_init_.py", line 1202, in register animation.initializeO
    Fie "C:\Users\Jeff\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\import-daz\animation.py", line 1048, in initialize bpy.utils.register_class(cls)

    IT isntalls in 2.79 OK but will not install in 2.80.(for me)

    SvaraRadera
  25. GREAT PLUGIN!! Question, is there a way to export your animations and resulting morph changes BACK into DAZ Studio?

    SvaraRadera
  26. How export a blender FBX ???

    Nice plugin also :)

    SvaraRadera
  27. Hi, I have a problem importing models to the blender. This don't want import characters or clothes that come from smart content. If I take from My Library, clothes are beautifully loaded with materials, but the figure is only a skeleton without a body. If I take from smart content example, genesis 8 starter, nothing is import to blender.

    SvaraRadera
    Svar
    1. Please follow the tutorial. Did you export all data from Daz and naming it the same as your scene before importing?

      Radera
    2. Yes, both the duf and json files were saved under the same name, and in the same folder. It looks like it doesn't load My Daz Connect Library

      Radera
  28. Hello Thomas,
    Awesome work on this plugin. Have you considered adding a donation link to your site? I for one, depend on your plugin and would gladly donate.
    Thanks,
    Billh

    SvaraRadera
  29. Awesome plugin! But is it possible to get the same kind of bones as in Daz? Move the foot and the leg follows along?

    SvaraRadera
  30. Seems like a great plugin but unfortunately it does not work with Da Connect Library which stores all the downloaded data in numbered folder such as G:\Documents\DAZ 3D\Studio\My Daz Connect Library\data\cloud\1_5072\data.
    Do you know if there is a way to get this to work?

    SvaraRadera
  31. Oh my God! Thank you so much! I'm suffering without this tool so long. Works nice with 2.8. And can I update some of my parameters from original DAZ file? Pose for example

    SvaraRadera
  32. Thanks a million times! This is a HUGE help!

    SvaraRadera
  33. I Don't have this addon in File/Import menu why?

    1.Ive downloaded this addon
    2.File/User Preferences/install from file/ check import-export DAZ(.duf,.dsf) Format
    3.Save user settings
    4.File/import and and box had anything to import DAZ files

    SvaraRadera
  34. Have you considered selling this addon on the Daz or Blender marketplaces? It's an amazing addon (better than any of the commercial options I've tried) and you really deserve to be compensated!

    SvaraRadera
  35. Hi Thomas. This is a wonderful addon.
    My only issue is with the eyes of G8 character in some case it would appear it messes up the texture to UV relationship..
    I could be wrong... Is there a simple way to fix the eyes so that they display correctly
    Thank you in advance for any assistance.
    Otherwise the addon works perfectly .
    It may be my workflow

    SvaraRadera
  36. Hi Thomas
    I have figured out it is only an issue with Blender 2.8 evee
    Blender 2.8 cycles renders the eyes perfectly

    SvaraRadera
  37. can u please tell how to setup paths in blender 2.8

    SvaraRadera
  38. Hey Thomas, you great addon worked fine in last months 2.8 blender, but I installed the lastest version on todays 2.8 build and it doesn't work anymore, when I try to load a json, I get this :

    Loading D:\DAZ 3D\My Library\DefaultGen8.duf
    Parsing data
    Fitting objects with .json file...
    Preprocessing...
    Building objects...
    Traceback (most recent call last):
    File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\daz.py", line 51, in execute
    getMainAsset(self.filepath, context, self)
    File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\main.py", line 84, in getMainAsset
    asset.build(context)
    File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 80, in build
    self.tree.build(context)
    File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\pbr.py", line 63, in build
    self.buildBumpNodes()
    File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 377, in buildBumpNodes
    _,tex = self.getShellsTex("getChannelBump", "NONE", 0, False)
    File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 470, in getShellsTex
    return self.getColorTex(channel, colorSpace, self.texco, default, useFactor, useTex, maxval)
    File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 414, in getColorTex
    tex = self.addTexImageNode(channel, colorSpace, texco)
    File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 1017, in addTexImageNode
    texnode,isnew = self.addSingleTexture(2, assets[0], maps[0], colorSpace)
    File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 970, in addSingleTexture
    texnode.color_space = colorSpace
    AttributeError: 'ShaderNodeTexImage' object has no attribute 'color_space'

    location: :-1

    location: :-1

    SvaraRadera
  39. Thanks for a very useful tool.
    Thought I have a problem merging third party genitals. The genitals UV mapping seems to be missing. I've tried to import the Collada which has the correct UV, but can't find a way to transfer the UV map.
    -Jim

    SvaraRadera
  40. A NOTE ABOUT THE STANDARD BSDF AND PRINCIPLED SHADERS

    By developing materials conversion we found that it is not possible to match the iray translucency with the principled shader. Or the dual lobe specularity. Also the principled shader has issues with fresnel for non-pbr materials.

    The main issue with the principled shader is that it can only generate pbr materials. While iray can generate both pbr and non-pbr (aka specular) materials. For example iray allows colored specular highlights that are not physically possible, or materials with a high specularity and a high roughness again not physically possible. This is why in general we have a better match with the standard bsdf where we can introduce non-pbr features the same as iray does.

    More details can be found in the repository.

    https://bitbucket.org/Diffeomorphic/import-daz/issues/321/dual-lobe-specularity-implementation-and

    https://bitbucket.org/Diffeomorphic/import-daz/issues/134/ultimate-specularity-matching-fresnel

    SvaraRadera
  41. Hi Thomas,
    I had some issues with Daz3D 4.10 with Blender 2.79, but finally figured out the issue with the model paths, but the importer doesn't bring in the materials properly for nodes for cycle render. I had to do it manually - from what I understand, the importer should create the nodes - or am I mistaken? It just simply added colors to the models.

    SvaraRadera
  42. I get error when trying import Genesis 8 figure in newest blender.. Anyone know why?

    Loading D:\DAZ 3D\My Library\DefaultGen8.duf Parsing data Fitting objects with .json file... Preprocessing... Building objects... Traceback (most recent call last): File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\daz.py", line 51, in execute getMainAsset(self.filepath, context, self) File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\main.py", line 84, in getMainAsset asset.build(context) File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 80, in build self.tree.build(context) File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\pbr.py", line 63, in build self.buildBumpNodes() File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 377, in buildBumpNodes _,tex = self.getShellsTex("getChannelBump", "NONE", 0, False) File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 470, in getShellsTex return self.getColorTex(channel, colorSpace, self.texco, default, useFactor, useTex, maxval) File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 414, in getColorTex tex = self.addTexImageNode(channel, colorSpace, texco) File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 1017, in addTexImageNode texnode,isnew = self.addSingleTexture(2, assets[0], maps[0], colorSpace) File "C:\Users\Zin\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-import-daz-4d877d8353f1\cycles.py", line 970, in addSingleTexture texnode.color_space = colorSpace AttributeError: 'ShaderNodeTexImage' object has no attribute 'color_space'

    location: :-1

    location: :-1

    SvaraRadera
  43. Fantastic plugin been using it with blender 2.79- 2.80 daily builds. Added to blender 2.80 RC & got an error message when I tried to activate it in preferences.

    Traceback (most recent call last):
    File "/Applications/Blender.app/Contents/Resources/2.80/scripts/modules/addon_utils.py", line 384, in enable
    mod.register()
    File "/Users/imac/Library/Application Support/Blender/2.80/scripts/addons/import-daz/__init__.py", line 1231, in register
    bpy.utils.register_class(cls)
    RuntimeError: Error: Registering panel class: 'DAZ_PT_Setup' has category 'DAZ Runtime'


    Traceback (most recent call last):
    File "/Applications/Blender.app/Contents/Resources/2.80/scripts/modules/addon_utils.py", line 384, in enable
    mod.register()
    File "/Users/imac/Library/Application Support/Blender/2.80/scripts/addons/import-daz/__init__.py", line 1202, in register
    animation.initialize()
    File "/Users/imac/Library/Application Support/Blender/2.80/scripts/addons/import-daz/animation.py", line 1048, in initialize
    bpy.utils.register_class(cls)
    ValueError: register_class(...): already registered as a subclass

    SvaraRadera