Skip to content

Commit

Permalink
#210 Morph Targets: changed a sentence, thanks Alexey for pointing it…
Browse files Browse the repository at this point in the history
… out
  • Loading branch information
emiliano committed Feb 25, 2017
1 parent c1bb92c commit d028a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/2.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ Valid attribute semantic property names include `POSITION`, `NORMAL`, `TEXCOORD`

Morph Targets are defined by extending the Mesh concept.
A Morph Target is a morphable Mesh where primitives' attributes are obtained by adding the original attributes to a weighted sum of targets attributes (this operation corresponds to COLLADA's `RELATIVE` blending method).
Morph Targets are implemented via the `targets` property defined in the Mesh `primitives`. Each target in the `targets` array is a dictionary mapping a primitive attribute to a Morph Target displacement, currently only two attributes ('POSITION' and 'NORMAL') are supported. All primitives are required to list the same number of `targets` in the same order.
Morph Targets are implemented via the `targets` property defined in the Mesh `primitives`. Each target in the `targets` array is a dictionary mapping a primitive attribute to an accessor containing Morph Target displacement data, currently only two attributes ('POSITION' and 'NORMAL') are supported. All primitives are required to list the same number of `targets` in the same order.
The `weights` array is optional, it stores the default targets weights, in the absence of animations the primitives attributes are resolved using these weights. When this property is missing the default targets weights are assumed to be zero.

The following example extends the Mesh defined in the previous example to a morphable one by adding two Morph Targets:
Expand Down

0 comments on commit d028a08

Please sign in to comment.