soupday / cc_blender_tools

Add-on for Blender, for importing and auto-setup of character creator 3 & 4 and iClone 7 & 8 character exports into Blender.
GNU General Public License v3.0
427 stars 80 forks source link

Eevee Shader transparent, Rigify doesnt recognize character #139

Open Gardan94 opened 1 year ago

Gardan94 commented 1 year ago

Hi! I just installed this Addon, the latest version. I exported an only slightly altered example-project from CC4 (Camile one) as FBX with InstaLOD active for Texture merge. When I "Import Character" I get a brief error message (attached), than it imports the character. In Eevee however the merged material is transparent even though the material node looks just fine (in Cycles material looks better). Other than this, the whole panel doesnt appear to recognize a Character. Rigging & Animation tab, that I needed, shows "No Current Character!".

Please send help :)

2023-03-07 21_57_49-Window grafik

soupday commented 1 year ago

Your color space config doesn't have Non-Color.

Are you using Agx? (https://github.com/sobotka/AgX/blob/main/config.ocio) (Though there is an alias for Non-Color in the Agx config so it should have worked)

I'll update it to try some alternatives: i.e. "Linear", "Linear BT.709" or "Raw" instead of "Non-Color" if it fails.

Gardan94 commented 1 year ago

Ok, it blows my mind a bit, to realize that you are the same guy, who has done the Agx thing :D Completely unrelated in my head xD I'm a concept artist, so I just blindly followed the recommendation for Octane render, since it looked better. This Blender here is a regular one though.

I tried different options in Color Managment menu. Nothing seems to improve the material in Eevee. Is Agx the reason the plugin won't recognize the Character to rig though? That seems to be oddly unrelated :D

Thanks in advance for your time!

grafik

soupday commented 1 year ago

No, that's not me. I just linked to it to see if you were using it.

Different colour spaces break Blender add-ons because they remove the expected colour spaces for sRGB or Non-Color textures. So when the add-ons try to set, say a roughness texture to Non-Color data it fails because there is no colour space for it. So I have to catch these errors and then try something else and hope it works.

I can easily detect if OCIO-ACES is in use because it sets the display device to "ACES", but AgX doesn't.

I've updated the release to try some AgX fallbacks if it fails to set the colour spaces. Namely Non-Color -> Linear BT.709.

See if that works.

soupday commented 1 year ago

But also if you're using the octane renderer it might not work with the materials as set up by the add-on.

Gardan94 commented 1 year ago

Alright, I redownloaded the same version and reinstalled - sadly same thing :( I reinstalled the Blender native ocio file and yes, everything works fine with it, even the rig functions perfectly. Octane has another way to rewrite existing color space in its preferences. So its fine. Also yes, I have to rebuild the shader anyways, but its easy in Octane since its already PBR