Commit Graph

5086 Commits

Author SHA1 Message Date
Kevin Ring e028059185 Update CHANGES.md. 2024-06-28 18:40:22 +10:00
Tim Moore c6de588e14 Strip trailing whitespace from i3dm external content URL
This whitespace may be added to keep the size of an i3dm file 8 byte
aligned.
2024-06-27 19:16:49 +02:00
Tim Moore ef1438fa25 Modify comment 2024-06-27 19:14:59 +02:00
Kevin Ring 08cbbeab4f Update CHANGES.md and reference doc. 2024-06-27 22:08:21 +10:00
Kevin Ring 19f832cd2b Remove degenerate triangle test from 2D pointInTriangle. 2024-06-27 22:05:15 +10:00
Kevin Ring 75cc378aa7 Union with tight-fitting rectangle. 2024-06-27 18:57:17 +10:00
Kevin Ring a67c65fdd1 Upsample with raster overlay rectangle instead of content rectangle.
A detailed explanation is here:
https://github.com/CesiumGS/cesium-unreal/issues/1461#issuecomment-2193873408
2024-06-27 18:41:05 +10:00
Kevin Ring fd524ff07a Remove debugging code 2024-06-27 18:26:32 +10:00
Kevin Ring 3e612ec92e Add some assertions. 2024-06-27 18:20:08 +10:00
Tim Moore e6ec85d078 run format 2024-06-26 10:47:10 +02:00
Tim Moore 9aaeb639e7 AssetFetcher: keep a copy of request headers instead of a reference
This was a bug waiting to happen and should always have been a
copy. Fortunately, the new use of the AssetFetcher to resolve external
data for i3dm files provoked a crash in the tests.
2024-06-26 10:38:22 +02:00
Tim Moore 8fc74b6aac Add all members for ErrorList initializer lists and others
gcc / clang is less tolerant than Visual Studio, which lets one leave
off the trailing members of a braced initializer list.
2024-06-26 12:18:26 +02:00
Kevin Ring dbc8e11858
Merge pull request #915 from CesiumGS/uwp-assert
Add missing header in UWP build.
2024-06-26 14:50:32 +10:00
Kevin Ring 5abceec862 Add missing header in UWP build. 2024-06-26 14:42:13 +10:00
Kevin Ring aab5cb9031 Merge remote-tracking branch 'origin/main' into i3dm-misc-fixes 2024-06-26 08:46:24 +10:00
Kevin Ring 0c9d4b8db2
Merge pull request #909 from CesiumGS/create-loader-future
Change `TilesetJsonLoader::createLoader` overload to return `Future`
2024-06-26 08:41:41 +10:00
Kevin Ring c664a40208 Merge remote-tracking branch 'origin/main' into create-loader-future 2024-06-26 08:31:35 +10:00
Kevin Ring c7dab324bc
Merge pull request #910 from Ulvesson/fixed_compiler_warnings
Fixed build warning - I3dmToGltfConverter.cpp:634:14: error: ‘positio…
2024-06-25 21:04:12 +10:00
Kevin Ring dd8af15dbe Formatting, tweaks, CHANGES.md. 2024-06-25 20:51:37 +10:00
Tim Moore 2283f5c380 Add axis argument to Cesium3DTilesContent test code 2024-06-24 15:56:21 +02:00
Tim Moore bd5a4805ab Merge remote-tracking branch 'origin/main' into i3dm-misc-fixes 2024-06-24 15:02:17 +02:00
Tim Moore 9c9a5d9dc2 Resolve external data for external i3dm glb content
Calling GltfReader::resolveExternalData() during the i3dm conversion
correctly handles relative path references in the .glb payload or in
an external .glb file. Leaving it to
Cesium3DTilesSelection::TilesetContentManager::loadTileContent(),
where external data is resolved for normal 3D Tiles, gets relative
paths wrong.

Resolves #905.
2024-06-24 14:53:16 +02:00
Ashley Rogers 5513845b2c
Merge pull request #911 from CesiumGS/cartographic-equals
Added equality operator for Cartographic
2024-06-21 11:05:54 -04:00
Ashley Rogers 9279bf19b0
Merge branch 'main' into cartographic-equals 2024-06-21 11:05:47 -04:00
Kevin Ring 40f276b85b
Merge pull request #907 from CesiumGS/msvc-allow-both-static-dynamic-runtime
Add support for static linking with MSVC runtime library
2024-06-21 16:57:10 +10:00
Kevin Ring 22c3a59fcc
Merge pull request #902 from CesiumGS/add-zero-radii-check
Add check for ellipsoid radii = 0 in `IntersectionTests`
2024-06-21 16:56:29 +10:00
Kevin Ring d2421ba38a
Merge branch 'main' into msvc-allow-both-static-dynamic-runtime 2024-06-21 16:45:48 +10:00
Kevin Ring 6175fd5596
Update CesiumGeometry/src/IntersectionTests.cpp 2024-06-21 16:41:51 +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
Kevin Ring 4a1cd44ad0
ASSERT -> CESIUM_ASSERT 2024-06-21 15:57:54 +10:00
Kevin Ring ea161fa49f
Merge pull request #890 from CesiumGS/custom-ellipsoid
Fully support specifying a custom ellipsoid
2024-06-21 07:51:53 +10:00
Ashley Rogers 7f3dbed76d Can't forget the format! 2024-06-20 14:22:30 -04:00
Ashley Rogers 11f9c0f3e5 Fix more review feedback 2024-06-20 14:21:49 -04:00
Sean Lilley 797df91a19 Added equality operator for Cartographic 2024-06-20 14:17:26 -04: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
Tommy Henriks ee5f635b1d Log warning and continue. Copy default values to the buffer. 2024-06-20 16:16:55 +02:00
Tommy Wohlfart 67fd8b5259 Fixed build warning - I3dmToGltfConverter.cpp:634:14: error: ‘position.glm::vec<3, double, glm::packed_highp>::x’ may be used uninitialized [-Werror=maybe-uninitialized] 2024-06-19 11:59:48 +02:00
Janine Liu 11221f1190 Change request header passthrough, remove wait 2024-06-18 17:44:52 -04:00
Janine Liu ddeb117daf Formatting 2024-06-18 13:54:21 -04:00
Janine Liu 94ce714205 Change TilesetJsonLoader::createLoader to return future 2024-06-18 13:42:19 -04:00
Ashley Rogers 110ff3b009 Fix build 2024-06-14 16:00:44 -04:00
Ashley Rogers 943f06e07b Formatting 2024-06-14 15:34:40 -04:00
Ashley Rogers 65dda8335d Respond to review, cut down on stored ellipsoids 2024-06-14 15:33:47 -04:00
Brian L 6731089edc Add intentionally invalid models, and corresponding unit tests 2024-06-13 15:09:15 -06:00
Brian L df5a3a5581 Rework result of intersect function to include warnings for malformed gltfs 2024-06-13 14:47:52 -06:00
Ashley Rogers 7c01db3ba7 Resolve sign conversion error 2024-06-13 15:00:26 -04:00
Brian L 1f6ac44834 Merge branch 'main' into gltf-ray-intersect 2024-06-12 16:22:01 -06:00
Brian L 7c291b5ea2 Add cube translation test generated from script 2024-06-12 16:13:32 -06:00
Brian L 7bdd2104a5 Change index component types for more unit test coverage 2024-06-12 16:06:29 -06:00