English


Profile Picture

Blender Auto Setup

Posted By Victor.Soupday 4 Years Ago
Rated 4.8 stars based on 17 votes.
1
...
14
15
16
17
18
...
58

Blender Auto Setup

Author
Message
4u2ges
4u2ges
Posted 4 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)

Group: Forum Members
Last Active: Last Week
Posts: 5.3K, Visits: 16.6K
I am starting to sound like a broken record :), but IMO, RL should give you a hand and start collaborating.
I do not want to speculate on this one, but it seems you are all alone here in this battle (although they made this nice page and announced Blender pipeline).

There is a lot more involved with exporting from iClone/3DX compare to CC, where things are more uniformed with DHS.
On the other hand iClone has Python interface, which is a huge plus compare to CC.
So probably generating a separate helper file with shaders and other relevant/missing information (in addition to FBX) could solve a lot of problems... including characters export!  Just an idea...

I really appreciate your effort and think you are doing a tremendous job. Looking forward for a new "iClone" tab in Blender "N" panel ;):)




zen.parvez
zen.parvez
Posted 4 Years Ago
View Quick Profile
Veteran Member

Veteran Member (529 reputation)Veteran Member (529 reputation)Veteran Member (529 reputation)Veteran Member (529 reputation)Veteran Member (529 reputation)Veteran Member (529 reputation)Veteran Member (529 reputation)Veteran Member (529 reputation)Veteran Member (529 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 71, Visits: 1.5K
Anyone else getting such error with textures ? I had to go and manually fix every single pieces of the cloth everytime.75% of original size (was 671x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/36712bbb-30b0-45bf-8117-088a.png
oldnewusa
oldnewusa
Posted 4 Years Ago
View Quick Profile
Senior Member

Senior Member (308 reputation)Senior Member (308 reputation)Senior Member (308 reputation)Senior Member (308 reputation)Senior Member (308 reputation)Senior Member (308 reputation)Senior Member (308 reputation)Senior Member (308 reputation)Senior Member (308 reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 33, Visits: 297
actually looks cool =) 
Peter (RL)
Peter (RL)
Posted 4 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)

Group: Administrators
Last Active: Last Year
Posts: 23.1K, Visits: 36.6K
4u2ges (8/7/2021)
I am starting to sound like a broken record :), but IMO, RL should give you a hand and start collaborating.
I do not want to speculate on this one, but it seems you are all alone here in this battle (although they made this nice page and announced Blender pipeline).


Fear not. We have been collaborating with Victor for some time now. ;)


                                                                

Peter
Forum Administrator

www.reallusion.com


Victor.Soupday
Victor.Soupday
Posted 4 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 13 hours ago
Posts: 569, Visits: 9.0K
Pre-release Version 1.0.0
(Release Link)

Change-log:
  • Moved all shaders over to new shader model.
  • Streamlined parameter and shader code to be data driven, rather than hard coded.
  • Character, Object and Material parameters now stored independently for each character import.
  • Json data parser to automatically set up all shader parameters.

I'm calling this one a pre-release as major changes have been made to the code and it could really do with more testing, but so far it seems to be stable enough.

Edit: As such it still in the Dev branch of the repository. The main repository is still at 0.7.1. The add-on auto updater in the add-on preferences should also be able to you upgrade to 1.0.0.



As it turns out it is possible to generate a working JSON data file with CC3 to Blender. Which can then be used to automatically setup the material parameters of the character to reproduce (almost / nearly) the same appearance in Blender that you see in CC3 without any further user intervention.

