-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 #12440 from CesiumGS/allow-external-tilesets-in-mu…
…ltiple-contents Allow external tilesets in multiple contents
- Loading branch information
Showing
24 changed files
with
316 additions
and
125 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
10 changes: 10 additions & 0 deletions
10
Specs/Data/Cesium3DTiles/MultipleContents/ExternalInMultipleContents/README.md
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,10 @@ | ||
# ExternalInMultipleContents | ||
|
||
A tileset that was created as a regression test for | ||
https://github.com/CesiumGS/cesium/issues/11960 | ||
|
||
It contains a single root node with 4 contents: | ||
|
||
- The first one is a GLB of a red unit cube | ||
- The remaining three are external tilesets, containing | ||
a green, blue, and white unit cube, respectively |
Binary file added
BIN
+1.58 KB
Specs/Data/Cesium3DTiles/MultipleContents/ExternalInMultipleContents/contentA.glb
Binary file not shown.
Binary file added
BIN
+1.58 KB
Specs/Data/Cesium3DTiles/MultipleContents/ExternalInMultipleContents/contentB.glb
Binary file not shown.
Binary file added
BIN
+1.58 KB
Specs/Data/Cesium3DTiles/MultipleContents/ExternalInMultipleContents/contentC.glb
Binary file not shown.
Binary file added
BIN
+1.58 KB
Specs/Data/Cesium3DTiles/MultipleContents/ExternalInMultipleContents/contentD.glb
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
Specs/Data/Cesium3DTiles/MultipleContents/ExternalInMultipleContents/externalB.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,17 @@ | ||
{ | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 4096.0, | ||
"root" : { | ||
"boundingVolume" : { | ||
"box" : [ 0.5, -0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 2048.0, | ||
"refine" : "ADD", | ||
"transform" : [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 1.0 ], | ||
"content" : { | ||
"uri" : "contentB.glb" | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
Specs/Data/Cesium3DTiles/MultipleContents/ExternalInMultipleContents/externalC.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,17 @@ | ||
{ | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 4096.0, | ||
"root" : { | ||
"boundingVolume" : { | ||
"box" : [ 0.5, -0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 2048.0, | ||
"refine" : "ADD", | ||
"transform" : [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0 ], | ||
"content" : { | ||
"uri" : "contentC.glb" | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
Specs/Data/Cesium3DTiles/MultipleContents/ExternalInMultipleContents/externalD.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,17 @@ | ||
{ | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 4096.0, | ||
"root" : { | ||
"boundingVolume" : { | ||
"box" : [ 0.5, -0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 2048.0, | ||
"refine" : "ADD", | ||
"transform" : [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0 ], | ||
"content" : { | ||
"uri" : "contentD.glb" | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
Specs/Data/Cesium3DTiles/MultipleContents/ExternalInMultipleContents/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,40 @@ | ||
{ | ||
"asset": { | ||
"version": "1.1" | ||
}, | ||
"geometricError": 4096, | ||
"root": { | ||
"boundingVolume": { | ||
"box": [ | ||
1, | ||
0, | ||
0.5, | ||
1, | ||
0, | ||
0, | ||
0, | ||
1, | ||
0, | ||
0, | ||
0, | ||
0.5 | ||
] | ||
}, | ||
"refine": "ADD", | ||
"geometricError": 4096, | ||
"contents": [ | ||
{ | ||
"uri": "contentA.glb" | ||
}, | ||
{ | ||
"uri": "externalB.json" | ||
}, | ||
{ | ||
"uri": "externalC.json" | ||
}, | ||
{ | ||
"uri": "externalD.json" | ||
} | ||
] | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/README.md
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,8 @@ | ||
# OnlyExternalInMultipleContents | ||
|
||
A tileset that was created as a regression test for | ||
https://github.com/CesiumGS/cesium/issues/11960 | ||
|
||
It contains a single root node with 4 contents that | ||
are all external tilesets, each containing a GLB of | ||
red, green, blue, and white unit cube, respectively |
Binary file added
BIN
+1.58 KB
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/contentA.glb
Binary file not shown.
Binary file added
BIN
+1.58 KB
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/contentB.glb
Binary file not shown.
Binary file added
BIN
+1.58 KB
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/contentC.glb
Binary file not shown.
Binary file added
BIN
+1.58 KB
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/contentD.glb
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/externalA.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,17 @@ | ||
{ | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 4096.0, | ||
"root" : { | ||
"boundingVolume" : { | ||
"box" : [ 0.5, -0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 2048.0, | ||
"refine" : "ADD", | ||
"transform" : [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ], | ||
"content" : { | ||
"uri" : "contentA.glb" | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/externalB.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,17 @@ | ||
{ | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 4096.0, | ||
"root" : { | ||
"boundingVolume" : { | ||
"box" : [ 0.5, -0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 2048.0, | ||
"refine" : "ADD", | ||
"transform" : [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 1.0 ], | ||
"content" : { | ||
"uri" : "contentB.glb" | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/externalC.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,17 @@ | ||
{ | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 4096.0, | ||
"root" : { | ||
"boundingVolume" : { | ||
"box" : [ 0.5, -0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 2048.0, | ||
"refine" : "ADD", | ||
"transform" : [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0 ], | ||
"content" : { | ||
"uri" : "contentC.glb" | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/externalD.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,17 @@ | ||
{ | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 4096.0, | ||
"root" : { | ||
"boundingVolume" : { | ||
"box" : [ 0.5, -0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 2048.0, | ||
"refine" : "ADD", | ||
"transform" : [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0 ], | ||
"content" : { | ||
"uri" : "contentD.glb" | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
Specs/Data/Cesium3DTiles/MultipleContents/OnlyExternalInMultipleContents/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,40 @@ | ||
{ | ||
"asset": { | ||
"version": "1.1" | ||
}, | ||
"geometricError": 4096, | ||
"root": { | ||
"boundingVolume": { | ||
"box": [ | ||
1, | ||
0, | ||
0.5, | ||
1, | ||
0, | ||
0, | ||
0, | ||
1, | ||
0, | ||
0, | ||
0, | ||
0.5 | ||
] | ||
}, | ||
"refine": "ADD", | ||
"geometricError": 4096, | ||
"contents": [ | ||
{ | ||
"uri": "externalA.json" | ||
}, | ||
{ | ||
"uri": "externalB.json" | ||
}, | ||
{ | ||
"uri": "externalC.json" | ||
}, | ||
{ | ||
"uri": "externalD.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
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.