CesiumGS / CesiumGS/cesium-native
Overlay's textures size
- Dominant language
- C++
- Stars
- 623
- Forks
- 277
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to explicitly define the texture dimensions for tiles?
I understand that raster overlays provide an option for specifying the maximum texture size, but this appears to affect only level-of-detail selection. In my tests, the generated overlay textures have dimensions such as 64×Y and 128×Y pixels, with the value of Y varying considerably.
In light of [issue #1263](https://github.com/CesiumGS/cesium-native/issues/1263), I had assumed that provider textures would be standardized:
> With a “Maximum Texture Size” of 2048, it will often happen that loading raster overlays for a single geometry can require **64 256×256-pixel Bing tiles**.
Is it possible to configure or enforce consistent texture dimensions for raster overlay tiles?
Contributor guide
Research direction
No files or tests are named. Start by tracing the raster overlay maximum-texture-size path and the generation of overlay texture dimensions, then compare the behavior with issue #1263. Done means establishing whether consistent dimensions can be configured or enforced and covering the resulting behavior with appropriate project tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100