I’m working on putting in some 3D models of a city as 3D Tiles in Cesium. These files are generated from some .dwg files. What I want to achieve is to convert the city model into 3D Tile and allow the user to pick a building, which provides an id and be used as a lookup key for more information about the building.
The problem I haveis when using the code example from
instead of the entire building having a color change (what I want to achieve), only the triggering (picked) triangle turns into yellow (see the image below).
I believe this is because when the meshes are created in the original file, all the building features are triangles. Is there any way I can “box up” those triangles for each building into a single box?
I’m using Cesium 1.41, on Windows 10 64-bit, through Chrome. Though I don’t think this matters much.
Thanks a lot for your suggestions!