cesium icon indicating copy to clipboard operation
cesium copied to clipboard

Google Photorealistic 3D Tiles Polygon Classification

Open AnDuong249 opened this issue 7 months ago • 2 comments

Hello,

We are currently developing a boundary system for our iTwin Viewer, which involves rendering a polygon that outlines the boundary of a tileset, as illustrated below:

Image

However, we ran into an issue when enabling Google Photorealistic 3D Tiles. As shown in the following example, the Google tiles overlay and obscure the boundary polygon:

Image

While setting the polygon’s ClassificationType to BOTH or 3D_TILE allows it to appear on top of the Google tiles—similar to the behavior demonstrated in this Sandcastle example—this approach causes the polygon to classify all 3D tiles, not just the Google Photorealistic 3D Tiles, which is not what we want. Is there anyway for us to render the polygon on top of Google Photorealistic 3D Tiles while not affecting the other 3d tilesets?

Image

Sandcastle

AnDuong249 avatar May 20 '25 22:05 AnDuong249

  • @ggetz

jason-crow avatar May 21 '25 13:05 jason-crow

Just to have the connection: This is also discussed in the forum at https://community.cesium.com/t/google-photorealistic-3d-tiles-polygon-classification/41010 (with the first response containing a few possible approaches, but further details can be discussed there).

javagl avatar May 30 '25 21:05 javagl