Support submodel rendering in Cafu models

Issue #75 resolved
Carsten Fuchs created an issue

Add support for submodel rendering to the CafuModelT code.

This is a requirement for replacing existing class `ModelMdlT` as planned.

Comments (2)

  1. Carsten Fuchs reporter

    (In [332]) Cafu model code and Model Editor: Added full support for submodels.

    The new code can now easily and very elegantly handle "super" models whose skeleton pose should be used when rendering the current model. For example, a player model can act as the super model for a weapon, so that the skeleton of the weapon is copied from the player model in order to align the weapon with the hands of the player.

    It is easily possible to load '''multiple''' submodels for any given super model, e.g. independent weapons for the left and right hands of a player model.

    The Model Editor has been extended accordingly to allow loading and unloading of submodels for the currently loaded main ("super") model, and to render them together.

    Also updated the Model Editor to use `EVT_PG_CHANGING` rather than `EVT_PG_CHANGED` in the joint inspector.

    Closes #75.

  2. Log in to comment