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
446 stars 80 forks source link

wrinkles not show up form IC 8.2 FBX #131

Open MOTO4GIT opened 1 year ago

MOTO4GIT commented 1 year ago

import the FBX form ICLONE 8.2 and the wrinkles did not show up and the eye material got the wrong SSS setting which makes the eyes look black like they have been cursed

20230228_014402
soupday commented 1 year ago

Set the build target to Cycles in the Character Build Settings panel. Cycles and Eevee need very different SSS settings.

What version of the addon is it? Wrinkles should show up in in version 1.5.4.

MOTO4GIT commented 1 year ago

20230228_123803

Set the build target to Cycles in the Character Build Settings panel. Cycles and Eevee need very different SSS settings.

What version of the addon is it? Wrinkles should show up in in version 1.5.4.

I am using 1.5.4 and I have rebuilt the materials and clicked the cycles setting button on the plugin menu, the wrinkles are still missing, but the eyeball materials are fixed, and the eye bone problems I mentioned in another thread were fixed after I rolled the plugin back to the 1.5.3 and reinstalled the 1.5.4, it was fixed and I noticed when the eye bone was glitched the last time, my FBX was recognized as G3 model, not G3plus, and after the reinstallation of 1.5.4, it was being recognized correctly as G3plus, everything are fine now but the wrinkles. Any suggestions?

soupday commented 1 year ago

The only condition that blocks the wrinkle maps being set up is if there is no "Wrinkle" data for the head material in the json file. (Which would mean the wrinkle maps aren't being exported).

See if the "Wrinkle" key exists in the exported .json file it should be inside the "Std_Skin_Head" data.

Also look for some of the wrinkle map textures in the character texture folders: (The head material textures should be in: textures/<character_name>/<character_name>/CC_Base_Body/Std_Skin_Head/

look for Std_Skin_Head_Wrinkle_Diffuse1.jpg or Std_Skin_Head_Wrinkle_Normal1.png

If they don't exist in the texture folders or the wrinkle data is missing from the json, then the wrinkle maps didn't export correctly.

soupday commented 1 year ago

Also what does the Std_Skin_Head material look like?

It should look like this all setup correctly:

headmat

The node with all the purple is the wrinkle map system.

MOTO4GIT commented 1 year ago

the wrinkle textures are in place but there's no "wrinkle" keyword found in the json file, I've tried exporting via ICLONE 8.2 and via the latest version cc tool plugin from CC4.2 , but they both didn't write the wrinkle information in json file, what should I do.

And my shader does not look like yours at all, which part I've done wrong?

屏幕截图_20230228_131658 屏幕截图_20230228_132510
MOTO4GIT commented 1 year ago

And there's another glitch in CC4.2 that might have been related to my problem. when you import an FBX file with wrinkle enabled that was just exported via the cc tool plugin, the plugin says no json file found, but the json file is actually there, and you can import the FBX manually from the CC file menu and select the json file manually. But if you make the FBX file go through blender once and export via the addon, the cc tool plug-in will recognize this json file automatically.

屏幕截图_20230228_141425
MOTO4GIT commented 1 year ago

the CC4.2 default character Camila has the proper wrinkles settings in the blender, but why my customized character doesn't? they are both G3plus character and both using CC4 EXTENDED facial profile

屏幕截图_20230228_153331
soupday commented 1 year ago

And there's another glitch in CC4.2 that might have been related to my problem. when you import an FBX file with wrinkle enabled that was just exported via the cc tool plugin, the plugin says no json file found, but the json file is actually there, and you can import the FBX manually from the CC file menu and select the json file manually. But if you make the FBX file go through blender once and export via the addon, the cc tool plug-in will recognize this json file automatically.

That might be because, if there is no working JSON data for the character the add-on will create a new one (based on the default values) when exporting.

So the Json data is corrupted? I have a character that does that: Works fine in CC/iC but when exported, the Json data file is there but it's incomplete, it cuts out abruptly after about 100 or so lines.

So... I need to show some kind of warning message that the data is corrupted and needs to be fixed.

MOTO4GIT commented 1 year ago

And there's another glitch in CC4.2 that might have been related to my problem. when you import an FBX file with wrinkle enabled that was just exported via the cc tool plugin, the plugin says no json file found, but the json file is actually there, and you can import the FBX manually from the CC file menu and select the json file manually. But if you make the FBX file go through blender once and export via the addon, the cc tool plug-in will recognize this json file automatically.

That might be because, if there is no working JSON data for the character the add-on will create a new one (based on the default values) when exporting.

So the Json data is corrupted? I have a character that does that: Works fine in CC/iC but when exported, the Json data file is there but it's incomplete, it cuts out abruptly after about 100 or so lines.

So... I need to show some kind of warning message that the data is corrupted and needs to be fixed.

I posted the solution thread above, maybe it can help you to figure out the real cause.

soupday commented 1 year ago

It's a problem with the character file in character creator itself. Even removing everything from the character and just leaving the body mesh, the Json data is still corrupted.

Each time it seems to cut out writing the collision shape data for CC_Base_NeckTwist01, so maybe the problem is bad collision shapes. I'll try rebuild the collision shapes and see if that fixes it.

soupday commented 1 year ago

It worked!

MOTO4GIT commented 1 year ago

It worked!

good to hear that and hope my threads helped you. And many thanks to your addon that made my own film possible. You are AWESOME!!