You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a Cesium3DTileset is constructed with maximumCacheOverflowBytes: 0, it is possible for the screen space error adjustment to enter an infinite loop.
There are two adjustments to the screen space error that can happen depending on the current memory usage of the tileset (see #11310):
When Cesium3DTileset.totalMemoryUsageInBytes increases above cacheBytes + maximumCacheOverflowBytes, the memoryAdjustedScreenSpaceErrror will be increased until the requested tiles use less than cacheBytes + maximumCacheOverflowBytes
When memory usage drops below cacheBytes, then memoryAdjustedScreenSpaceError will be adjusted lower, until either (a) the requested tiles use more than cacheBytes, or (b) memoryAdjustedScreenSpaceError is equal to the user-defined maximumScreenSpaceError
If maximumCacheOverflowBytes is less than the size of one tile, then either adjustment can potentially trigger the other adjustment, resulting in an infinite loop.
At a minimum, we need to clarify the docs:
The doc for maximumCacheOverflowBytes should include some guidance on good minimum values
The read-only memoryAdjustedScreenSpaceError is important information for the user, and should be exposed and documented (it is currently set to private)
The text was updated successfully, but these errors were encountered:
If a
Cesium3DTileset
is constructed withmaximumCacheOverflowBytes: 0
, it is possible for the screen space error adjustment to enter an infinite loop.There are two adjustments to the screen space error that can happen depending on the current memory usage of the tileset (see #11310):
Cesium3DTileset.totalMemoryUsageInBytes
increases abovecacheBytes + maximumCacheOverflowBytes
, thememoryAdjustedScreenSpaceErrror
will be increased until the requested tiles use less thancacheBytes + maximumCacheOverflowBytes
cacheBytes
, thenmemoryAdjustedScreenSpaceError
will be adjusted lower, until either (a) the requested tiles use more thancacheBytes
, or (b)memoryAdjustedScreenSpaceError
is equal to the user-definedmaximumScreenSpaceError
If
maximumCacheOverflowBytes
is less than the size of one tile, then either adjustment can potentially trigger the other adjustment, resulting in an infinite loop.At a minimum, we need to clarify the docs:
maximumCacheOverflowBytes
should include some guidance on good minimum valuesmemoryAdjustedScreenSpaceError
is important information for the user, and should be exposed and documented (it is currently set to private)The text was updated successfully, but these errors were encountered: