Commit Graph

267 Commits

Author SHA1 Message Date
Kevin Ring 7fdc99b26a Overlay tiles with a subset do not have more detail. 2024-12-03 18:41:39 +11:00
Ashley Rogers 08dcb82f9e Document undocumented parameters 2024-11-26 14:27:37 -05:00
Ashley Rogers fdabe39f6e Fix some Doxygen warnings 2024-11-26 14:14:58 -05:00
Kevin Ring 061500a237
Merge pull request #1004 from CesiumGS/clang-tidy-4
Add clang-tidy targets and CI check
2024-11-26 15:26:38 +11:00
Ashley Rogers cca8871eef Include both catch2 headers 2024-11-22 11:30:45 -05:00
Ashley Rogers f82d65bead Change Catch2 header 2024-11-22 11:17:21 -05:00
Ashley Rogers 55b4208f10 More size_t -> int64_t casts 2024-11-21 16:30:25 -05:00
Ashley Rogers fe4d40bedb Fix RasterOverlayTileProvider warning 2024-11-21 16:27:24 -05:00
Ashley Rogers 3832758a15 Merge from main 2024-11-21 15:48:02 -05:00
Kevin Ring 2fedc3e285 Merge remote-tracking branch 'origin/main' into raster-overlay-ellipsoids 2024-11-21 21:15:31 +11:00
Kevin Ring 138a4075e3 Fix typo. 2024-11-21 18:16:09 +11:00
Kevin Ring 9a217eddaf Merge remote-tracking branch 'origin/main' into creditless-raster-overlays 2024-11-21 18:12:52 +11:00
Kevin Ring 279030ae5b When loading parent tile, don't clobber subset field. 2024-11-21 17:48:50 +11:00
Kevin Ring a52b11448c Merge remote-tracking branch 'origin/main' into quadtree-cache-fix-2 2024-11-21 16:30:21 +11:00
Ashley Rogers acc9e81d12 Merge from main 2024-11-20 17:12:43 -05:00
Janine Liu 7eaef98067
Merge branch 'main' into raster-overlay-ellipsoids 2024-11-20 16:36:22 -05:00
Ashley Rogers 52633c67f4 Non-PropertyTable changes 2024-11-20 16:20:04 -05:00
Kevin Ring 7b731787da Fix some raster overlay ellipsoid bugs. 2024-11-20 21:04:40 +11:00
Ashley Rogers 86a4bf7e53 Fix warnings ignored on headers with SYSTEM 2024-11-19 15:47:40 -05:00
Janine Liu 5345313add Check for nullptr credit system 2024-11-19 14:57:58 -05:00
Ashley Rogers cd9bc95b72 Fix lambda invocation 2024-11-18 16:37:55 -05:00
Ashley Rogers ccedea8340 Reintroduce loadParentTile lambda to avoid capturing this 2024-11-18 15:51:17 -05:00
Ashley Rogers 1c144bd17f Change this pointer, style guide changes 2024-11-15 16:40:02 -05:00
Ashley Rogers f53cb2e6fa Format 2024-11-14 17:55:39 -05:00
Ashley Rogers 27f19bd420 thisPtr -> pThis 2024-11-14 16:53:38 -05:00
Ashley Rogers 8a2b8745d5 Simpler SharedAssetification of QuadtreeRasterOverlayProvider 2024-11-14 16:43:23 -05:00
Kevin Ring 89dfc44bdc Remove use of GSL.
Change gsl::span to std::span, and replace the few uses of gsl::narrow
with an alternative.
2024-11-06 15:16:03 +11:00
Kevin Ring 97331792d3 Compile with C++20 and fix the problems. 2024-11-05 16:54:11 +11:00
Kevin Ring 783adceb87
Merge pull request #956 from CesiumGS/fix-missing-ellipsoid
Fix missing ellipsoid parameters
2024-10-31 21:24:45 +11:00
Kevin Ring 9dfe894056 ImageDecoder cleanup. 2024-10-30 13:15:03 +11:00
Kevin Ring 33d4948634 Image::pCesium -> pAsset 2024-10-30 09:40:04 +11:00
Kevin Ring c5533b7ead Cleanup. 2024-10-28 20:55:29 +11:00
Ashley Rogers df1f887e6d Doc comments, rename ImageCesium 2024-10-10 15:28:05 -04:00
Kevin Ring 6459729559 Raster overlays store heap-allocated ImageCesiums. 2024-10-10 20:18:27 +11:00
Kevin Ring cee6f21ea6 Make SharedAsset a base class an eliminate AssetContainer. 2024-10-04 16:10:28 +10:00
Ashley Rogers a2b31a070b Fix missing ellipsoid parameters 2024-10-01 11:27:13 -04:00
Kevin Ring 45365b270a Merge remote-tracking branch 'origin/main' into shared-assets 2024-09-26 09:01:49 +10:00
Kevin Ring ef9f14c596 Fix clang error. 2024-09-06 15:42:52 +10:00
Kevin Ring a7263b238b errors -> errorList. 2024-09-06 15:21:32 +10:00
Kevin Ring e421079ba2 Propagate raster overlay load errors to the user. 2024-09-05 22:53:58 +10:00
Kevin Ring 770c5bbac1 Fix compile errors in tests. 2024-09-05 15:52:25 +10:00
Kevin Ring f373ccff9c WIP error reporting for raster overlays. 2024-09-02 17:22:23 +10:00
Ashley Rogers e79b31379c Merge with main 2024-08-16 14:13:55 -04:00
Kevin Ring 1fcdeadfd9 Merge remote-tracking branch 'origin/main' into vcpkg-swl 2024-08-02 19:45:58 +10:00
Ashley Rogers dd8e3d0775 Merge branch 'main' of github.com:CesiumGS/cesium-native into shared-assets 2024-07-23 14:03:20 -04:00
sailra 3be5ad9a05 Fixed the issue where the Y-axis tile coordinates could not be correctly calculated after customizing the root tile slicing scheme. 2024-07-19 22:27:24 +08:00
Janine Liu 707dd8b770 Add missing includes 2024-07-11 10:25:23 -04:00
Ashley Rogers 40806a24c7 Add ability for images to be shared between glTFs 2024-07-10 16:00:31 -04:00
Kevin Ring 7c9ea84178 Merge remote-tracking branch 'origin/main' into vcpkg-swl 2024-07-02 17:39:20 +10:00
Kevin Ring ff96b9b07a
Merge pull request #874 from CesiumGS/forced-assertions
Add ability to force assertions
2024-06-21 16:12:56 +10:00
Brian L 74653140f3 Rename to CESIUM_ASSERT 2024-06-20 10:14:38 -06:00
Brian L 91300f9a61 update from main 2024-06-20 09:54:52 -06:00
Ashley Rogers 110ff3b009 Fix build 2024-06-14 16:00:44 -04:00
Ashley Rogers 65dda8335d Respond to review, cut down on stored ellipsoids 2024-06-14 15:33:47 -04:00
Ashley Rogers 1598c3f863 Format 2024-06-11 14:23:36 -04:00
Ashley Rogers f332464b30 Merge with main 2024-06-06 16:57:20 -04:00
Ashley Rogers d961a40e3d Remove as many WGS84 defaults as possible. 2024-06-06 16:53:48 -04:00
Kevin Ring ca42500d54 Merge remote-tracking branch 'origin/main' into vcpkg-2 2024-06-05 14:06:47 +10:00
Kevin Ring 8140e6dfd2 Various quantized-mesh related improvements. 2024-05-22 18:22:20 +10:00
Brian L 47414f09fb Make our ASSERT macro. Move everything to use this. 2024-05-03 12:50:50 -06:00
Brian Langevin 6b5d45117b
Merge branch 'main' into split-at-antimeridian 2024-04-16 15:24:23 -06:00
Brian Langevin c55660118c
Merge branch 'main' into upsampling-inverted-v 2024-04-12 14:49:08 -06:00
Kevin Ring 9555685783 Fix Clang/GCC build error. 2024-04-12 17:14:16 +10:00
Kevin Ring be19004c1d Reverse during transform instead of explicit std::reverse. 2024-04-12 17:00:19 +10:00
Kevin Ring abaf72bada upsampleGltfForRasterOverlays -> RasterOverlayUtilities 2024-04-12 16:59:24 +10:00
Kevin Ring 6b86b377ba Add another test. 2024-04-12 14:12:48 +10:00
Kevin Ring 5c3cdd26a7 Formatting. 2024-04-12 14:09:09 +10:00
Kevin Ring 0c16ef5f7c Add tests and fix logic. 2024-04-12 10:30:40 +10:00
Kevin Ring 67405109ba Formatting. 2024-04-10 22:10:24 +10:00
Kevin Ring f87c65ce2b Fix typo. 2024-04-10 22:09:09 +10:00
Kevin Ring 40f589d587 Add TMS trailing slash at end of path, rather than end of url. 2024-04-05 21:55:11 +11:00
Kevin Ring b8d0f5eb28 Fix typo. 2024-04-05 19:13:45 +11:00
Kevin Ring 2f199e3450 Add GlobeRectangle::splitAtAntiMeridian, use in createRasterOverlayTextureCoordinates 2024-04-05 18:31:30 +11:00
Brian Langevin 5da55c23b3
Revert "Upgrade spdlog" 2024-03-22 14:14:38 -06:00
Brian Langevin ad6ef90102
Merge pull request #816 from Klebert-Engineering/spdlog-upgrade
Upgrade spdlog
2024-03-22 13:51:24 -06:00
Janine Liu b723de2e95 Merge branch 'main' into ref-counted-thread-safe 2024-02-26 10:17:30 -05:00
Janine Liu 5f5f726ce6 Revert "Rename member name for clarity"
This reverts commit e16a3e1ac4.
2024-02-26 09:56:14 -05:00
Kevin Ring 23c1cc82fb Merge remote-tracking branch 'origin/main' into ref-counted-thread-safe 2024-02-26 11:33:57 +11:00
Kevin Ring 9f8b011a6e Just one templatized ReferenceCounted class. 2024-02-25 22:44:05 +11:00
Bradley Austin Davis 24d783fb01 Migrate dependencies to vcpkg 2024-02-24 00:37:37 +00:00
Brian Langevin 028fc7cae0
Merge pull request #804 from CesiumGS/image-size-bytes
Track image data size independently of the `pixelData` array size
2024-02-23 11:02:44 -07:00
Brian L e16a3e1ac4 Rename member name for clarity 2024-02-23 10:30:10 -07:00
Kevin Ring c341a72806 Revert "Merge pull request #786 from jherico/feature-vcpkg"
This reverts commit 198ed9d4b4, reversing
changes made to 09c1eb76b4.
2024-02-23 09:08:15 +11:00
Joseph Birkner 3856537503 Cast rapidjson errors to int for logging. 2024-02-22 09:40:41 +01:00
Ashley Rogers 10753a931f
Merge branch 'main' into feature-vcpkg 2024-02-20 13:44:11 -05:00
Sean Lilley 7022b955a1 Fix estimateGlobeRectangle for boxes and sphere that encompass the entire globe 2024-02-09 10:16:28 -05:00
Bradley Austin Davis e20c154c55 Migrating dependencies to vcpkg 2024-02-02 10:40:59 -08:00
Kevin Ring a48529b2b8 Add sizeBytes to ImageCesium.
And use it to track Tile and RasterOverlayTile sizes.
2024-01-29 19:17:39 +11:00
Kevin Ring 6ff550ce34 Update CHANGES.md, doc improvements. 2024-01-19 14:57:58 +11:00
Ezio Helios a664be6342 removed subdomain as tmpl if not provided 2023-12-25 00:40:45 +08:00
Ezio Helios 0ca6e882ca simplified subdomain option 2023-12-24 22:41:21 +08:00
Ezio Helios a066b87014 removed bad level limits logic 2023-12-24 22:40:09 +08:00
Ezio Helios 04728c9eec removed unused forward declaration 2023-12-24 22:37:57 +08:00
Ezio Helios 4dc0d3e468 updated from main repo and fixed problems 2023-12-13 14:01:17 +08:00
Kevin Ring b44274abc1 Add return doc. 2023-11-29 09:44:11 +11:00
Kevin Ring 6317c9c524 Change TODO to a regular comment. 2023-11-29 09:42:38 +11:00
Kevin Ring 2373586abc Fix typo. 2023-11-29 09:42:25 +11:00
Kevin Ring eb0805545e Merge remote-tracking branch 'origin/raster-overlay-refactoring' into bake-overlays-to-gltf 2023-11-29 09:32:36 +11:00
Kevin Ring ec266b19c7 Fix doc. 2023-11-29 09:29:07 +11:00
Kevin Ring 4dc4a7b293 Ship unnecessary write to disk. 2023-11-20 14:58:47 +11:00
Kevin Ring 88bfbf508f Add a comment. 2023-11-20 14:41:45 +11:00
Kevin Ring 75451e7efb More assertions in TestAddRasterOverlayToGltf. 2023-11-20 14:25:12 +11:00
Kevin Ring ffee342494 Very basic assertions. 2023-11-18 22:27:24 +11:00
Kevin Ring 42f964d98c Fix more warnings. 2023-11-18 21:38:32 +11:00
Kevin Ring b21922e87d Yet another warning. 2023-11-18 19:39:07 +11:00
Kevin Ring 7854e3221e Work around dodgy expected-lite warning. 2023-11-18 00:14:13 +11:00
Kevin Ring b563542e20 Formatting. 2023-11-17 22:30:36 +11:00
Kevin Ring d9f7dc2c0f Compute overlay texture translation and scale. 2023-11-17 22:29:31 +11:00
Kevin Ring 791984c22c moveBufferContent, invertVCoordinate. 2023-11-17 14:12:21 +11:00
Kevin Ring 581d6c9ef6 Get raster overlay baking working. 2023-11-16 23:32:12 +11:00
Kevin Ring 37374b52ca computeDesiredScreenPixels, example of glTF raster overlay baking. 2023-11-15 22:42:29 +11:00
Kevin Ring 761630d45a Add CesiumGltfContent library. 2023-11-15 17:20:08 +11:00
Kevin Ring 43979f6417 Return a future from RasterOverlayTileProvider::loadTile. 2023-11-14 22:16:01 +11:00
Kevin Ring 2871d8e25d Fix typo. 2023-11-14 19:31:14 +11:00
Kevin Ring 840588a214 Mark system libraries. 2023-11-14 19:27:05 +11:00
Kevin Ring 84c48747ae Move overlay tests. 2023-11-14 18:57:47 +11:00
Kevin Ring dff7e61171 Create CesiumRasterOverlays library. 2023-11-14 18:29:47 +11:00