-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add clamping functionality directly in CZML and Entity API #7044
Comments
I imagine the most straightforward way to do this would be to extend the HeighReference enum to cover 3D Tiles (probably always terrain and 3d tiles at the same time) |
Also requested in #11305. |
Hi from #11305. I ended up using a Raycast for everything, which looks like:
However, yes, I would love using a direct implementation, and not a hacky workaround. |
From Sean in #8606:
|
Hello! Any news on this implementation? @ggetz We need to get the altitude of a point from 3dTiles Thanks! |
@ddomit Are you looking to clamp a point to the surface of 3D Tiles, or sample the height directly? |
Any new features to implement this? |
The Clamp to 3D Tiles demo in #6934 manually clamps the entity's position to a tileset based on a
scene.clampToHeight
call. It would be convenient to offer this functionality from CZML and the entity API.The text was updated successfully, but these errors were encountered: