Open mramato opened 8 years ago
Looks like this happens on the first terrain height request of a new tile. To see it more clearly:
Terrain -> Show tile coordinates
viewer.extend(Cesium.viewerCesiumInspectorMixin);
It seems there can be a lot of jitter even if we don't have any terrain loaded.
There's also jitter if RELATIVE_TO_GROUND is used:
Looks like this happens on the first terrain height request of a new tile. To see it more clearly:
- Zoom out a bit so lower LOD tiles are loaded
- Make the animation speed something like 0.5x
- Use the Cesium inspector to turn on
Terrain -> Show tile coordinates
viewer.extend(Cesium.viewerCesiumInspectorMixin);
The amount of jitter seems to be reduced if "Suspend LOD update" is checked. However, there's still some larger jitter at the end of this clip:
It looks like it's the camera that jitters rather than the model, as the motion appears smooth when the camera isn't tracking the entity.
Noticed while reviewing #3903. Here's a sandcastle example which creates a circular flight with altitude of 0 and then clamps to terrain. There is really jerky camera or entity motion as it animates.