Commit Graph

402 Commits

Author SHA1 Message Date
Kevin Ring 063ee500cc Fix merge problem. 2025-09-29 17:35:52 +10:00
Kevin Ring 0ca86eed13 Merge remote-tracking branch 'origin/main' into fix-issue-1225-terrain-header-not-propagated 2025-09-29 17:19:12 +10:00
Janine Liu 8dc2f5fbb5 Formatting 2025-09-26 15:15:37 -04:00
Janine Liu 5c28e257c0 Don't hardcode WGS84 in TilesetHeightQuery 2025-09-26 14:55:17 -04:00
Frédéric Trastour 5de826e8e7
Merge branch 'main' into fix-issue-1225-terrain-header-not-propagated 2025-09-19 15:28:22 +02:00
Frederic Trastour 6f095361c9 Fix issue #1225 - Custom headers are just for accessing the top .json file but are not used when accessing subfiles (.terrain) 2025-09-17 18:23:05 +02:00
Kevin Ring fd116c8011 loadTileImage receives const RasterOverlayTile. 2025-09-09 18:24:28 +10:00
Kevin Ring 1bceed75ef Remove unnecessary casts. 2025-08-20 12:36:27 +10:00
Janine Liu d381a1428e
Merge branch 'main' into const-get-root-tile 2025-08-19 11:55:18 -04:00
Kevin Ring ccf0d99b99 Add test case and update CHANGES.md. 2025-08-15 16:22:43 +10:00
Kevin Ring ecebbcd3fd TileLoadRequester returns const Tiles. 2025-08-11 13:08:49 +10:00
Kevin Ring baa5b65ecb Make tiles in ViewUpdateResult const, too. 2025-08-08 18:55:31 +10:00
Kevin Ring b069b86ea6 Remove non-const version of getRootTile. 2025-08-08 14:30:06 +10:00
Kevin Ring b84477b30a Fix tests. 2025-07-28 18:59:18 +10:00
Tim Moore b8316db31b Merge remote-tracking branch 'origin/main' into instance-batch-id-fix 2025-06-30 19:22:02 +02:00
Tim Moore 3370639b42 Fix bug in conversion of i3dm batch Ids to feature Ids + unit test
The unit test exposed a pernicious bug: The EXT_instance_features
feature Ids created from i3dm batch Ids were garbage: they were copied
from the wrong memory location.
2025-06-30 19:18:53 +02:00
Janine Liu b6a27db531 Fix bad access, add unit test 2025-06-13 11:32:33 -04:00
Janine Liu 790bb78b86
Merge pull request #1178 from CesiumGS/works-on-mac-with-cmake4
Several maintenance items
2025-05-19 11:35:33 -04:00
Janine Liu f02568f327
Fix typo 2025-05-19 10:40:23 -04:00
Kevin Ring 9fa46f711a Add octree loaded test. 2025-05-19 17:21:16 +10:00
Kevin Ring 9218edbf93 Add test for ref count of empty content tiles in QuadtreeLoader. 2025-05-19 17:11:35 +10:00
Kevin Ring 6ba15b9628 Fix test failure on ARM64 macOS.
The test was moving the camera in such a way that that the tile was no longer in the view frustum. The only reason it was passing on any platform was because the camera would still be just inside the tile, and so the rule that we don't cull tiles under the camera would apply. But on ARM64 macOS, the camera ends up being very very slightly outside the tile instead of very slightly inside, and so the test fails.

The change here is to keep the tile inside the frustum, as was intended in the first place.
2025-05-19 16:41:46 +10:00
Kevin Ring 4a433d46dd Require TileID to Tile constructors taking content.
This way the content reference count, which is only added when the tile
has an ID, can be correctly accounted for.
2025-05-16 14:55:01 +10:00
Janine Liu 2dcabd69a8 Remove calls to ViewState::create 2025-04-29 10:24:44 -04:00
Janine Liu c0fd95bb68
Merge branch 'main' into multiple-views 2025-04-29 10:05:47 -04:00
Kevin Ring f7904505c8
Merge pull request #1135 from CesiumGS/orthographic
Orthographic
2025-04-29 14:10:52 +10:00
Janine Liu d861c19639
Merge branch 'main' into i3dm-empty-error 2025-04-28 13:54:13 -04:00
Janine Liu 70b97bb614 Fix failing unit test 2025-04-28 11:30:03 -04:00
Janine Liu fc83ace731
Merge branch 'main' into multiple-views 2025-04-28 10:06:54 -04:00
Tim Moore 9eed8f6879 Add test case
Thanks to @javagl for the test case
2025-04-24 18:51:55 +02:00
Tim Moore 47546bc4b6 Deprecate ViewState::create functions in favor of constructors 2025-04-23 19:07:10 +02:00
Kevin Ring cc4e1a537c Deprecate updateView / updateViewOffline. 2025-04-23 20:48:40 +10:00
Kevin Ring 00c575d1b5 More ref count cleanup, fix tests. 2025-04-17 15:40:10 +10:00
Kevin Ring 41889dcfee Tile::Pointer and other cleanup. 2025-04-15 16:55:18 +10:00
Kevin Ring a6e9fde01d Only store one reference count on Tile. 2025-04-14 17:27:36 +10:00
Kevin Ring abb8d3370c Don't enumerate root tile if it / descendants are not loaded. 2025-04-11 17:07:34 +10:00
Kevin Ring c09bd48d77 Add basic TilesetViewGroup test. 2025-04-08 13:46:45 +10:00
Kevin Ring 9c0dc55bf0 Fix clang warning. 2025-04-07 14:25:00 +10:00
Kevin Ring 91090b87c0 Test cleanup. 2025-04-07 12:26:50 +10:00
Kevin Ring 499ef058fd Add TileLoadRequester tests. 2025-04-07 12:15:49 +10:00
Kevin Ring 4141a83b59 Merge remote-tracking branch 'origin/multiple-views' into multiple-views-credits 2025-04-02 17:24:49 +11:00
Kevin Ring 260e80357c Merge remote-tracking branch 'origin/main' into multiple-views 2025-04-02 17:22:47 +11:00
Ashley Rogers 6b1c311992 Pass bounding volumes to prepareInLoadThread 2025-04-01 14:03:03 -04:00
Kevin Ring e9eb9e9e7f New retained mode CreditSystem.
Not hooked up to Tileset yet.
2025-03-28 18:32:35 +11:00
Kevin Ring fd2359cc92 Re-enable selection tests. 2025-03-16 20:43:52 +11:00
Kevin Ring 2e0588186c Improve TreeTraversalState, write tests. 2025-03-14 19:16:05 +11:00
Kevin Ring 8010ede58f Reactivate TilesetSelectionAlgorithm tests. 2025-03-11 22:18:04 +11:00
Kevin Ring a213d8a3d4 Re-renable TilesetContentManager tests. 2025-03-11 22:07:33 +11:00
Ashley Rogers bfbfebdb7e ITwinCesiumCuratedContentLoader + Tileset constructor refactor 2025-03-04 17:17:41 -05:00
Kevin Ring 0092b7b84e Merge remote-tracking branch 'origin/main' into multiple-views 2025-03-04 15:36:27 +11:00