Skip to content

Instantly share code, notes, and snippets.

@winterdyne
winterdyne / PioneerModelNotes.md
Created November 29, 2011 22:06
Pioneer Model Infrastructure Notes

Pioneer Model Infrastructure Notes

Models are built out of meshes by a descriptor, format to be decided. The descriptor will be built by means of a GUI tool. The descriptor can be human readable and for efficiency compiled into pure data form. Where meshes are attached to existing bones, the hierarchy of bones in the attached mesh is attached (by its root) to the receiving bone.

Most meshes are based around bones. The bones are used as named locators within the model, attachment points, and manipulative 'handles'. All meshes are skin meshes. Where no bones are present, a root bone is generated for the mesh at the origin.

Meshes and models can be interrogated to retrieve a bone for direct manipulation or attachment of another mesh.

Pioneer meshes may expose animations. These are added to a list of animations the model can play as it is built. The play call cascades to all member meshes.