I added extra custom attribute values to a .obj model on Blender and saved as a glTF 2.0 file. The file contains the extra values when inspected on VS code, attached to the mesh (there are different values columns, each attached to 1 building mesh).
When I import the asset to Cesium either as .glTF or as map tile, it is not able to read these added attributes.
I want to see these extra attributes when I hover over a building - it is from a different analysis. How can I do this? The code from sandcastle is failing as I also do not understand very well how to modify it.
I can load the model in a local server and see it, but that is it.
Hi,
Can you please let me know what format you are exporting from Blender and which options you are choosing while uploading to Cesium ion?
If you could also provide me with an asset id that would be very helpful.
Thanks,
Ankit
Hi! I am exporting as gltf 2.0 from blender, and I have uploaded it as gltf and also as map tile onto Cesium.
Hi,
Currently our tilers don’t carry forward metadata for files exported from Blender. But this is something that we are actively working on supporting. Supporting metadata is in our road map and we should be adding that ability in our tilers very soon.
Thanks,
Ankit
One option here would be to pick the 3D Model (covert to gltf)
and disable Optimize for rendering
which will allow you to host the gltf on ion without converting it to 3D Tiles.
This should carry forward the metadata but you won’t be able to see the extra attributes when hovering over a building. You will need to visualize it with a custom shader