-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12331 from CesiumGS/fix-resource-statistics-draft
Draft for handling shared textures in statistics
- Loading branch information
Showing
15 changed files
with
386 additions
and
60 deletions.
There are no files selected for viewing
This file contains 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
Binary file added
BIN
+1.38 KB
Specs/Data/Cesium3DTiles/Tilesets/TilesetWithSharedTextures/plane-0.glb
Binary file not shown.
Binary file added
BIN
+1.38 KB
Specs/Data/Cesium3DTiles/Tilesets/TilesetWithSharedTextures/plane-1.glb
Binary file not shown.
Binary file added
BIN
+1.38 KB
Specs/Data/Cesium3DTiles/Tilesets/TilesetWithSharedTextures/plane-2.glb
Binary file not shown.
Binary file added
BIN
+1.38 KB
Specs/Data/Cesium3DTiles/Tilesets/TilesetWithSharedTextures/plane-3.glb
Binary file not shown.
Binary file added
BIN
+1.63 KB
Specs/Data/Cesium3DTiles/Tilesets/TilesetWithSharedTextures/texture0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.53 KB
Specs/Data/Cesium3DTiles/Tilesets/TilesetWithSharedTextures/texture1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 116 additions & 0 deletions
116
Specs/Data/Cesium3DTiles/Tilesets/TilesetWithSharedTextures/tileset.json
This file contains 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,116 @@ | ||
{ | ||
"asset": { | ||
"version": "1.1" | ||
}, | ||
"geometricError": 4096, | ||
"root": { | ||
"boundingVolume": { | ||
"box": [ | ||
3.5, | ||
0, | ||
0.5, | ||
3.5, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0.5 | ||
] | ||
}, | ||
"geometricError": 1024, | ||
"children": [ | ||
{ | ||
"boundingVolume": { | ||
"box": [ | ||
0.5, | ||
0, | ||
0.5, | ||
0.5, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0.5 | ||
] | ||
}, | ||
"geometricError": 512, | ||
"content": { | ||
"uri": "plane-0.glb" | ||
} | ||
}, | ||
{ | ||
"boundingVolume": { | ||
"box": [ | ||
2.5, | ||
0, | ||
0.5, | ||
0.5, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0.5 | ||
] | ||
}, | ||
"geometricError": 512, | ||
"content": { | ||
"uri": "plane-1.glb" | ||
} | ||
}, | ||
{ | ||
"boundingVolume": { | ||
"box": [ | ||
4.5, | ||
0, | ||
0.5, | ||
0.5, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0.5 | ||
] | ||
}, | ||
"geometricError": 512, | ||
"content": { | ||
"uri": "plane-2.glb" | ||
} | ||
}, | ||
{ | ||
"boundingVolume": { | ||
"box": [ | ||
6.5, | ||
0, | ||
0.5, | ||
0.5, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0.5 | ||
] | ||
}, | ||
"geometricError": 512, | ||
"content": { | ||
"uri": "plane-3.glb" | ||
} | ||
} | ||
], | ||
"refine": "ADD" | ||
} | ||
} |
This file contains 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 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.