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

imported characters have head material black, because Vcol error #245

Open loicbramoulle opened 1 week ago

loicbramoulle commented 1 week ago

the Vcol are not there on the body mesh, only one named Attribute:

image image image in Blender 4.1, latest addon & plugin.

loicbramoulle commented 1 week ago

it might because of this bake being ON ? image

soupday commented 1 week ago

There are no vertex colours in the body mesh. Only hair meshes have vertex colours as far as I know.

What am I even looking at here. This is not a material that this add-on creates.

loicbramoulle commented 1 week ago

I don't know how but it is the head material, it did this twice, but when I tried to not tick the Bake checkbox I think that's when the head didn't go black / Vcol. might be something else, but I didn't touch anything in blender, just imported.

soupday commented 1 week ago

Baking the hair and skin just changes the textures, nothing changes shader-wise, nor does it do anything with vertex colours.

I can honestly say I have no idea what's causing that.

That is a very deliberate node structure so something is creating it and replacing the socket links on the BSDF node, and it's doing it after this add-on creates and builds the materials. So it must be something that is actively monitoring the materials and changing them on the fly. But this add-on does not in any way do this or make nodes like that.

Have you enabled any new add-ons recently?

loicbramoulle commented 1 week ago

Thanks, very mysterious indeed, I only used the 3dCoat applink, to send the body mesh, so no reason it would touch the material and it wouldn't do Vcol nodes. It's not a real issue anyway, I just reported it as it happened twice in a row, but much likely it somehow happened after the pipeline addon imports the character, as you said. I will update if I find the source, but re-importing worked fine, and can even probably be fixed by hand very fast.

I have a few remarks and questions about the pipeline, I'm using it again now as I saw this really cool V2, I used it when Reallusion contracted me to this short animation & breakdown: https://www.youtube.com/watch?v=dMW4eSjd5Pw Is there any way to exchange with you as a user ? Thanks a lot for the work in any case !!