To generate JSON data for Blender exports, you need to tick the Export JSON for Auto Material Setup and Unity Textures boxes.
75% of original size (was 671x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/7bd169cd-a7be-4f61-b797-0b97.png

(The Unity Textures options just adds a few extra Textures that Unity needs, but for Blender it forces the exporter to write a complete JSON data set for the objects and materials.)

Between this, the new shaders and instancing the material parameters per character and per material this meant major changes to the code affecting almost every function. Outwardly, though, it all looks and works almost exactly the same as before.


So what does this JSON data actually do?

It allows the add-on to setup the character fully as per what you would see in CC3, meaning you don't need to fiddle with the material parameters to make it look as it should anymore.

These example images show the character in CC3 and the result in Blender immediately after import:
Both characters have custom skin, eye and hair material settings and the hair materials are not baked on export. This would normally require quite a bit of time to recreate in the Blender material parameters,

75% of original size (was 671x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/bde35f63-aeba-4683-8cdd-5f7d.png

75% of original size (was 671x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/8c31a73d-c5b1-4a98-b2a0-df73.png

In addition to supplying the shader parameters the JSON data also contains all the texture mapping, offsets and tiling and supplies all the texture path information so that the add-on no longer has to guess where the textures are. This should mean that it resolves some of the strange texture problems that have been encountered: e.g. this and this, at least I hope so.

Also each character now keeps it's own material settings so you can import multiple characters and adjust them independently as needed.

As part of the new shaders, I have incorporated a more compatible with CC3/iClone PBR and SSS material shader with displacement nodes, though it remains to be seen if the displacement works as intended. I've also added a lot of the missing texture controls such as normal strength and opacity and emission to all the relevant shaders.

To do:
The new shader model allows much greater flexibility, so it should be possible to include Cycles specific material outputs. The hair and eyes in particular could do with Cycles versions of the shaders.

Notes:
It is not yet possible to generate JSON data for iClone exports to Blender.

Also with iClone it is best to export characters one at a time as there may be an issue I've noticed where materials with the same name overwrite each others textures on export. So two or more characters would overwrite each others skin, eye and hair textures.

Due to all the major changes it is unlikely to work with any existing character imports in Blend files. Characters will need to be re-imported to work with this new version of the add-on.

This is a pre-release version so if you have any major problems with it you should probably roll the add-on back to version 0.7.1.
4u2ges
4u2ges
Posted 4 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)

Group: Forum Members
Last Active: Last Week
Posts: 5.3K, Visits: 16.6K
Fear not. We have been collaborating with Victor for some time now. ;)


I certainly hope so Peter... because....

To generate JSON data for Blender exports, you need to tick the Export JSON for Auto Material Setup and Unity Textures boxes.


It is great for sure, but once this is done, character is exported for a one way trip to Blender only, as FBX key is not generated.
This is so unfortunate, because JSON file contains all materials and texture info for safely returning character back.

I hope it would be rectified in the following CC updates and JSON file could be generated without the need to tick Unity Texture (which is a source of the problem with FBX key for some reason).
And also character could be returned back without compromised materials integrity and with all Appearance Editor data intact, as I have already stated here




SioraFede
SioraFede
Posted 4 Years Ago
View Quick Profile
Junior Member

Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 10, Visits: 169
Hello, could you guys please help me? I am getting this error when I try to import a character from CC3.
I follow the import instructions (target tool 'blender', no embed textures, check delete hidden faces, check merge beard and brows and check bake diffuse).
It happens with both versions of the addon.
It was working perfectly on my previous laptop.
Thank you
75% of original size (was 671x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/78eea5f5-4265-4f5e-8366-8025.png
Victor.Soupday
Victor.Soupday
Posted 4 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 13 hours ago
Posts: 569, Visits: 9.0K
SioraFede (9/12/2021)
Hello, could you guys please help me? I am getting this error when I try to import a character from CC3.
I follow the import instructions (target tool 'blender', no embed textures, check delete hidden faces, check merge beard and brows and check bake diffuse).
It happens with both versions of the addon.
It was working perfectly on my previous laptop.
Thank you



I've seen this once before (here). The FBX importer in Blender is crashing because of missing UV data in the FBX export from CC3. And I'm not sure what causes this.

Are all the clothing items, body and hair meshes used in your character in CC3 up to date? Is it possible to reproduce this error by putting the same clothing/accessories/hair/eyes/teeth on a new character?

It could be anything causing it, it's just process of elimination to find it.
SioraFede
SioraFede
Posted 4 Years Ago
View Quick Profile
Junior Member

Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)Junior Member (158 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 10, Visits: 169
Hello, thank you for answering.
The character I tried to import was a custom one I made in CC3, both the software and content had the latest updates installed.
The clothes I applied were:
Biker_Vest
Biker_Jeans
Loose_Biker_Boots
which should come with CC3 itself as far as I remember.

I tried importing the standard female character that loads when you run the software, without clothing, and it loaded fine in blender, textures and all.
I tried again with the default character and full biker clothes (vest, pants, boots) and I received the same error of the previous post; I imported her with one different piece of clothing each time and only the vest gave the error.
The custom character didn't give any error when I removed the vest or applied a different type of garment.
Beard, hair and teeth were imported fine every time.
I guess the problem in my case was only with that particular biker vest.
4u2ges
4u2ges
Posted 4 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)

Group: Forum Members
Last Active: Last Week
Posts: 5.3K, Visits: 16.6K
Oh, that vest in CC has messed up UV and non importable into Blender in any form other than alembic.

75% of original size (was 671x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/22a09a19-ee5c-47ab-bd07-03c4.jpg

If you have an iClone you can grab one from Zane (that one is still good).
Otherwise a ticket needs to opened in FT for RL to fix it: https://www.reallusion.com/FeedBackTracker/product/Character-Creator-3





1
...
14
15
16
17
18
...
58



Reading This Topic

1 active, 0 guests, 1 member, 0 anonymous.