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

Billboards appear partially under terrain when using viewerCesiumInspectorMixin #12419

Open
aniledev opened this issue Jan 8, 2025 · 0 comments

Comments

@aniledev
Copy link

aniledev commented Jan 8, 2025

What happened?

When extending the Cesium Viewer with the Cesium.viewerCesiumInspectorMixin, all BillboardGraphics added to the scene appear partially or completely under the terrain, regardless of the heightReference setting. This issue persists with all variations of Cesium.HeightReference.

Cesium Billboard and label sandcastle with no cseium inspector mixin. Shows billboards correctly placed. Not appearing below terrain.

image

Cesium billboards with viewer extended with cesium inspector. Billboards are incorrectly placed when inspector is present.

image

Reproduction steps

  1. Create billboard using Cesium.CzmlDataSource.load(czml) as shown in the Sandcastle
  2. Extend viewer with viewerCesiumInspectorMixin
  3. Double click on AGI billboard entity to zoom in
  4. See that the billboard is cut off by the terrain

When the same steps are followed and the viewer is not extended, the billboard is not cut off by terrain

Sandcastle example

https://sandcastle.cesium.com/#c=dVVtc6o4FP4rGb+0nbEgvuu1ziq+XK3aq4htvXZ2QgiQGgIGEO2d/vcNWFm77fohIU+e8+TknJwj8lgQAvTmUnAHfm8YAH+SAQBiNsEmZ3oocjELN7n8CWbQxclGFwYEAXU9nQCDUGp4kJsAMhNQaGCa0feYB8RjiYUiFT7g9/yXcwLPxbcRI7sI3xLzy2md4SjDTBwgTvwwkT0hQDBafrsFgcOxdXflhKHflOU4jiVoEwl57hUIIbdxeHf1t0Eh2161OwzSY0gQpGDIoe8QFOTBiCGpJcM2uBYH3gDLi5iJTaDigESu2PHbmRfZpZvni4iruNDGmU+JVyYMYTOFZZ/ZPwwY4Go5T1bdh0VcuB/aXkf8Zpru9HVbfHWTZWeudp6T2arLDSdFnmbaojDq8KCMqvMEWLC5rgi2eniN9/XnuZ6AY9R31ijudHrBVCxrvQ4y97thYqDuNX3RXfWcX3zdW/TQ1O519MZwNyvQ0Rt5jauabozHR1vHs7mt7bA/Xh5/DhvKZLXy455pHaalZWOpUaX/tN73YkLKNcUi+/taCXUHg/lsuZTN4r039K3hg6+Nto7u2/r0sGv0Bv3gcV8ePTn0qDKnO2BrNOj3o+edQXQ6ix/t6dLk69LYmA+8/mpYKXGz/hYOG/DXeMq6+tySVwMOu2P8yCZaYWG9GvfHybhTH2yXlQD3njVlHh/39bDQlStqce3+LMp4OZzNuvbUTWPXp4PlVovmrqpmyQMgEIkXL6soVT6g9485fb4XObVEnlWPevwCA4DbBmyC38VKJQ8+DS/ZCe/Zl+WxMC2Aoh+CSYSICYEqys6j+MIjx+PkTTAhfeDEJmnJTPqD5QXFJwdMHywrwOEnbxDkoXiikBWFT/U8KHznRRAeaVpLg9FkciEa4kP43xITbMeLuxBtbZ7UQBOEPMLZppFt/G9kFKWYB/VGHlRqIi6Fbzw6z74XkLSW/1XJ7pMIFZVqqapI5UKj2hCvThF6t+VaqVqslCSlVimVixVFyYNyoa4UqzWpXK9WqtVaoVF++XRQMr782LANQ2nH2xMcYy56HsPxucBXKXa9yaF0rSbZIAzzTe4mtZTljnnuBqJXBD5Gocc37KQliUBiZl5/iJ3A0yLjTsmBsLMYSNSyPhIAi3tu2okzxaR9aF7EhT8SNDNpVXB62ZZEPWheJ3Y3iXIun2uluW6fw/kXcX2PhyDi9FqS5BC7PoUiwLIRoS0OJRQEiWFCbcmXpi2T7EV/vvsmIABRGARix4oo1cibeMntliz4X0wT7wizH8Q/AYXHhOYo7ckJlCTRVMXye8vQ86gB+YXyifEP

Environment

Browser: Chrome Version 131.0.6778.205 (Official Build) (64-bit)

CesiumJS Version: 1.125

Operating System:
Editiob: Windows 11 Business
Version: 23H2
OS build: 22631.4602

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

1 participant