Terrain produces unexpected results in rotatable 2D
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description

```
var viewer = new Cesium.Viewer('cesiumContainer', {
terrainProvider: Cesium.createWorldTerrain(),
sceneMode : Cesium.SceneMode.SCENE2D,
mapMode2D : Cesium.MapMode2D.ROTATE
});
```
[On current Sandcastle](https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=ZY9dT4MwFED/SsPLICEl7tEx4sJ4c84I0Ze+dO2dNpaW3BaWafzvdkOcH327p+c0twNHMig4AJIlMXAgJTjVt/TxzOKZOI+lNZ4rAzhLyTszJBwPiAHdox2UBLyeQoHAPTxZ1LIZlThJx8QJMLCxEsi3XU+I1mV1V83XX2rLuxOdry/qZkL0YdusmoqZj2QRpVHu/FFDMXY3qu0setKjjinNPLSdDuu4bNeLV/BUOJcsmMmzKcqlGoiSSxb9+SmLiNDcuXCz77Wu1RuwqMiz4P/KtOVSmeftAKj58aS8XBW3I6SU5lkY/1feWr3j+OPFTw)
This is reproducible at least as far back as 1.39 using STK World terrain.
Contributor guide
Research direction
Reproduce the report in the linked Sandcastle using Cesium.Viewer with createWorldTerrain, SCENE2D, and MapMode2D.ROTATE, and compare the result with the attached terrain image. Trace the rotatable 2D terrain rendering path; done means terrain behaves correctly in this configuration and the regression is covered by a suitable test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100