cesium 3dtiles Define blending translucent.
Hi there,
Can you be more specific about your question or discussion topic? Perhaps provide a code sample?
Thanks,
Gabby
http://www.bimshow.net/sceneShow?pid=d351b6e7-a507-40b3-9633-ea07cf97f4c7
It’s like this.
在 2017年12月23日星期六 UTC+8上午2:51:07,Gabby Getz写道:
Thanks for the example. You should be able to color parts of the BIM model with the styling language, provided parts of the BIM model are assigned different attribute names or ID’s, like in this thread. To make a color translucent, just add an additional alpha component, and use rgba.
tileset.style = new Cesium.Cesium3DTileStyle({
color: {
conditions: [
["${name} === 'Barrel.003'", "rgba(54, 98, 2, 1.0)"],
["${name} === 'Barrel.002'", "rgba(150, 255, 7, 1.0)"],
["${name} === 'Barrel.001'", "rgba(56, 0, 255, 1.0)"],
["true", "rgba(255, 255, 255, 0.2)"]
]
}
});
``
Thanks,
Gabby