How can I render a colored outline around a 3D Tileset?

Hi,

I’d like to display a colored outline around a 3D Tileset. Is there any built-in or recommended approach for this?

I tried using a PostProcess stage, but it appears that PostProcess is not applied to 3D Tiles, so I could not use that solution.

Currently, my workaround is to draw polyline entities along the tileset’s bounding box, but this is not ideal. I’m looking for a way to render the actual edges or an outline of the 3D Tileset itself.

Any suggestions would be appreciated.

Thanks!

I’m not aware of a built-in functionality for that.

Your question seems to be focussed on rendering and it sounds like some of the silhouette-related functionality could over that, but as you mentioned: That is not directly applicable to a whole tileset.

Beyond that, that goal would be trivial to achieve if there was a mechanism to extract the outline of a tileset, and this has been requested several times - the PR 2D Footprints from Cesium3DTileset by alarkbentley · Pull Request #13244 · CesiumGS/cesium · GitHub may have some infos and cross-links to other issues.

Thank you for the clarification.

I understand that rendering an outline around an entire Cesium3DTileset is currently not possible with built-in functionality.

Thank you for your help.