-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Vector Tiles: Support 3DTILES_content_gltf_vector and EXT_mesh_polygon #13478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
donmccurdy
merged 26 commits into
main
from
donmccurdy/feat/3DTILES_content_gltf_vector
May 26, 2026
Merged
Changes from 19 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
98382da
Vector Tiles: Update to 3DTILES_content_gltf_vector
donmccurdy d3de98f
Vector Tiles: Add 3DTILES_content_gltf_vector samples
donmccurdy e3ce80b
Tidy up
donmccurdy 6a8ac4e
Merge branch 'main' into donmccurdy/feat/3DTILES_content_gltf_vector
donmccurdy e923216
Vector Tiles: Clean up
donmccurdy 348a149
Merge branch 'main' into donmccurdy/feat/3DTILES_content_gltf_vector
donmccurdy 223a982
Vector Tiles: Fix EXT_mesh_polygon Feature ID lookup bug
donmccurdy f0d8968
Vector Tiles: Support tilesets without EXT_structural_metadata
donmccurdy 17964e6
Vector Tiles: Support tileset.featureIdLabel
donmccurdy b20284f
Vector Tiles: Revert dev changes in sandcastle
donmccurdy 12c66a2
Vector Tiles: Update for latest EXT_mesh_polygon changes
donmccurdy 846ad11
Vector Tiles: Update polygon sample data
donmccurdy a3d64a8
Merge branch 'main' into donmccurdy/feat/3DTILES_content_gltf_vector
donmccurdy 0245e5c
Merge branch 'main' into donmccurdy/feat/3DTILES_content_gltf_vector
donmccurdy 06cf39f
BufferPrimitiveCollection: Tidy up stats
donmccurdy c5ad973
Vector Tiles: Cleanup
donmccurdy 22a93fc
Vector Tiles: Fix failing tests, fix stats
donmccurdy 3c5cffa
Merge branch 'main' into donmccurdy/feat/3DTILES_content_gltf_vector
donmccurdy 7ca1c5c
Vector Tiles: Unit tests on EXT_mesh_polygon
donmccurdy 7b2a6b6
Vector Tiles: Update changelog
donmccurdy ca811b6
Vector Tiles: Fix JSDoc types
donmccurdy 2bbfe5c
Vector Tiles: Correctly handle restart indices on array copies
donmccurdy 298638f
Vector Tiles: Support either TRIANGLES or LINE_LOOP as polygon primit…
donmccurdy 9a7e0ed
Vector Tiles: Typo fixes in polygon parsing.
donmccurdy c834b57
Vector Tiles: Remove unused fallback for missing triangles
donmccurdy cd6cf24
Vector Tiles: Fix unit tests
donmccurdy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
Apps/SampleData/vector/sample-cities-spain-v02.tileset.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "asset": { "version": "1.1" }, | ||
| "extensionsUsed": [ "3DTILES_content_gltf", "3DTILES_content_gltf_vector" ], | ||
| "extensions": { | ||
| "3DTILES_content_gltf": { | ||
| "extensionsUsed": [ "EXT_mesh_features" ], | ||
| "extensionsRequired": [ ] | ||
| } | ||
| }, | ||
| "geometricError": 2000000.0, | ||
| "root": { | ||
| "boundingVolume": { "region": [ -0.14912553056282754, 0.630603674286057, 0.038089971913258434, 0.7585433514898835, -1000, 1000 ] }, | ||
| "geometricError": 0.0, | ||
| "refine": "REPLACE", | ||
| "content": { | ||
| "uri": "sample-cities-spain-v02.glb", | ||
| "extensions": { "3DTILES_content_gltf_vector": { "vector": true } } | ||
| } | ||
| } | ||
| } |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "asset": { "version": "1.1" }, | ||
| "extensionsUsed": [ "3DTILES_content_gltf", "3DTILES_content_gltf_vector" ], | ||
| "extensions": { | ||
| "3DTILES_content_gltf": { | ||
| "extensionsUsed": [ "EXT_mesh_features", "KHR_mesh_primitive_restart" ], | ||
| "extensionsRequired": [ "KHR_mesh_primitive_restart" ] | ||
| } | ||
| }, | ||
| "geometricError": 2000000.0, | ||
| "root": { | ||
| "boundingVolume": { "region": [ -3.1267109291897386, 0.31214887295348465, 3.13772622569785, 1.2453371191800977, -1000, 1000 ] }, | ||
| "geometricError": 0.0, | ||
| "refine": "REPLACE", | ||
| "content": { | ||
| "uri": "sample-us-outline-v02.glb", | ||
| "extensions": { "3DTILES_content_gltf_vector": { "vector": true } } | ||
| } | ||
| } | ||
| } |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "asset": { "version": "1.1" }, | ||
| "extensionsUsed": [ "3DTILES_content_gltf", "3DTILES_content_gltf_vector" ], | ||
| "extensions": { | ||
| "3DTILES_content_gltf": { | ||
| "extensionsUsed": [ "EXT_mesh_features", "EXT_mesh_polygon" ], | ||
| "extensionsRequired": [ ] | ||
| } | ||
| }, | ||
| "geometricError": 2000000.0, | ||
| "root": { | ||
| "boundingVolume": { "region": [ -3.1267109291897386, 0.31214887295348465, 3.13772622569785, 1.2453371191800977, -1000, 1000 ] }, | ||
| "geometricError": 0.0, | ||
| "refine": "REPLACE", | ||
| "content": { | ||
| "uri": "sample-us-states-v02.glb", | ||
| "extensions": { "3DTILES_content_gltf_vector": { "vector": true } } | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.