Kevin Ring
b069b86ea6
Remove non-const version of getRootTile.
2025-08-08 14:30:06 +10:00
Brendan Duncan
0ab8381d61
Fix up wasm32 cmake build
2025-08-07 22:22:44 -06:00
Kevin Ring
a881777142
clang-tidy
2025-07-29 08:12:22 +10:00
Kevin Ring
eeaf0c9aaf
Fix CesiumIonTilesetLoader token refresh crash.
2025-07-28 21:06:53 +10:00
Kevin Ring
b84477b30a
Fix tests.
2025-07-28 18:59:18 +10:00
Kevin Ring
61b4758698
Working token refresh for Bing.
2025-07-28 18:07:23 +10:00
Kevin Ring
f871367343
Separate ion token refresh from CesiumIonTilesetLoader.
2025-07-24 15:24:26 +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
1b05a68172
Merge branch 'main' into tileset-voxel-extension
2025-06-18 12:17:41 -04:00
Janine Liu
b6a27db531
Fix bad access, add unit test
2025-06-13 11:32:33 -04:00
Janine Liu
ed374fd01f
Merge branch 'main' into tileset-voxel-extension
2025-06-13 10:11:33 -04:00
Brody
1fe335be4d
Skip Authorization header when loading assets without access token.
2025-06-12 18:19:54 -04:00
Janine Liu
e2cd486248
Formatting
2025-06-12 15:10:01 -04:00
Brody Michaels
1fbbd1be17
Explicit Cast Use
...
Co-authored-by: Janine Liu <32226860+j9liu@users.noreply.github.com>
2025-06-12 12:12:01 -04:00
Brody Michaels
bc1e8802b4
Wording Nitpick
...
Co-authored-by: Janine Liu <32226860+j9liu@users.noreply.github.com>
2025-06-12 12:11:27 -04:00
Janine Liu
545133303e
Add url fallback
2025-06-12 11:58:27 -04:00
Janine Liu
a648d9d113
Merge branch 'main' into tileset-voxel-extension
2025-06-06 16:02:54 -04:00
Brody
a00894333a
Fixed incorrect handling of legacy maximumLevel property in TilesetJsonLoader.cpp by adding one to availableLevels when implicit loader for it is created.
2025-06-05 13:19:36 -04:00
Ashley Rogers
46f24b9725
Fix raster overlays used with ellipsoid tileset
2025-06-04 15:39:53 -04:00
Janine Liu
912ca92506
Remove const
2025-05-30 14:10:43 -04:00
Janine Liu
bfc163df95
Fix formatting
2025-05-30 12:42:58 -04:00
Janine Liu
01d67df2e5
Remove leftover code, other cleanup
2025-05-30 12:28:26 -04:00
Janine Liu
25e0520105
Make TileExternalContent extensible instead.
2025-05-30 12:24:35 -04:00
Janine Liu
7a9c2f1dba
Formatting, docs, changelog entry
2025-05-29 15:28:26 -04:00
Janine Liu
3a53e70279
Fix potential nullptr dereference, other cleanup
2025-05-29 15:17:06 -04:00
Janine Liu
fe8d106f98
Add getVoxelContentExtension
2025-05-29 15:01:41 -04:00
Janine Liu
5807e5d37b
Use optional instead of pointer
2025-05-29 15:01:27 -04:00
Janine Liu
44567d1362
Allow access to root content voxel extension
2025-05-29 14:59:46 -04:00
Janine Liu
4afe6ee59c
Include status code in move constructor
2025-05-23 11:53:37 -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
7ec3d23632
Apply typo fixes.
2025-05-19 10:00:09 +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
3560039c0d
Include Tile.h in header
2025-04-29 12:00:48 -04: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
Tim Moore
f8f6207324
Change incorrect comment
2025-04-28 17:59:14 +02: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
Janine Liu
0ca412f0be
Merge pull request #1148 from CesiumGS/bounding-volume-load-thread
...
Pass tile bounding volumes to `prepareInLoadThread`
2025-04-28 09:57:01 -04:00
Kevin Ring
e5c0fa81d0
Merge remote-tracking branch 'origin/main' into orthographic
2025-04-28 16:05:51 +10:00
Kevin Ring
cd5d4afe24
Merge remote-tracking branch 'origin/main' into multiple-views
2025-04-28 14:10:59 +10:00
Ashley Rogers
bd1dc40616
Update doc comment
2025-04-25 12:00:58 -04:00
Ashley Rogers
14ced693a1
Merge from main
2025-04-25 11:52:54 -04:00
Tim Moore
eed64b15c0
Remove unused include of CesiumGeospatial/Cartographic.h
...
Caught by clang-tidy
2025-04-25 12:16:11 +02:00
Tim Moore
099d8c14ca
Add change log note and run format
2025-04-25 10:56:33 +02:00
Tim Moore
9eed8f6879
Add test case
...
Thanks to @javagl for the test case
2025-04-24 18:51:55 +02:00
Janine Liu
ad575e3636
Merge pull request #1160 from CesiumGS/multiple-views-more
...
Multiple views: Some final improvements from review
2025-04-24 11:27:33 -04:00
Janine Liu
8a430741bc
Use hasReferencingContent in assert
2025-04-24 10:28:10 -04:00
Kevin Ring
0a939838cc
Clear raster overlays attached to non-render content.
2025-04-24 20:47:13 +10:00
Kevin Ring
d94e7d4865
Merge remote-tracking branch 'origin/multiple-views-one-reference-count' into multiple-views-more
2025-04-24 13:22:36 +10:00
Kevin Ring
ce2c0b482b
Address review comments.
2025-04-24 13:18:28 +10:00
Janine Liu
bec1332b48
Update doc for correct method
2025-04-23 16:41:29 -04:00
Tim Moore
47546bc4b6
Deprecate ViewState::create functions in favor of constructors
2025-04-23 19:07:10 +02:00
Tim Moore
8852b81214
Merge branch 'main' into orthographic
2025-04-23 18:41:59 +02:00
Kevin Ring
87c9ae7465
Doc improvements.
2025-04-23 20:58:49 +10:00
Kevin Ring
cc4e1a537c
Deprecate updateView / updateViewOffline.
2025-04-23 20:48:40 +10:00
Kevin Ring
6107fecb19
Add updateViewGroupOffline method.
2025-04-23 17:44:35 +10:00
Kevin Ring
74b919d410
Merge remote-tracking branch 'origin/multiple-views' into multiple-views-one-reference-count
2025-04-23 15:47:06 +10:00
Kevin Ring
c6c498eec1
Merge remote-tracking branch 'origin/main' into multiple-views
2025-04-23 15:46:32 +10:00
Kevin Ring
37cbd9c3bb
clang-tidy.
2025-04-17 21:16:02 +10:00
Kevin Ring
c19cbe1633
Clang-tidy
2025-04-17 19:46:04 +10:00
Kevin Ring
4d2241d3db
Fix clang warnings.
2025-04-17 18:14:53 +10:00
Kevin Ring
4de9c081fb
More cleanup.
2025-04-17 18:03:14 +10:00
Kevin Ring
463b91bdd3
Add some doc, simplify some logic.
2025-04-17 17:54:51 +10:00
Kevin Ring
6415b9a29f
Remove unnecessary changes.
2025-04-17 17:46:41 +10:00
Kevin Ring
ba8d790013
Fix assertion failure.
...
Caused by tiles that are not eligible for unloading still being loaded
when cleared.
2025-04-17 17:19:56 +10:00
Kevin Ring
00c575d1b5
More ref count cleanup, fix tests.
2025-04-17 15:40:10 +10:00
Kevin Ring
a973df464b
Keep TilesetContentManager alive while Tiles are alive.
2025-04-17 10:53:01 +10:00
Kevin Ring
9a4a3e3e78
Revert "Remove CESIUM_DEBUG_TILE_UNLOADING."
...
This reverts commit 6ee6210f78 .
2025-04-16 15:53:44 +10:00
Kevin Ring
79bfe21186
Add some assertions.
2025-04-16 15:53:12 +10:00
Kevin Ring
0b0cb86831
clang-tidy
2025-04-15 18:32:30 +10:00
Kevin Ring
23fc5b27ab
Comment tweak.
2025-04-15 17:52:41 +10:00
Kevin Ring
5fc9ed5dae
Rename functions.
2025-04-15 17:49:14 +10:00
Kevin Ring
4f29c7b734
Assert that content isn't set twice.
2025-04-15 17:44:05 +10:00
Kevin Ring
a2657e356b
Remove rambling and redundant comment.
2025-04-15 17:30:14 +10:00
Kevin Ring
6ee6210f78
Remove CESIUM_DEBUG_TILE_UNLOADING.
...
Unfortunately there's no good way to support this sort of thing, now
that almost all of the reference counting is managed by
IntrusivePointer.
2025-04-15 17:25:42 +10:00
Kevin Ring
841344831b
Hold IntrusivePointer during Tile loading.
2025-04-15 17:02:22 +10:00
Kevin Ring
41889dcfee
Tile::Pointer and other cleanup.
2025-04-15 16:55:18 +10:00
Kevin Ring
818e4fccc3
More reference counting doc.
2025-04-15 16:12:54 +10:00
Kevin Ring
6e4b13f994
Fix clang-tidy warnings.
2025-04-14 19:33:37 +10:00
Kevin Ring
c31e1da475
Fix broken link in doc.
2025-04-14 19:31:07 +10:00
Kevin Ring
a6e9fde01d
Only store one reference count on Tile.
2025-04-14 17:27:36 +10:00
Kevin Ring
3da6ea131b
Improvements from review.
2025-04-11 18:35:46 +10:00
Kevin Ring
3dd746be7c
Rename _tilesAlreadyLoading -> _tilesAlreadyLoadingOrUnloading.
2025-04-11 18:20:04 +10:00
Kevin Ring
1c184ccc1b
Use member function pointers instead of templates / lambdas.
2025-04-11 18:07:32 +10:00
Kevin Ring
97dcc14d2d
Doc improvements.
2025-04-11 18:05:21 +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
05e6e12060
clang-tidy warnings.
2025-04-11 15:44:01 +10:00
Kevin Ring
300804cc3f
Merge remote-tracking branch 'origin/main' into orthographic
2025-04-11 08:20:39 +10:00
Kevin Ring
c3da20ed40
Formatting, add missing doc.
2025-04-11 08:08:23 +10:00
Tim Moore
1230be4aca
ViewState constructor for orthographic projection
2025-04-10 17:36:11 +02:00
Kevin Ring
a25233bb24
Changes from review.
2025-04-10 15:46:42 +10:00
Kevin Ring
b1d845611a
Better TileLoadTask ordering.
2025-04-08 18:29:13 +10:00