Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera stops working close to ground #11985

Open
mramato opened this issue May 14, 2024 · 3 comments
Open

Camera stops working close to ground #11985

mramato opened this issue May 14, 2024 · 3 comments

Comments

@mramato
Copy link
Contributor

mramato commented May 14, 2024

  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.

@cddhq
Copy link

cddhq commented May 17, 2024

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

@gammaxy1
Copy link

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

@ggetz
Copy link
Contributor

ggetz commented May 30, 2024

Thanks for the clue @gammaxy1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants