Profile Picture

Special Notice: CC Unreal Auto-Setup Plugin (Beta 2.0) Process Update

Posted By Miranda (RL) 5 Years Ago
Rated 3 stars based on 2 votes.

Special Notice: CC Unreal Auto-Setup Plugin (Beta 2.0) Process Update

Author
Message
Miranda (RL)
Miranda (RL)
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 1.8K, Visits: 11.2K
Introduction

The process of bringing an animated CC character into the Unreal Engine can be tedious.  This is exacerbated by the inordinate amount of time it would take to manually assign every material property, adjust texture settings, modify animation properties, model configuration, along with other complicated manual tasks.  In response, we are providing this plugin to trim your production time by automating the aforementioned idiosyncrasies.

Starting from Beta 1.0 released on 1/15/2019 till now, we have been working on updating the auto-setup procedure.  Now in Beta 2.0, besides using Unreal Digital Humans shader to up the ante on visual quality, we have also improved several parts of the auto-setup process (see the full release note).  The new procedure for Beta 2.0 is described in detail below.  Keep in mind, however, that the tutorial will not be updated.


Installation
  1. Make sure to match the version of the Unreal Engine you possess.  Currently, only 4.20 / 4.21 / 4.22 are supported.
  2. Go to the Plugins folder, copy the appropriate CC_Character_Auto_Settings_Unreal_x.xx_xxx_xx folder into the UE plugin folder.
    • For one time installation, copy the plugin into C:\Program Files\Epic Games\[UE_version]\Engine\Plugins directory.
    • For project level installation, copy the plugin into C:\Users\[User_Name]\Documents\Unreal Projects\[Project_Name]\Plugins.
  3. If you'd like to apply some custom shaders to improve upon the look of your project, you can copy the Content folder into C:\Users\[User_Name]\Documents\Unreal Projects\[Project_Name]\.


Related Information
Plugin Download & Update History

To download the Auto-Settings Plugin, and find the update history, please check HERE.

Edited
5 Years Ago by Miranda (RL)
Miranda (RL)
Miranda (RL)
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 1.8K, Visits: 11.2K
Step 1 - Export a FBX character from Character Creator 3
  1. Set the preset type to Unreal.
  2. Make sure to not activate Embed Textures as the plugin will automatically connect the material channels to the textures inside the export directory.
  3. Match the frame rate to Unreal Engine at 30 frames per second.
    *From CC v3.04 onward, the A-pose will be automatically included as the first motion for character retargeting when the preset type is Unreal.
https://forum.reallusion.com/uploads/images/aedca303-79ca-4e73-870c-b996.jpg

