Styling outline of features in a 3D Tileset

102 views
Skip to first unread message

mholt...@gmail.com

unread,
Sep 18, 2019, 4:44:50 AM9/18/19
to cesium-dev
Is it possible to style the outline of a feature in a 3D Tileset with another color than used for filling the object?
I used the color-Property of Cesium3DTileStyle to style the features.

Omar Shehata

unread,
Sep 18, 2019, 2:26:37 PM9/18/19
to cesium-dev
Are you styling the outline using the silhouette post-processing like in this Sandcastle?


If so, that's an independent system from the 3D Tiles Styling language itself, so you should definitely be able to pass a different color to that than to the feature style. 

mholt...@gmail.com

unread,
Sep 19, 2019, 2:23:17 AM9/19/19
to cesium-dev
Not yet, but is this also suitable not for just picking one selected feature but also to colorize all outlines of a feature displayed in the scene?

Omar Shehata

unread,
Sep 19, 2019, 4:18:31 PM9/19/19
to cesium-dev
Yeah, you can pass an array of features, not just a single selected feature at a time. 

mholt...@gmail.com

unread,
Sep 20, 2019, 3:30:56 AM9/20/19
to cesium-dev
Okay, thank you.
Reply all
Reply to author
Forward
0 new messages