Git Product home page Git Product logo

auto-setup-for-unity's Introduction

Auto Setup for Unity Script Readme file

Copyright (c) 2021, Reallusion, Inc. All rights reserved.

Character Creator, iClone and ActorCore provide quality characters, animations, and assets to game developers.
To save time in the complicated and routine works of import, Reallusion offers tools to automate the process of shader assignment and characterization for Unity.

workflow


  1. Move the extracted files into Unity’s Asset folder (manually create this folder in the Assets directory, if it’s missing).
  2. Export Character using Unity preset from Reallusion Character Creator.
  3. Open the CC Assets folder in the Unity Project.
  4. Drag and drop the folder in which your exported FBX files are.

Main Program Workflow

Format Pre-processing

Every imported object will undergo pre-processing, mostly to set the starting parameter values with the following commands:

1. OnPreprocessModel > CreateHumanoidPre
2. OnPreprocessAsset > CheckAutoSetupVersion
3. OnPreprocessTexture
4. OnPreprocessAnimation > SetAnimation

Format Post-processing

Every imported object will undergo post-processing, the main settings are applied at this stage:

1. OnPostprocessMaterial
2. OnPostprocessModel > CreateHumanoidPost & SetAnimation
3. OnPostprocessAllAssets: Main procedure (see notes).

Notes:
Relocating textures: MoveImageToTopFolder & RemoveEmptyTextureFolder
Deploying Animator: AutoCreateAnimator
Deploying Materials: CreateMaterials
Deploying Prefabs: CreateOneLODPrefabFromModel or CreatePrefabFromModel
Pay special attention to Auto Setup importing the FBX twice. This is because the first import for the previous version tends to create erroneous data within the materials or create unforeseen problems during operation. The new version runs through the import process twice to mitigate the occurrence of these mistakes, however, you will still need to make sure the problems are resolved.

Creating Materials

1. Extract material.
2. Set the Diffuse Profile in HDRP.
3. Find the corresponding JSON file.
4. Set the texture and material properties according to the shader name.

External Library


Compatible Version

Unity 2021.1, 2020.3(LTS) and 2019.4(LTS) with HDRP and URP.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.