Commit Graph

5427 Commits

Author SHA1 Message Date
Brian L 7a1eae8a9f formatting 2024-07-31 14:13:24 -06:00
Brian L 57cf86907f fix warning 2024-07-31 14:07:42 -06:00
Brian L 5f6e9e47fb process all height requests on every tick, rather than one at a time 2024-07-31 13:59:24 -06:00
Kevin Ring ca641c19ff
Merge pull request #929 from CesiumGS/release-prep
Prepare v0.38 release
2024-07-31 19:25:36 +10:00
Kevin Ring 0e9c3e9384 Bump version, update CHANGES.md. 2024-07-31 17:52:56 +10:00
Kevin Ring 19486927a4 Put local functions into the anonymous namespace. 2024-07-31 17:51:23 +10:00
Brian L 73e213b021 Fix compile error 2024-07-29 11:14:32 -06:00
Brian L 07acc3abab Merge branch 'main' into height-query 2024-07-29 10:45:13 -06:00
Janine Liu 471e67e0df
Merge pull request #919 from CesiumGS/fix-polygon-clipping
Add a test for raster overlay upsampled bounding volumes, and fix a bug with upsampling and gltfUpAxis
2024-07-26 13:19:58 -04:00
Kevin Ring 7d21b0c1be Fix typos and test failure. 2024-07-26 10:42:30 -04:00
Janine Liu 0a86cfdca8 Merge branch 'main' into fix-polygon-clipping 2024-07-26 09:40:26 -04:00
Kevin Ring 619751add8
Merge pull request #777 from CesiumGS/gltf-ray-intersect
Add triangle/ray and gltf/ray intersect function with tests
2024-07-25 14:22:18 -04:00
Brian L 1fa8ee45e1 Get rid of more t return params, update docs 2024-07-25 12:08:40 -06:00
Brian L 621304724f Change rayAABBParametric to return a std optional 2024-07-25 10:41:39 -06:00
Brian L 9690052efb Merge branch 'gltf-ray-intersect' into height-query 2024-07-24 14:31:00 -06:00
Brian L 7b5382e855 let rayTriangleParametric return an optional 2024-07-24 13:47:12 -06:00
Brian L 5cb0d5ec23 formatting 2024-07-24 13:45:30 -06:00
Brian L a4fab06132 Revert another unneeded change 2024-07-24 13:20:22 -06:00
Brian L d03181a97a Revert changes to ForEachPrimitiveInSceneXXX callbacks 2024-07-24 13:17:22 -06:00
Kevin Ring 23eaa7f370 Disable spurious warning from MSVC in our tests. 2024-07-24 14:39:56 -04:00
Kevin Ring d65747e8a2 Fix clang/gcc errors. 2024-07-24 10:55:02 -04:00
Kevin Ring 571af6e704 Don't use static CRT on Windows.
Because that would require doing the same for vcpkg dependencies, which
is tricky because vcpkg doesn't provide an out-of-the-box triplet that
uses the static CRT in debug buids. We could create one, but it's not
worth the trouble. The static CRT was added to work around a GitHub
runner bug that has since been fixed.
2024-07-24 10:41:33 -04:00
Kevin Ring cca47683e5 Attempt to fix the build by invalidating the cache. 2024-07-24 09:18:06 -04:00
Ashley Rogers 2f622d7892 Unused param 2024-07-23 14:25:53 -04:00
Ashley Rogers 9bf3ac4307 Fix unnecessary reference 2024-07-23 14:24:00 -04:00
Kevin Ring d6703f30a0 Merge remote-tracking branch 'jherico/vcpkg-2' into vcpkg-swl 2024-07-23 14:18:49 -04:00
Ashley Rogers 8d2c5e1e61 clang-format 2024-07-23 14:15:39 -04:00
Ashley Rogers dd8e3d0775 Merge branch 'main' of github.com:CesiumGS/cesium-native into shared-assets 2024-07-23 14:03:20 -04:00
Ashley Rogers a0954e3fbc Add test for shared images 2024-07-23 14:03:06 -04:00
Kevin Ring 8b9b001b8b
Merge branch 'main' into gltf-ray-intersect 2024-07-23 13:38:37 -04:00
Kevin Ring 833fd3f381 Restore hacky support for isolating sqlite. 2024-07-23 13:33:36 -04:00
huahuaxiaozi b6800ed7df
Merge pull request #1 from sailra/master
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:38:44 +08: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
Brian Langevin c36ddc72d2
Merge pull request #923 from CesiumGS/accessor-writer-constructor
Changed `AccessorWriter` constructor to take `std::byte*` instead of `uint8_t*`
2024-07-17 14:13:55 -06:00
Sean Lilley 7873ef6e5c Fix AccessorWriter constructor 2024-07-15 22:44:55 -04:00
Brian Langevin d6523beaf7
Merge pull request #921 from CesiumGS/add-component-type-conversion
Add method to convert integer `AccessorSpec::ComponentType` to `PropertyComponentType`
2024-07-15 11:11:41 -06:00
Brian Langevin a58c2ffe1f
Merge pull request #922 from CesiumGS/add-missing-header
Add missing include for `CesiumUtility/Assert.h`
2024-07-15 11:07:50 -06:00
Brian L 48d1b8bfee move include path to fix build error 2024-07-12 10:03:46 -06:00
Brian L c2b47f0ae4 Reorg to change height finder to terrain query class 2024-07-12 09:54:00 -06:00
Brian L 44b5ea3657 fix build warning 2024-07-12 08:54:20 -06:00
Brian L fe35ba3d92 Fix release build warning 2024-07-11 15:52:42 -06:00
Brian L 5eba1aa8ee process request tile load all at once, rather than one at a time 2024-07-11 15:50:14 -06:00
Brian L 0d2a165a4e Don't add to load queue if tile already exists 2024-07-11 15:30:54 -06:00
Brian L 82f56ebdfc Rework ::_processHeightRequests to split load work and intersect work
Also reuse the loading queue from the normal view tile selection

Seems to have a significant speed improvement. My tests went 6-8 seconds to 3 secs.
2024-07-11 15:13:06 -06:00
Janine Liu 4503e08c64 Undo line delete 2024-07-11 10:31:03 -04:00
Janine Liu 707dd8b770 Add missing includes 2024-07-11 10:25:23 -04:00
Daniel Simon ed3ae84c4a
Fixed missing include Uri.cpp
`std::replace_copy` is not found with libstdc++14 because it requires the algorithm header to be included
2024-07-10 17:21:42 -07:00
Ashley Rogers 7e5270a2dc Merge branch 'main' of github.com:CesiumGS/cesium-native into shared-assets 2024-07-10 16:00:40 -04:00
Ashley Rogers 40806a24c7 Add ability for images to be shared between glTFs 2024-07-10 16:00:31 -04:00
Brian L 7e12ede186 Merge branch 'gltf-ray-intersect' into height-query 2024-07-10 10:00:57 -06:00