These models are intended to test the various component types that sparse accessors can use.
The “B” mesh is using a sparse accessor that is initialized by the accessor used by the “A” mesh. The model that does not reference a buffer view (displays only the “B” mesh) is expected to be initialized from an array of zeros, as per the specification.
In the following table, green signifies the sparse accessor once it has been initialized.
Accessor before and after being modified by sparse | |
---|---|
Figure 1 Input |
![]() |
Figure 2 Output |
![]() |
Figure 3 No Buffer View |
![]() |
The following table shows the properties that are set for a given model.
Sample Image | Indices Type | Value Type | Sparse Accessor | Buffer View | Description | |
---|---|---|---|---|---|---|
00 View |
![]() |
Unsigned Byte | Float | Input | :white_check_mark: | See Figure 1 |
01 View |
![]() |
Unsigned Short | Float | Input | :white_check_mark: | See Figure 1 |
02 View |
![]() |
Unsigned Int | Float | Input | :white_check_mark: | See Figure 1 |
03 View |
![]() |
Unsigned Byte | Normalized Byte | Output | :white_check_mark: | See Figure 2 |
04 View |
![]() |
Unsigned Byte | Normalized Short | Output | :white_check_mark: | See Figure 2 |
05 View |
![]() |
Unsigned Byte | Unsigned Int | Mesh Primitive Indices | :white_check_mark: | See the description for the Mesh Primitive Indices model in Accessor_Sparse. |
06 View |
![]() |
Unsigned Byte | Float | Output | See Figure 3 |