Importing character 'Xue' has mirrored eyes

Issue #1942 invalid
Joe Morris @ FAST Animation Studio Toolz created an issue

i import her w default settings and every time I import her I have to go to the material tab and set her eye moisture and cornea texture to alpha clip and turn I think the clip threshold all the way up to 1

is there any way around this is there a way you guys could set it up so maybe it does this automatically if it detects an eye texture like hers that maybe has the alpha set up wrong I think that would be better…. if not if I were to implement something like this in my own code do you think I should just make it an option or for example is this something that's easily derivable that we could test for and maybe make a function that would alert us every time this happens and set the values.

Thanks again for the awesome add on!

Best Regards

Comments (26)

  1. Alessandro Padovani

    You may want to provide a link to the product page you’re referring to. A search for “Xue“ reveals many possible figures.

  2. Joe Morris @ FAST Animation Studio Toolz reporter

    https://www.daz3d.com/xue-and-expressions-for-genesis-81-female It's this one…. And again that's an import with default Settings….. And I also had to go to the eyelashes and change one of the values to clip I don't know if that's right if I'm getting rid of something by setting clip up to 100 percent but it does make the whites of her eyes show…. If this isn't an error can you let me know the best way to navigate this…only if you dont add functionality to automate setting these to Alpha clip…. Is there some sort of instance I could latch on to like maybe I could just always set alpha clip on all eye texture on import when I detect a certain circumstance

  3. Joe Morris @ FAST Animation Studio Toolz reporter

    And this is off topic but I've been looking everywhere do you guys know where to get her hair?? I've been searching everywhere for it it's like the most awesome hair.

  4. Joe Morris @ FAST Animation Studio Toolz reporter

    I really appreciate it she reminds me of an old girlfriend With that hair…. Any idea about the mirrored eyes….a fine tuned approach…would be very awesome

  5. Alessandro Padovani

    importer 1.7.4.2029, blender 4.0.2

    I don’t notice any artifact here everything renders fine, tried both bsdf and extended principled. May be the issue is related to some custom code in your version of the addon, iirc you changed something to fit the solid mode.

    my steps:

    1. in daz studio export Xue with her materials
    2. in blender import with bsdf or extended principled then render

    p.s. Then Xue doesn’t have eyemoisture or cornea textures apart a little bump, unless again this is related to your custom code.

    p.p.s. In eevee there may be some issues related to screen space, as usual some overscan is needed that’s disabled by default. @Thomas we may add some overscan as minimum render settings, as 10% or 20% for example.

    https://docs.blender.org/manual/en/latest/render/eevee/render_settings/film.html

  6. Joe Morris @ FAST Animation Studio Toolz reporter

    Well actually I took into account it might have been my add-ons code so before even posting a message I imported with easy import DAZ default settings….. I'll make a video I don't know if I have a character that I made edits to or a different material on her eyes...

  7. Alessandro Padovani

    I’m afraid a video will not be so much useful. You can attach a test scene in duf format, as simple as possible, referencing the content if you grabbed materials from another figure.

  8. Alessandro Padovani

    Your test scene renders fine here, I can’t see any issue with the eyes. Also the scene doesn’t get any moisture or cornea textures, so I don’t understand what you’re talking about when you tell you have to fix them.

    A possible issue is that you may have a corrupt daz content folder, so the figure doesn’t load correctly on your side. In this case you should get errors in the daz log.

  9. Joe Morris @ FAST Animation Studio Toolz reporter
    Loading DAZ Importer v 1.7.4
    DAZ loaded
    Register DAZ Importer
    Load settings from C:/Users/W/Documents/DAZ Importer/import_daz_settings.json
    
    Loading C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\FAST\daz_studio_bak\BumpedIntoBase_Shiloh hair\BumpedIntoBase.duf
    Parsing data
    Preprocessing...
    Fitting objects with dbz file...
    Building objects...
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\FAST\daz_studio_bak\BumpedIntoBase_Shiloh hair\BumpedIntoBase.duf" loaded in 5.350 seconds
    WARN (bpy.rna): C:\Users\blender\git\blender-v400\blender.git\source\blender\python\intern\bpy_rna.cc:1349 pyrna_enum_to_py: current value '0' matches no enum in 'Scene', 'Scene', 'DazMorphCatsContent'
    WARN (bpy.rna): C:\Users\blender\git\blender-v400\blender.git\source\blender\python\intern\bpy_rna.cc:1349 pyrna_enum_to_py: current value '0' matches no enum in 'Scene', 'Scene', 'DazMorphCatsContent'
    
    Unsupported or partially supported shaders found:
      support/DAZ/Uber/shaderDefinitions/surface/omUberSurfaceDef.dse
    
    Apply transforms
    Transfer to clothes
    Transfer to face meshes
    Main character: True
    Merge rigs
    Merge materials
    Apply transforms
    Transfer to clothes
    Transfer to face meshes
    Make all bones posable
    Make All Bones Posable completed in 0.1 seconds
    File C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\FAST\daz_studio_bak\BumpedIntoBase_Shiloh hair\BumpedIntoBase.duf loaded in 6.043 seconds
    

  10. Alessandro Padovani

    I mean the daz studio log: help > troubleshooting > view log file. One test you can do is create a fresh content folder installing only G8 and Xue. Anyway, this issue is on your side and we can’t reproduce it.

  11. Alessandro Padovani

    Ok, in the daz studio materials where do you see the moisture and cornea textures that you fix in blender ? Because, again, in your test scene there’s none, so none is imported. It is impossible that the importer creates textures which don’t exist on the daz side, unless it is a modification in your custom code for the solid mode, or some corrupted daz figure in your library which overwrites G8.

    p.s. In your daz log there’s a conflict on the “cheeks size” morph for Rarestone and Mjoe , there’s also various errors on Xenic’s “musculature”, but these shouldn’t affect the issue you’re reporting here. There’s possibly other errors I have no time to look at the entire log. Again, you may want to try with a fresh library installing only G8 and Xue.

  12. Joe Morris @ FAST Animation Studio Toolz reporter

    OKI installed Genesis 8 starter essentials in my public my daz library folder and that's The One I never use so it was empty and I installed XUE in there too removed all my base directories from inside DAZ except this one...and added the character and then went into blender after saving it and imported with easy import DAZ and the same thing the eyes are still mirrored in EVEE render mode… And I mentioned before but just wanted to reiterate that every time this has been with my add on disabled just using your interface only and I never thought to include screenshot of my settings ,,,,this should be default settings…

    And to answer your first question the cornea and the eye moisture textures were definitely in blender because I specifically selected them and turned alpha clip on for both drop down boxes and set the clip threshold to one and that's how I was able to see the whites of her eyes and her eyes to look good….. And the Cornea and eye moisture we're on the main body you were asking where I see them and they were on the main body I just had to click on that and scroll down until I saw them in the material section….. The materials work in IRAY in DAZ you can see her eyes right…. And then dazz studio in case you meant where do I see them in DAZ studio materials…. they're under the surfaces tab in the drop down.

    …here's my entire my daz library… That I made up for this…. Because if I'm using your add on as the only installed add on in blender with default settings and you're doing the same and we're both using the same folder in theory it should work I don't know if you made upgrades to your ad on recently but the only next thing we could really do I guess is compare the D a Z and add on version numbers...

    https://drive.google.com/drive/folders/1NQjFbReJEIBdlIp-SJ3InX7WGlnW-C_9?usp=sharing

  13. Joe Morris @ FAST Animation Studio Toolz reporter

    And I forgot to say every time I import I'm getting the unsupported or partially supported shaders found message box that comes up..

  14. Joe Morris @ FAST Animation Studio Toolz reporter

    "/g%3a/my%20drive/diffeo/test%20scene%20xue.duf#EyeMoisture":
    <UnbuiltMaterial /g%3a/my%20drive/diffeo/test%20scene%20xue.duf#EyeMoisture r:None g:None i:False t:False>

    "/g%3a/my%20drive/diffeo/test%20scene%20xue.duf#Cornea":

    <UnbuiltMaterial /g%3a/my%20drive/diffeo/test%20scene%20xue.duf#Cornea r:None g:None i:False t:False>

    And I get these in the importer file in documents not sure what they mean but itmight be relevant

  15. Alessandro Padovani

    1.7.4.2029 is good. I get those “unbuilt materilas” too if I set the verbosity to 4, but they seem harmless everything renders fine here. With verbosity 2 there are no errors. No idea what “unbuilt materilas” is, perhaps @Thomas Larsson can help here.

    I understand for moisture and cornea “texture“ you mean the material, there’s no textures there. The default for eevee is “alpha hashed“ with “screen space refraction“, while you set it to “alpha clip“. I have no idea why “alpha hashed“ doesn’t work for you, be sure that refraction is active for eevee.

    note. If you use a AMD card for the viewport, then depending on the card and the driver there may be artifacts. Unfortunately AMD is notorious for bad drivers so eevee may not work fine on AMD cards especially for transparency, I guess the same could be for Intel, while nVidia is usually good.

    Can you post a picture of your eevee render to show the artifacts you see in the eyes ?

  16. Joe Morris @ FAST Animation Studio Toolz reporter

    OK that's what the issue was I just figured it out OK with default settings it is alpha hashed and screen space reflections = on

    but you know it's important to set the Output property for refraction to on too so that's What it was I didn't have that on…... yeah people could be using your add-on and get to render mode and not know that II would just flip that property on on import myself unless you're working on really big scenes that won't be an issue… Then whenever you import a character and go into render mode it'll look good…. I really appreciate the help on this

  17. Alessandro Padovani

    The eevee settings are checked on import by the addon and you get a warning if they’re not good enough. Same for cycles. I see in the global settings you have render settings to “update“ so the addon should set refraction by default. Unless you turned it off yourself.

  18. Joe Morris @ FAST Animation Studio Toolz reporter

    So I adjust those in global settings what's the specific name of the setting.. I don't see anything that really looks like it would set refraction settings

  19. Alessandro Padovani

    It’s render settings to “update“, you already have it, if the picture you posted is correct.

  20. Log in to comment