Profile Picture

Blender Auto Setup

Posted By Victor.Soupday 3 Years Ago
Rated 4.8 stars based on 17 votes.
Author
Message
Victor.Soupday
Idea.png
Victor.Soupday
Posted 3 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 539, Visits: 7.8K
CC/iC Blender Tools 2.1.3
Github:     
Online Documentation:     
Blender Auto Setup Add-on:     
CC/iC Blender Pipeline Plug-in:     

Product Page
Documentation
Release Version
CC4 / iC8 Version
CC3 Version
Release Notes




Changelog:

2.1.3
  • Motion Set UI errors fixed.
  • Eevee-Next SSR Eyes fixes.
  • Iris brightness render settings for Eevee & Cycles.
  • Bake fixes for Blender 4.2 refractive eyes.
  • Export-Bake warnings when not build for Eevee.
  • Lighting tweaks.
2.1.2
  • Blender 4.2 lighting settings fixes and adjustments.
    • Eevee-Next Raytracing, shadows and shadow jitter enabled on render settings and lights.
    • Blender 4.0+ lighting presets use AgX.
  • Eevee & Cycles global material options.
    • Control of SSS weights, roughnes power and normals for various material types.
2.1.1
  • Fix UDIM flattening on proportion editing and sculpt base mesh transfer.
  • Lighting sync area correction.
  • Datalink plugin version compatibility check.
2.1.0
  • Motion Sets:
    • Action name remapping and retargetting overhaul.
    • Motion set functions: Load/Push/Clear/Select/Rename/Delete
    • Motion prefix and use fake user option added for all animation retargeting and import.
    • Motion set filter and motion set info function.
  • NLA Tools:
    • NLA Bake functions moved to NLA editor panel.
    • Motion set panel in rigging and NLA editor and Datalink.
    • NLA strip alignment and sizing utility functions.
  • Fixes:
    • Duplicating character no longer duplicates actions.
    • Store object state checks objects/materials exist.
    • Positioning fixes with rigify
2.0.9
  • Datalink:
    • Datalink main loop stability improvements.
    • Live sequence back to CC4/iClone takes facial expression bone rotations into account.
    • Live Sequence stop button.
    • Replace mesh function: Quickly send (non topology changing) mesh alterations back to CC4.
    • Update material & texture function: Send selected material data and textures back to CC4.
    • Sync lighting recalculations.
  • Export:
    • Restores armature and object states after export.
    • Fix to baking custom Diffuse Map channel.
  • Fix to Blender 3.4-3.6 Eevee subsurface color.
  • Material Parameter controls disabled for linked characters (unless library override).
2.0.8
  • Import/Export:
    • Fix to Update Unity Project being greyed out after saving as Blend file.
    • Fix to export non-standard character.
    • Fix to export non-standard ARP rigged character.
    • (Blender 4.0+) Fix to reverting object and material name changes on export and other force name changes.
    • Generic character/prop import expanded to support USD/USDZ.
    •  Rigify export now have choice of naming system:
      • Metarig names (without Root bone) for exporting animations back into CC/iC.
      • CC Base names (with Root bone) for exporting to Unity Auto-setup.
    • Rigified characters/motion exports now generate custom HIK profile which can be used to import/convert Rigified motion exports into CC/iC.
    • Datalink Rigified characters (optionally) disable tweak bones as they are not compatible with CC/iC animation.
  • Scene tools:
    • Scene lighting presets overhauled.
    • Added function to align any object to view location and orientation (useful for placing lights and cameras).
    • Added function to add a camera at current view location and orientation.
    • Added function to setup a main face tracking camera centered on character's head.
    • Added function to convert current view studio lighting into world lighting node setup.
  • Rigify:
    • Fix to GameBase detection.
    • Fix to AccuRig generation code not being recognized as valid Rigify target.
    • Fix to support Mixamorigs with suffix numbers in retargeting.
    • Auto-retarget toggle added to automatically retarget any animation on character when using Quick Rigify.
  • Shaders:
    • Skin, eye and hair shaders updated to use Blender 4.0+ Random Walk (Skin) Subsurface Scattering.
    • Displacement map (if present) will be used on skin materials for bump and mesh displacement.
    • Cycles subsurface calculations and parameters tweaked.
    • Separate cycles modifiers for Blender 3.4-3.6 and 4.0+.
    • Eye Sclera color tint added.
    • Cycles Tearline shader reworked.
  • Character Management
    • Character edit function added.
    • Character duplicate function added (duplicates character objects and meta-data so can be used and configured independently).
    • Character tools (select/rigify/convert/delete/duplicate), also sub-panel in Datalink.
    • Convert to accessory fix.
  • Datalink:
    • Added Receiving prop posing and animation live sequence.
    • Added custom prop rig control bones when sending through datalink.
    • Added Direct Motion Transfer from CC/iC (automatic motion export->import).
    • Added "Go iC" button to send (just props for now) back to iClone.
