Changes between Version 1 and Version 3 of Ticket #1012
- Timestamp:
- Dec 9, 2011, 3:39:26 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1012
- Property Owner set to
- Property Status new → assigned
-
Ticket #1012 – Description
v1 v3 1 For skinned models, the [http://www.khronos.org/files/collada_spec_1_4.pdf COLLADA 1.4.1 spec] allows a special vertex weight index of -1, which indicates the weight applies to the bind poseinstead of a particular bone, as seen in this example:1 For skinned models, the [http://www.khronos.org/files/collada_spec_1_4.pdf COLLADA 1.4.1 spec] allows a special vertex weight index of -1, which indicates the weight applies to the ''bind-shape matrix''* instead of a particular bone, as seen in this example: 2 2 {{{ 3 3 <skin> … … 18 18 }}} 19 19 20 ''(*The bind-shape matrix represents the transform of the bind-shape prior to skinning, it transforms the bind-shape from object space to bind-space. It's specified by a `<bind_shape_matrix>` element in the `<skin>` or assumed to be an identity transform. See pages 4.6-4.8 of the COLLADA spec for more notes.)'' 21 20 22 Currently if you try to add such a model to the game, it will fail to import since the PMD converter thinks there are more than 256 bones (the -1 index is typecast to an unsigned int). Apparently Blender 2.60a likes to export such models and seems to have made general improvements to animation exporting, so we should find a way to implement this. 21 23