Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

MB Lab Developer Guide

animate1978 edited this page Jan 24, 2019 · 35 revisions

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.

MB-Lab Modules

_ init _.py

This is the core of the addon.


algorithms.py

Contains various functions for every engine.


animationengine.py

Retargeting. Identifies Bones. Similar functions (expand). Loads BVH files, saves and loads poses.


humanoid.py

Handles much of the character changing functions including Auto-Modelling.


materialengine.py

This is where the image textures get loaded and applied to nodes


morphengine.py

This is where the morphs of the character are loaded from JSON files


proxyengine.py

Handles the Proxy Fitting functions


skeletonengine.py

Loads and applies the skeleton (either FK or IK) to the character


MB-Lab Data

humanoid_library.blend

Contains the base models, skeletons and shaders for MB-Lab


characters_config.json

The base model, textures and JSON data are referenced from this file

Example (Female Caucasian data)

https://github.com/animate1978/MB-Lab/blob/00e91d33012924c2f2276b3a7ab9cd2327cedad1/data/characters_config.json#L61


retarget_knowledge.json

Retargetting data


anthropometry

assets

bboxes

expressions_comb

expressions_morphs

joints

measures

morphs

pgroups

phenotypes

poses

presets

textures

transformations

vertices

vgroups