2.0.7
  • Attempts to restore datalink when reloading linked blend file.
  • All returning datalink operators will attempt to first reconnect if not connected.
  • Facial expressions included in datalink send pose and sequence. (But not visemes)
    • Currently certain expression bone movements are conflicting with existing bone movements.
    • You may wish to avoid the Head_Turn expressions as a consequence.
  • Character Proportion editing mode added to CC/iC Create panels.
  • Spring bone hair binding will add an armature modifier for the hair object if absent, to allow binding for newly created hair mashes.
  • Scale body weights now acts on the normalized existing hair weights.
2.0.6
  • Restored Rigify retarget limb correction utilities.
  • Fix to Blender 4.1 import crash caused by 4.1 removing auto-smoothed normals.
2.0.5
  • Fix to converting generic objects to props.
  • Fix to baking value textures back to CC4 when exporting converted props and humanoids.
  • Datalink data send rate synchronization improvements.
  • Rigify retarget and NLA bake options to bake to FK/IK/Both.
    • Rig FK/IK mode set appropriately, unchanged when baking to 'Both'.
  • Quick FK/IK switch button added to rigify mini-panel.
  • Send Rigified pose or sequence fix.
  • Rigify Jaw alignment changed to -Z.
2.0.4
  • Linking/Appending:
    • Added linking/append functions to auto-link to characters in blend files with full character data and functionality.
    • Added connect function to re-build character data for linked/appended characters.
    • Added custom properties to armatures/meshes and materials to aid re-connection of character data.
    • Rebuilding materials will add this custom data to existing characters.
    • Auto-linked/Re-connected characters can use full add-on functionality i.e. rigging, retargeting, exporting, rebuilding materials, etc...
  • Rigify:
    • Datalink pose retargeting teeth position fix.
    • Eye bone and jaw bone alignments corrected.
    • Face rig jaw constraints adjusted for less lip deformation.
  • Parallax eye shader AO fix.
  • Basic materials SSS fixes.
  • Importing a bad or incompatible mesh should fail more gracefully.
2.0.2
  • Datalink:
    • Lighting and Camera sync.
    • Send Character (Go-CC) back to CC4.
    • Facial expressions and Visemes transferred in the pose and animation sequencing.
    • Animation sequence now writes to rig and shape-key action tracks directly using low level fast keyframing, all at once at the end. Which is much faster, for both native rig and Rigify rig.
    • Sequence rate matching so CC4 doesn't get too far ahead of itself.
    • Supports Morph editing and mesh updating for sending back morph OBJ for automatic morph slider creation in CC4.
  • Subsurface Recalculations (you may need to reset the preferences in the add-on prefs)
  • Export of Hue, Sat, Brightness params to CC4.
  • Fixed SSS material detection.
  • Fixed ActorBuild generation detection and export.
  • HIK and facial profiles copied with character export (if generated by CC4)
  • OBJ import/export fix for Blender 4.0.
  • OBJ import now supports full materials.
  • Fixed T-pose orientation when exporting Rigified animation.
2.0.2
  • Correction to malformed json texture paths when exporting character from CC4 directly to the root of a drive.
  • Disabled image search on FBX importer, should import a little faster now.
