Completes support for geom::BONE_INDEX and geom::BONE_WEIGHT to TriMesh. It currently assumes that bone indices are limited to 4 bones, and that they are stored in floating point values rather than integers. Adding support for integer-based bone indices will require changes to a lot of the internal geom machinery and can be worked around for now. We'll plan to revisit this at some point in the future however.
Previously TriMesh and gl::VboMesh ignored the strideBytes parameter on copyAttrib when they were being loaded through a geom::Target. This is now fixed.
This PR:
geom::BONE_INDEX
andgeom::BONE_WEIGHT
toTriMesh
. It currently assumes that bone indices are limited to 4 bones, and that they are stored in floating point values rather than integers. Adding support for integer-based bone indices will require changes to a lot of the internalgeom
machinery and can be worked around for now. We'll plan to revisit this at some point in the future however.TriMesh
andgl::VboMesh
ignored thestrideBytes
parameter on copyAttrib when they were being loaded through ageom::Target
. This is now fixed.