cesium icon indicating copy to clipboard operation
cesium copied to clipboard

Camera stops working close to ground

Open mramato opened this issue 1 year ago • 3 comments

  1. Go to http://localhost:8080/Apps/Sandcastle/index.html?src=Google%20Photorealistic%203D%20Tiles.html
  2. Navigate to the soccer field right near the starting camera location: Screenshot_20240514_183726
  3. Zoom in close.
  4. You can no longer pan, the camera is mostly stuck. Here is my view when this happens: Screenshot_20240514_183826

This happens in a bunch of 3D Tiles tilesets, Google was just the easiest to explain.

I was hoping the recent picking fixed would have addressed this, but it's still an issue in main.

mramato avatar May 14 '24 22:05 mramato

I also encountered this problem where the custom material froze in a low perspective and stopped flowing, but the console did not report any error messages 1715917856940

cddhq avatar May 17 '24 03:05 cddhq

I found the code that causes the behavior, but it is protecting against issues with the camera panning below the ground so simply removing it is worse behavior. https://github.com/CesiumGS/cesium/blame/5fda45a5861ca67291ff55655c9c395b8a06d20d/Source/Scene/ScreenSpaceCameraController.js#L1875

gammaxy1 avatar May 29 '24 22:05 gammaxy1

Thanks for the clue @gammaxy1!

ggetz avatar May 30 '24 13:05 ggetz