2.0.1
  • VRM import fixes.
    • VRM to CC4 export generates HIK profile for auto characterization.
  • Rigify fixes:
    • Face bone roll axis corrections.
    • Tongue bone meta-rig positioning corrections.
    • Teeth bone retargeting corrections.
2.0.0
  • Blender 4.0 support.
  • WIP Experimental Data Link added:
    • Currently in alpha stages, more a proof of concept at the moment.
  • Bake add-on updated and merged into this project.

Original Post

Setting up the materials in Blender was becoming quite time consuming and it's way to easy to make mistakes so a few weeks ago I thought I would try and speed it up with some python scripting as I'd written a few python scripts for Blender years ago and they weren't too terrible.

Over time I got entirely too carried away with it and my little helper script grew into a full blown add-on with a UI and import/export functions and such. As I have a tendency to keep building and building and never really finishing with these types of projects they usually never see the light of day and end up collecting dust in some darkened corner of my hard drive, so I'm releasing it now and if anyone is interested they can try it out and see if it's any use to them.

For the moment this is mostly for setting up materials, but I've made a start at importing / exporting for character morphs and accessories which works(ish), but needs specific export settings from CC3, which are outlined in the readme.

I must stress this is very much an alpha version and still work in progress. It's Blender and it's running my janky code so expect bugs. It works they way I use it, so far, and with the character exports I have tested it with, but any expected conditions could cause it to go wrong.

This is for Blender 2.83+. Tested in 2.83 and 2.92, 3.0, 3.0.1 and 3.1

And I've made a quick demo video of installing and testing the add-on with some cheesy music:

Edited
8 days ago by Victor.Soupday
Victor.Soupday
Victor.Soupday
Posted 3 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 539, Visits: 7.8K
Rendering
A quick rendering test video using the add-on to quickly render a character:


And this is the rendered image from the video:
https://forum.reallusion.com/uploads/images/26d1e6f5-5815-4b49-bfa2-3ff8.png

Character Morphs
And here's a quick demo of using the add-on to help create character morphs:


