Changes between Version 1 and Version 3 of Ticket #1012


Ignore:
Timestamp:
Dec 9, 2011, 3:39:26 AM (12 years ago)
Author:
historic_bruno
Comment:

updated description with more info

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1012

    • Property Owner set to historic_bruno
    • Property Status newassigned
  • 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 pose instead of a particular bone, as seen in this example:
     1For 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:
    22{{{
    33<skin>
     
    1818}}}
    1919
     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
    2022Currently 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.
    2123