Dem Bones  1.2.0
Skinning Decomposition Library
Overview

Main elements:

  • DemBones : base class with the core solver using relative bone transformations DemBones::m
  • DemBonesExt : extended class to handle hierarchical skeleton with local rotations/translations and bind matrices
  • DemBones/MatBlocks.h: macros to access sub-blocks of packing transformation/position matrices for convenience

Include DemBones/DemBonesExt.h (or DemBones/DemBones.h) with optional DemBones/MatBlocks.h then follow these steps to use the library:

  1. Load required data in the base class:
  2. Load optional data in the base class:
  3. [optional] Set parameters in the base class:
  4. [optional] Setup extended class:
  5. [optional] Override callback functions (cb...) in the base class DemBones
  6. Call decomposition function DemBones::compute(), DemBones::computeWeights(), DemBones::computeTranformations(), or DemBones::init()
  7. [optional] Get local transformations/bind poses with DemBonesExt::computeRTB()