Currently, I want to add a layer to a specific area on the building in 3dtitles, and the layer should be an RGB grid generated according to certain rules. How can I do this
Hi @supershunan, welcome to the community!
Can you explain a little more what you mean by a “RGB grid”?
I can think of two possibly relevant approaches:
- Draping imagery on 3D Tiles. This is a relatively new feature in CesiumJS, which you can read about in Draping Imagery over 3D Tiles in CesiumJS – Cesium.
- Classification of 3D tiles, overlaying a color in an area defined by a polygon. You can read about this in Dynamically Annotating 3D Tiles in CesiumJS – Cesium
Both of those articles include Sandcastle links with working code examples.
Let me know if I misunderstood what you are trying to do.