Commit Graph

1191 Commits

Author SHA1 Message Date
Bao Tran a04ad86f2a add const to getID() 2021-03-23 18:43:53 -04:00
Kevin Ring bfdad704da
Merge pull request #181 from CesiumGS/doc-terrain-note
Add a note about SSE for terrain.
2021-03-24 09:23:29 +11:00
Kevin Ring 5aabd15a53
Merge pull request #182 from CesiumGS/offline-loading
Support file uri
2021-03-24 09:23:07 +11:00
Kevin Ring 4f6ab3413d Fix formatting. 2021-03-24 09:09:55 +11:00
Bao Tran 28c7ad04c8 add some debug method 2021-03-23 15:15:39 -04:00
Kevin Ring 6f677633e9 Add a note about SSE for terrain. 2021-03-23 10:58:50 +11:00
Bao Tran 9413b2f440 Merge branch 'main' into offline-loading 2021-03-22 10:36:13 -04:00
Kevin Ring 07a4991fec
Merge pull request #180 from CesiumGS/url-crash
Copy url when capturing it in the lambda
2021-03-22 17:35:16 +11:00
Bao Tran 1b24981f4f copy url when capturing it in the lambda 2021-03-21 23:26:59 -04:00
Bao Tran 42f0c2b89a parse response status code 0 if it is a file uri 2021-03-21 22:24:53 -04:00
Shehzan Mohammed 8b428e2487
Merge pull request #178 from CesiumGS/concierge
Setup Cesium Concierge for Cesium Native
2021-03-20 11:16:44 -04:00
Shehzan Mohammed 68f7867c90 Setup Cesium Concierge for Cesium Native 2021-03-20 11:15:00 -04:00
Kevin Ring d99bb55a3d
Merge pull request #155 from CesiumGS/handle-images-404
Handle the case that images are not found
2021-03-20 15:08:06 +11:00
Kevin Ring 203b1cb5d8
Merge pull request #169 from CesiumGS/formatting-hint-readme
Add hint about formatting in README
2021-03-20 15:06:44 +11:00
Kevin Ring 24b2d7486f
Small tweaks. 2021-03-20 15:06:20 +11:00
Marco Hutter 01b0e22b7c Fixed link and command 2021-03-19 16:32:16 +01:00
Marco Hutter d6bdbad56a Merge remote-tracking branch 'origin/main' into formatting-hint-readme 2021-03-19 16:28:29 +01:00
Kevin Ring b5e430134b
Merge pull request #175 from CesiumGS/missing-bing-credits
Fix per-tile credits not being passed through raster loading
2021-03-19 13:06:46 +11:00
Shehzan Mohammed 34abf7c7cf
Merge pull request #176 from CesiumGS/update-readme
Update Readme
2021-03-18 16:57:10 -04:00
Shehzan Mohammed 7356996f05
Update Readme 2021-03-18 16:57:02 -04:00
Shehzan Mohammed 13b496dc7a
Merge pull request #173 from CesiumGS/one-asset
Add a CesiumIonClient::Connection method to get a single asset from ion.
2021-03-18 16:20:01 -04:00
Nithin Pranesh 64ded494f4 Fix per-tile credits not being passed through raster loading 2021-03-18 15:34:08 -04:00
Marco Hutter b6e90d7662 Moved formatting hint to style guide 2021-03-18 14:46:27 +01:00
Kevin Ring b2c6b29b6c Add method to get a single asset from ion. 2021-03-18 18:52:49 +11:00
Kevin Ring e28d62d59c
Merge pull request #171 from CesiumGS/update-readme
Update README.md
2021-03-18 13:46:13 +11:00
Nithin Pranesh 19b1e55254
Merge pull request #170 from CesiumGS/clip-rectangle-removal
Remove raster overlay clipping code
2021-03-17 16:06:29 -04:00
Shehzan Mohammed 52ec32a0e7
Update README.md 2021-03-17 15:15:43 -04:00
Bao Tran 1b7ff38db8 format 2021-03-17 15:01:08 -04:00
Bao Tran bf5218d9f2 remove raster cutout 2021-03-17 14:22:40 -04:00
baothientran e98b7b7839
Merge pull request #167 from CesiumGS/holes
Upsample incomplete implicitly-tiled quads.
2021-03-17 10:25:45 -04:00
baothientran f7c3798376
Merge pull request #168 from CesiumGS/version
Use correct layer.json version property name.
2021-03-17 10:11:10 -04:00
Marco Hutter 426befe25f Add hint about formatting in README 2021-03-17 14:57:13 +01:00
Marco Hutter e824e89b0a Formatting 2021-03-17 14:49:27 +01:00
Kevin Ring 4a72fae7f7 Use correct layer.json version property name. 2021-03-17 22:34:04 +11:00
Kevin Ring e1bcbcb37b Upsample incomplete quads. 2021-03-17 22:01:27 +11:00
baothientran caee54e2e2
Merge pull request #164 from CesiumGS/tile-context-race-simpler
Fix a race condition with TileContext
2021-03-16 20:11:11 -04:00
baothientran 769e4b98e3
Merge pull request #165 from CesiumGS/raster-removal-fail
Correctly detach rasters when removing an overlay
2021-03-16 13:55:23 -04:00
Kevin Ring 92312deb78 Correctly detaches rasters when removing an overlay. 2021-03-16 18:24:51 +11:00
Marco Hutter a713a64601 Add URL to error messages 2021-03-15 17:59:08 +01:00
Marco Hutter 1999262de1 Merge remote-tracking branch 'origin/main' into handle-images-404 2021-03-15 16:03:13 +01:00
baothientran 0e2822c66a
Merge pull request #162 from CesiumGS/json-arrays
Correctly handle elements inside JSON arrays.
2021-03-15 09:54:19 -04:00
Kevin Ring fd1f4f5d13 Fix test failure and formatting. 2021-03-15 22:13:40 +11:00
Kevin Ring ed263443f0 Fix external tileset content. 2021-03-15 15:39:00 +11:00
Kevin Ring c4e7406e22 Remove context property from TileContentLoadInput.
But ExternalTilesetContent is mostly disabled right now.
2021-03-15 14:08:18 +11:00
Kevin Ring 15e4e56d1c Don't resolve tile URL unnecessarily early. 2021-03-12 17:20:38 +11:00
Samuel Vargas 11413ee747
Run clang-format on all changed files 2021-03-11 15:15:59 -05:00
Samuel Vargas 49cba1547c
Remove accidentally added fi le 2021-03-11 15:14:50 -05:00
Samuel Vargas 258f1a1993
Add test to verify deserializeExtensionsAsJsonValue is respected 2021-03-11 15:01:01 -05:00
Samuel Vargas f81dd2c218
Use references to avoid extraneous copies. 2021-03-11 14:40:13 -05:00
Samuel Vargas f685ceff51
Propagate `ReadModelOptions` to ALL JsonHandlers
This commit adds conditional support for propagating the
`ReadModelOptions` variable to the root JsonValue class for all of
its children. CesiumGltfReader was designed with the philosophy that
extensions should be well defined and that CesiumGltfReader should
take responsbility for decoding extensions. This is a fine idea, but we've
ran into a usecase where we need CesiumGltfReader to support decoding
new / developing / unknown / WIP extensions.

This commit adds the `deserializeExtensionsAsJsonValue` bool to ReadModelOptions
and for each ***JsonHandler, forwards it to the root via super() constructor invocations.
This opens the door for other  "while serializing" options to be stored in
ReadModelOptions

The deserializeExtensionsAsJsonValue variable itself instructs CesiumGltfReader
to add any extensions it encounters in the Gltf string as a `JsonValue::Object` inside
the std::vector<std::any>, so that users of the libraries can retrieve it and do their
own casting.
2021-03-11 14:30:11 -05:00