Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse authored Jun 17, 2016
1 parent dd062c8 commit 3c70a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TileFormats/Batched3DModel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ address[1] = {street : 'Main Street', houseNumber : '2'};

[glTF](https://www.khronos.org/gltf) is the runtime asset format for WebGL. [Binary glTF](https://github.com/KhronosGroup/glTF/tree/master/extensions/Khronos/KHR_binary_glTF) is an extension defining a binary container for glTF. Batched 3D Model uses glTF 1.0 with the [KHR_binary_glTF](https://github.com/KhronosGroup/glTF/tree/master/extensions/Khronos/KHR_binary_glTF) extension.

Binary glTF immediately follows the batch table. It begins `12 + batchTableByteLength` bytes from the start of the arraybuffer and continues for the rest of arraybuffer. It may embed all of its geometry, texture, and animations, or it may refer to external sources for some or all of these data.
Binary glTF immediately follows the batch table. It begins `20 + batchTableByteLength` bytes from the start of the arraybuffer and continues for the rest of arraybuffer. It may embed all of its geometry, texture, and animations, or it may refer to external sources for some or all of these data.

As described above, each vertex has a `batchId` attribute indicating the model to which it belongs. For example, vertices for a batch with three models may look like this:
```
Expand Down Expand Up @@ -115,4 +115,4 @@ _TODO, [#60](https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/60)_

## Acknowledgments

* Jannes Bolling, [@jbo023](https://github.com/jbo023)
* Jannes Bolling, [@jbo023](https://github.com/jbo023)

0 comments on commit 3c70a9c

Please sign in to comment.