Edited
3 Years Ago by Victor.Soupday
4u2ges
4u2ges
Posted 3 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (21.2K reputation)Distinguished Member (21.2K reputation)Distinguished Member (21.2K reputation)Distinguished Member (21.2K reputation)Distinguished Member (21.2K reputation)Distinguished Member (21.2K reputation)Distinguished Member (21.2K reputation)Distinguished Member (21.2K reputation)Distinguished Member (21.2K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 5.1K, Visits: 16.1K
This is simply amazing! Your plugin is probably a prototype of what people have been asking for a long time. A link to Blender from RL suite.
Great job with material controls! Thanks.
I use Blender for modeling mostly and I am lousy when it comes to setting up environment, materials, lights, cameras... etc.
So I followed your tutorial straight. In 15 minutes I got this (out of which I was looking for Render button for whole 1 minute w00t)
I barely touched any material controls - almost default (just subdivided the mesh).

https://forum.reallusion.com/uploads/images/ae483434-d455-41b4-baaa-26a7.jpg






Edited
3 Years Ago by 4u2ges
animagic
animagic
Posted 3 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (32.9K reputation)Distinguished Member (32.9K reputation)Distinguished Member (32.9K reputation)Distinguished Member (32.9K reputation)Distinguished Member (32.9K reputation)Distinguished Member (32.9K reputation)Distinguished Member (32.9K reputation)Distinguished Member (32.9K reputation)Distinguished Member (32.9K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 15.8K, Visits: 30.9K
This is indeed great for those that are not Blender experts (like me) and want to try rendering in Eevee, for example.

Material conversion from CC to an external application is one of the most baffling subjects to master, so this will be very helpful. If I have some time I'll try it out as well.


https://forum.reallusion.com/uploads/images/436b0ffd-1242-44d6-a876-d631.jpg

Anna Mironova
Anna Mironova
Posted 3 Years Ago
View Quick Profile
Veteran Member

Veteran Member (837 reputation)Veteran Member (837 reputation)Veteran Member (837 reputation)Veteran Member (837 reputation)Veteran Member (837 reputation)Veteran Member (837 reputation)Veteran Member (837 reputation)Veteran Member (837 reputation)Veteran Member (837 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 63, Visits: 1.1K
Wow! Thanks a lot for great addon!
rosuckmedia
rosuckmedia
Posted 3 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (9.1K reputation)Distinguished Member (9.1K reputation)Distinguished Member (9.1K reputation)Distinguished Member (9.1K reputation)Distinguished Member (9.1K reputation)Distinguished Member (9.1K reputation)Distinguished Member (9.1K reputation)Distinguished Member (9.1K reputation)Distinguished Member (9.1K reputation)

Group: Forum Members
Last Active: Last Month
Posts: 3.2K, Visits: 4.8K
@Victor.Suopday
WowSmileSmile that's great
Many Thanks
My first Test.
https://forum.reallusion.com/uploads/images/39992684-46df-4ecd-b6c3-5c77.png
Greetings rosuckmedia
Edited
3 Years Ago by rosuckmedia
AutoDidact
AutoDidact
Posted 3 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 2.0K, Visits: 12.8K
This is truly amazing!!
Although it only partially works with Daz converted skin maps
it is not a problem as I have already become familiar with manually  plugging the CC3 skin resources into the principled shader .
still this will save me alot of time bringing  in Standard CC3 characters for my web series currently in production
Thank you for this!!



RAG DOLL COLLISION ANIMATIONS FOR ICLONE 8 & 7
---------------------------------------------------------------------------------------------------------------------
Ghost Origins
My latest Feature length film created with Iclone.
https://forum.reallusion.com/uploads/images/adf9b210-df59-4cb6-aa1b-9de5.jpg


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

Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)Distinguished Member (5.5K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 539, Visits: 7.8K
I'll have a play with Daz conversion, see what it's doing differently to base CC3 characters.
AutoDidact
AutoDidact
Posted 3 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)Distinguished Member (5.6K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 2.0K, Visits: 12.8K
Hi ,just FYI I only used texures converted from the earlier versions of genesis 2-3 as I left the Daz figure eco system entirely after migrating to Blender in April 2020
The ,main issue  I am having is the eyelashes not loading the opacity maps nor are the face micro normals working as far as I can tell.
 
I do it manually with my regular FBX imports from CC3
and even made my own custom SSS scattermask for the CC3 base male &Female
At any rate your addon is still a great speed enhancment to my Iclone to Blender pipeline for CCS native skin setups
Thanks !!!



RAG DOLL COLLISION ANIMATIONS FOR ICLONE 8 & 7
---------------------------------------------------------------------------------------------------------------------
Ghost Origins
My latest Feature length film created with Iclone.
https://forum.reallusion.com/uploads/images/adf9b210-df59-4cb6-aa1b-9de5.jpg


oonabe
oonabe
Posted 3 Years Ago
View Quick Profile
Veteran Member

Veteran Member (873 reputation)Veteran Member (873 reputation)Veteran Member (873 reputation)Veteran Member (873 reputation)Veteran Member (873 reputation)Veteran Member (873 reputation)Veteran Member (873 reputation)Veteran Member (873 reputation)Veteran Member (873 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 79, Visits: 1.4K
wow, this is great, I've been just testing it a little bit and it really saves a lot of time when importing CC3 cahracters into Blender then having to set up all the textures again to work properly, thanks for sharing this.

It seems to work nicely when importing characters, anyways I noticed that importing a character into an existing blender file the process deletes my current cameras in blender, not sure if this happens because I'm using an add-on for my cameras or if it's due to the import process using your tool, anyways thanks for sharing it, I'll try to post some renders I'm working on now too

Edit: my bad, I just saw there are two buttons to import characters, using the lowe one kept my current cameras in the blend file, this is really great, I hope you continue developing this add-on and if you are thinking to sell it on blendermarkt or gumroad I would be glad to support you by purchasing it since I don't think I can really help developing the tool itself

Edit 2: unfortunately the second import option doesn't have all parameters set, skin is not showing micronormals and similar stuff, so I tried using the first import button again and as before, my already set cameras are gone as well as the lights, am I missing anything here?
Edited
3 Years Ago by oonabe



Reading This Topic