-
Notifications
You must be signed in to change notification settings - Fork 322
MB Lab Developer Guide
This is the start of a reference for MB-Lab internals, where each sections is described (as best we can tell) what MB-Lab does and why.
This is the core of the addon.
- Function calls
- UI Elements
Contains various functions for every engine.
Handles the animation import and assigning to skeleton...
- Retargeting
- Identifies Bones
- Similar functions (expand)
- Loads BVH files, saves and loads poses.
Handles much of the character changing functions including Auto-Modelling.
This is where the image textures get loaded and applied to nodes
This is where the morphs of the character are loaded from JSON files
Handles the Proxy Fitting functions
Loads and applies the skeleton (either FK or IK) to the character
Contains the following
Mesh
- MBLab_human_female
- MBLab_human_male
- MBLab_anime_female
- MBLab_anime_male
Armatures
- MBLab_skeleton_base_fk
- MBLab_skeleton_base_ik
- MBLab_skeleton_muscle_fk
- MBLab_skeleton_muscle_ik
Shaders
Realistic Shaders
- MBlab_pupil
- MBlab_human_teeth
- MBlab_fur
- MBlab_generic
- MBlab_human_eyes
- MBlab_cornea
- MBlab_human_skin
Cell Shaders
- MBlab_toon_black
- MBlab_generic
- MBlab_anime_skin
- MBlab_anime_eyes
FaceRig
- Face_Rig_widgets
- Phenome_rig
- MBLab_skeleton_face_rig
WARNING! Editing humanoid_library.blend can cause irreversible damage! Do not edit unless you know exactly what you are doing!
The base models, textures and JSON data are referenced from this file
- Example Female Caucasion data entry
Retargetting data
Contains measurement data for male and female base models
Contains the demo asset files, as well as associated texture maps.
(?) Bounding Box?
Contains human readable expressions
Contains some kind of data related to joints between bones of the armature, is called by skeletonengine.py
Contains measurement data
Polygon Indices?
Morphs for each base model that change the character based on geographic location
- Example euroartic.json
Pose JSON files for each base model
- Example glamour02.json
Morphs to describe different body types
- Example type_common01.json
The texture maps for MB-Lab
- Example human_female_albedo.png
Contains vertice info?
- Example - Female Caucaisan
Contains vertice group data
-
Example - Human Female Base VGroups
-
Data seems to be [Polygon Indice, Weight Value]