Difference between revisions of "Documentation:Unreal MHC"

From MakeHuman Community Wiki
Jump to: navigation, search
(Customization)
(Introduction)
Line 29: Line 29:
 
If you follow the [[Documentation:Saving models for Unreal Engine and how to import them there|instructions]] on how to import your MakeHuman characters to Unreal there is still a lot of work to do. In general you will need a generic blueprint to "assemble" your character and the cloth element, also you need a basic clothing system, and you need some basic interface to work with the "morph targets". Some of the morph targets will affect the basic shape of the character, while others can handle the general expressions.  
 
If you follow the [[Documentation:Saving models for Unreal Engine and how to import them there|instructions]] on how to import your MakeHuman characters to Unreal there is still a lot of work to do. In general you will need a generic blueprint to "assemble" your character and the cloth element, also you need a basic clothing system, and you need some basic interface to work with the "morph targets". Some of the morph targets will affect the basic shape of the character, while others can handle the general expressions.  
  
The basic parts leads to two different components for your character blueprint one for customizing the character shape and a system for cloth, hair and other modular attachments. Also the system should be able to handle different character types, say you may have several "base characters", characters of different genders etc.  
+
The prototype for this can be seen below, in this you can see the shape keys as well as the buttons where you can change the base-tint parameter.  
  
This page contains a general introduction to the MHC components, breaking down what you need to know to understand and setup the system with your own characters.  
+
[[File:MH UE4 MaterialCustom 1.png|400px]]
 +
 
 +
 
 +
The basic parts leads to two different components for your character blueprint one for customizing the character shape and a system for cloth, hair and other modular attachments. Also the system should be able to handle different character types, say you may have several "base characters", characters of different genders etc.  
  
 +
This page contains a general introduction to the MHC components, breaking down what you need to know to understand and setup the system with your own characters.
  
 
==Package components - GenCharacter==
 
==Package components - GenCharacter==

Revision as of 12:54, 31 March 2021

Once you have the character inside Unreal you want to utilize the shape keys to customize your character.

I ma working on a generic solution that will allow you to do just that, this is the first preview!


Parameter Setup and Parameter Functions

In order to make the customization work you need to make a table containing all the parameters that can be adjusted. This is a bit complicated, but you need to do this once only.. The parameters are imported into Unreal and from there the customization components should handle the rest! The parameter setup is done in a CSV file - I use a google sheet for this, but you can use any tool that works for you and Unreal.

The parameters/functions can be listed like this:

  • Shape key grouping
  • Customize option
  • Randomize
  • Randomize grouping
  • Randomize exclusive grouping
  • Clamp min/max
  • Display name
  • Tool tip
  • Comment

The exclusive grouping can be used at group level, so you can group shape keys that does not mix well - say one major body shape will corrupt an other shape. You will be able to exclude/clamp the other shapes to prevent this from happening.

MHC - UE4 Generic Character customization for MakeHuman, and other characters

I am making a Generic Customization package that can be used for MakeHuman. This is an overview of the functionality, introducing the components that are available in the package.

Introduction

If you follow the instructions on how to import your MakeHuman characters to Unreal there is still a lot of work to do. In general you will need a generic blueprint to "assemble" your character and the cloth element, also you need a basic clothing system, and you need some basic interface to work with the "morph targets". Some of the morph targets will affect the basic shape of the character, while others can handle the general expressions.

The prototype for this can be seen below, in this you can see the shape keys as well as the buttons where you can change the base-tint parameter.

MH UE4 MaterialCustom 1.png


The basic parts leads to two different components for your character blueprint one for customizing the character shape and a system for cloth, hair and other modular attachments. Also the system should be able to handle different character types, say you may have several "base characters", characters of different genders etc.

This page contains a general introduction to the MHC components, breaking down what you need to know to understand and setup the system with your own characters.

Package components - GenCharacter

This is what the Blueprint for the MH generic character looks like, currently.

MHC GenericMH BP-V1.png


This first version of MHC only contains the GenCustomize_Comp, but the one that i going out will not yet contain the GenInventory_Comp.