-
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 support for vector tile points clamping #11544
Comments
@ggetz While testing the implementation from my draft PR with the new heightReference options, I found clamping to a 3D tile works if the 3d Tile is added directly to So setting
but not in this case:
This is something I'd like to add support for as part of this issue. Do you have any thoughts as to what that would entail, any pitfalls, etc? I am familarizing myself with both of your recent PRs to get a better understanding but figure you might have some good insight. |
Will open a 2nd PR separate from #11710 to support clamping to tilesets within hierarchies of Primitives. |
Summary:
As stated in the docs, the
classificationType
option forCesium3dTileset
currently ‘... is not supported for points or instanced 3D models.’When used to create tilesets consisting of both line and points entities the classification only applies to the line entities and not the points.
Example:
Cesium3DTileset.fromUrl
can be used to create an instance consisting of lines and labelled points in a Cesium viewer, and providing the optionclassificationType: Cesium.ClassificationType.TERRAIN
will clamp the lines entities to the terrain but not the points.Example code:
Result: Linework entities are clamped to terrain with points floating above.
Request:
Provide classification support for points, in order to enable clamping of instances that consist of both lines and points entities to terrain or other 3d tilesets by providing the
classificationType
option withCesium.ClassificationType.TERRAIN
orCesium.ClassificationType.CESIUM_3D_TILES
values.The text was updated successfully, but these errors were encountered: