Camera going through Terrain

1. A concise explanation of the problem you’re experiencing.

The camera goes through the terrain and then renders from underground.

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

The terrain sandcastle application.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

We want to keep the camera above the terrain. The camera does snap back above the terrain, but you can get some views that look kind of bad. See attachment. Is this a known issue?

4. The Cesium version you’re using, your operating system and browser.

Current version of Chrome, Windows 10, Cesium 1.42

Hi Scott,

Yes, the is a known problem, we’re tracking in #5999. The camera is allowed to “pass through” the terrain until loading is complete, which allows these views.

There’s been a PR opened to fix, #6012, but a consensus has not yet been reached about the best way to solve the issue. If you have any input, let us know there!

Thanks,

Gabby