Miranda (RL)
Miranda (RL)
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 1.8K, Visits: 11.2K
Step 2 - Download and install the auto-configuration plugin
  1. Choosing the right plugin.
    • Check the Unreal Engine version number and choose the plugin version to match.
    • Make sure to not put more than 1 plugin inside the same directory -delete any preexisting plugins.
    • Currently, only version 4.20 and 4.21 of Unreal are supported.
      https://forum.reallusion.com/uploads/images/11db6b9e-e3a5-4df8-96fe-8b2c.png
      https://forum.reallusion.com/uploads/images/26e996f7-195c-4e89-83ec-f3ca.png

  2. Download and install the plugin.
    • The download location is as follows:
    • There are two ways to install:
      1. Put the RL plugin folder inside the Plugins folder for Unreal Engine.
        https://forum.reallusion.com/uploads/images/da899578-1389-4b6c-9cf6-4f30.png

      2. Put the RL plugin folder inside the Plugins folder for the specific U.E. project (make a new folder by the same name if it doesn't already exist). 
        https://forum.reallusion.com/uploads/images/a86483a7-1c13-4069-80c7-0402.png
    • For shaders, you'll have to add the Content folder to the directory for the specific Unreal Project.
      Note: the plugin will work as usual even without the content folder, except for the shader options which will be disabled.
      https://forum.reallusion.com/uploads/images/4dde46cc-01b3-44cd-b770-2427.png

  3. Initialize the Unreal Engine RL plugin and restart the application.
    • Open up Unreal Editor and browse the plugins list to enable the CC_Character_Auto_Settings plugin.
    • Restart the Unreal Editor after initializing the said plugin.
If the RL plugin folder is inside the Plugins folder for Unreal Engine:
https://forum.reallusion.com/uploads/images/90d9f695-5a97-4dcc-b7a9-42f7.jpg

If the RL plugin folder is inside the Plugins folder for the specific U.E. project:
 https://forum.reallusion.com/uploads/images/a42a3c82-3766-4892-a4f9-99d6.jpg

Miranda (RL)
Miranda (RL)
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 1.8K, Visits: 11.2K
Step 3 - Import the FBX file into the Unreal Engine

Import One Single FBX File

  1. Drag and drop the FBX character file into the Content Browser.  FBM and texture folders will be automatically assigned by the plugin upon import.
    Note: Make sure to have the character files reside in a specific parent directory in order to prevent conflicts from files with identical names.
    https://forum.reallusion.com/uploads/images/62463615-7b6c-488f-be89-f3bf.png

  2. Make sure that CC Setup is enabled, choose the desired material, and click on the Next button.  If the CC Setup is disabled then all subsequent processing for CC characters must go through the CC Setup button on the Unreal Engine toolbar. This is identical to the older procedure covered in the process of Plugin Beta 1.0 where users must first bring in the FBM file and textures and start the auto-setup process. This way of processing is also suitable for projects where the character already exists.
    https://forum.reallusion.com/uploads/images/a773aa76-c233-4b3c-97e4-0424.png
    *Related information: Shader Usage instructions

  3. Adjust the settings for the FBX import.
    • Pay attention to the following parameters:
      • Enable Skeletal Mesh.
      • Enable Import Mesh.
      • Select None for the Skeleton drop-down list.
      • Enable T0As Ref Pose.
      • Enable Import Morph Targets.
      • Select Import Normals and Tangents for the Normal Import Method.
      • Enable Import Animations.
      • Select Animated Time for the Animation Length.
      • Enable Use Default Sample Rate.
    • Import All supports multiple FBX files.  Since we are only importing one FBX file at a time in this guide, you can use either Import or Import All.
      https://forum.reallusion.com/uploads/images/ac13024f-2796-4598-8301-cae9.jpg

Import LOD Files
  1. Drag and drop the LOD 0 FBX file (with file name starting with 0_) into the Content Browser.  FBM and texture folders will be automatically assigned by the plugin upon import.
    https://forum.reallusion.com/uploads/images/8f6670ee-0701-4f73-876f-3451.png

  2. LW and HQ shaders are meant for base level geometry and not intended for LOD meshes, in which case, we recommend using the "Standard Shader".
    https://forum.reallusion.com/uploads/images/1ed1e77a-5fd5-421b-a734-c600.png

  3. Adjust the settings for the FBX import as what we do for single FBX file import.
  4. You will find the LOD characters have been set up automatically.
    https://forum.reallusion.com/uploads/images/0ae43144-dbde-4e2d-86f9-5466.png

Edited
5 Years Ago by Miranda (RL)
Miranda (RL)
Miranda (RL)
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 1.8K, Visits: 11.2K
Step 4 - Export the motions for the character from CC3
  1. If you need additional expressions or motions, you'll have to export them from Character Creator.
    • Export another FBX including as much motion as you want.
      https://forum.reallusion.com/uploads/images/1148f3ea-0555-4d52-93c1-12c1.png

  2. Take a look at Step 3 for drag and dropping the FBX character file into the Content Browser. If you are bringing a file to update the character motions, then you won't need to use the plugin; In this case, you can skip the CC Setup import options by pressing the Cancel button.
    https://forum.reallusion.com/uploads/images/f673b256-f816-4627-8698-2a1a.png

  3. Use the following configuration for the Unreal Engine import settings. Pay attention to the following parameters:
    • Deactivate Import Mesh.
    • Set the Skeletonto use the one from the previously imported CC character.
    • Select Animated Time for the Animation Length.
    • Enable Use Default Sample Rate.
      https://forum.reallusion.com/uploads/images/c26b5ee9-1f62-403e-9935-7962.png

Miranda (RL)
Miranda (RL)
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 1.8K, Visits: 11.2K
Step 5 - Initialize the plugin and setup the character

Currently there is not way to intelligibly assign the Blend Mode: Masked or Translucent. Therefore we recommend setting everything besides the eyelashes to Masked and only use Translucent for semi-transparent surfaces. 
https://forum.reallusion.com/uploads/images/c24878ca-abf9-4900-868b-a2d3.png

See this tutorial for more details: https://youtu.be/ZSBrR8L2lsA?t=565

Miranda (RL)
Miranda (RL)
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 1.8K, Visits: 11.2K
Three Shader Types & CC Shader Usage Instructions

The CC shader has 3 settings: Standard, LW and HQ shader.
https://forum.reallusion.com/uploads/images/01258f8b-e3ab-454a-baa8-d033.png
  • The Standard Shader is the default Unreal shader which is suitable for non-player characters.
  • LW Shader (lightweight shader) uses the Unreal Digital Human shader which is a light-weight shader at the UE Paragon game.  It makes improvements for the skin shader while staying efficient, making it suitable for sidekick characters.
    • Head & Body: LW shader
    • Hair, Eyes, Tongue, Teeth: LWHQ shader
  • HQ Shader (high-quality shader) uses the Unreal Digital Human shader which improves upon the appearance of the skin but at cost of system performance.  This shader is suitable for the playable characters.
    • Head & Body: HQ shader
    • Hair, Eyes, Tongue, Teeth: LWHQ shader

CC Shader Usage Instructions (take HQ Shader for head as an example):
  • You can find the desired material from the plugin's Skin Shader directory, turn it into a material instance, and move it to the CC_Auto_Setup_Material_Instances folder to replace the original set.
  • Edit the material instance and find the source material under General > Parent.
https://forum.reallusion.com/uploads/images/2385e861-9a1b-48ae-b421-e7b9.jpg

https://forum.reallusion.com/uploads/images/4f803484-7452-47ad-92c9-10b3.jpg

  • The plugin will assign the needed textures to corresponding channels.
  • Other channel textures have been made into a profile which the plugin will find within the CC_Shaders folder and does not need user input.
https://forum.reallusion.com/uploads/images/1b2b7d23-1455-4017-97a8-ff1e.jpg

  • On the top most portion of the Material Instance Editor, you will see several adjustable attributes. Here you have access to advanced settings such a color value, normal strength and reflectivity.
https://forum.reallusion.com/uploads/images/6290dc1f-83f4-4164-badc-43dc.jpg

  • You can switch materials at any moment by pressing on the CC Setup button on the top tool-bar.  
https://forum.reallusion.com/uploads/images/37293edb-51d1-4e9a-ac7d-cbcf.jpg

Edited
5 Years Ago by Miranda (RL)
Miranda (RL)
Miranda (RL)
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)Distinguished Member (62.8K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 1.8K, Visits: 11.2K
Important Considerations
  1. There is only full support for Character Creator 3 G1 and G3 characters with FBX being the primary format of exchange.
  2. Characters and motions should all be exported from Character Creator.  Be aware that characters processed directly from iClone or 3DXchange may need some manual re-assignments for motion re-targeting.
  3. Please process only one character at a time (including LOD), otherwise you may experience unexpected results.  For example, exporting multiple characters can lead to conflicts with identical texture names.
  4. Make sure to organize different characters into separate folders in Unreal Engine, otherwise there could be conflicts between the various assets with identical names.
  5. Avoid using reserved key words that are crucial for the plugin's proper operation.  These include the following: diffuse - ao - normal - metallic - roughness - glow - specular - transparency - hair - eyelash - ga_skin_body - skin - loop - LOD0~N - displacement - pbr - tra - opacity.
  6. You can fix the disappearance of morph data by opening up the Content Browser, selecting the skeleton mesh, and click on the Reimport the current mesh button.
    https://forum.reallusion.com/uploads/images/67b1f944-1e04-4d75-a7b8-cd81.jpg

  7. Unreal Engine's PBR shader does not support CC's blend channel.
    https://forum.reallusion.com/uploads/images/f7c0aa24-5f23-445e-8625-7362.jpg

  8. Unreal Engine's traditional shader does not support CC's blend and reflection channel.
    https://forum.reallusion.com/uploads/images/fbadbdbc-d338-498a-8e41-1da5.jpg

  9. The plugin will search for _ORM texture files as a priority which is broken down into it's separate components by taking apart it's RGB channels:
    • Red: Ambient Occlusion
    • Green: Roughness
    • Blue: Metallic
      https://forum.reallusion.com/uploads/images/b5185b72-a5c2-4e2e-b28c-7cae.jpg
    • If the _ORM texture is not found, then the plugin resorts to find separate maps for each material channel.
    • LW and HQ shaders are only used for the head and body.  Other parts of the body will adopt the LWHQ shader.  Note: LW and HQ shaders are not suitable for cloths and accessories.
    • LW and HQ shaders are meant for base level geometry and not intended for LOD meshes, in which case, we recommend using the "Standard Shader".
      https://forum.reallusion.com/uploads/images/7bed153f-1802-41db-b666-8da8.jpg

  10. In Unreal Engine 4.22, the transparency effect is not working when enabling the Refraction option under Ray Tracing Translucency, which is likely to be the defect in version 4.22. The workaround is disabling the Refraction option.
    https://forum.reallusion.com/uploads/images/fa211667-e3a0-4aa8-b608-a8eb.png

Edited
5 Years Ago by Miranda (RL)
Bassline303
Bassline303
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 5.6K, Visits: 13.9K
Hi Miranda ,

The new Script is sooo cool , I did some CC3 tests , see below  :-)




SWGames
SWGames
Posted 5 Years Ago
View Quick Profile
Junior Member

Junior Member (119 reputation)Junior Member (119 reputation)Junior Member (119 reputation)Junior Member (119 reputation)Junior Member (119 reputation)Junior Member (119 reputation)Junior Member (119 reputation)Junior Member (119 reputation)Junior Member (119 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 7, Visits: 144
The hair shader looks very weird to me, it's has a lot of pixels and just dosen't look realistic at all, like it should in digital humans.



Reading This Topic