Submitted by Leonard Daly on
This is a required section and is encoded in JSON format.
Element | Value | Description |
indexViews | An array of indexViews elements. | |
attributeViews | An array of attributeViews elements. |
Example
example here
This is a required section and is encoded in JSON format.
Element | Value | Description |
unique-indexViews-label-1 | User-defined file-wide unique label for the attributeView array. | |
unique-indexViews-label-2 | Same as previous. Repeat as necessary. |
Example
example here
This is a required section and is encoded in JSON format.
Element | Value | Description |
bufferView | The label of a bufferView. | |
byteOffset | The offset to the first byte of this section relative to the beginning of the DATA portion of the file. | |
componentType | TBD | |
count | The number of elements of type in this indexView |
Example
example here
This is a required section and is encoded in JSON format.
Element | Value | Description |
unique-attributeViews-label-1 | User-defined file-wide unique label for the attributeView array. | |
unique-attributeViews-label-2 | Same as previous. Repeat as necessary. Additional documentation in glTF. |
Example
example here
This is a required section and is encoded in JSON format.
Element | Value | Description |
bufferView | The label of a bufferView. | |
byteOffset | The offset to the first byte of this section relative to the beginning of the DATA portion of the file. | |
byteStride | TBD | |
componentType | TBD | |
type | VEC3 | VEC2 | ... | A character code that describes the encoded data. |
count | The number of elements of type in this attributeView | |
decodeOffset | A numeric array that indicates the offset to be applied to each element of this attributeView data. There is exactly one value for element of type. | |
decodeScale | A numeric array that indicates the scale factor to be applied to each element of this attributeView data. There is exactly one value for element of type. The real value for each stored value is computed as R[i,j] = S[i]*D[i,j] + O[i]
where,
|
Example
example here
- Log in to post comments