Unable to Access Metadata for Individual Meshes from FBX in CesiumJS

I am working with FBX files that include metadata for individual meshes and want to load them in CesiumJS. Since Cesium supports FBX files via conversion to 3D tilesets or glTF through Cesium Ion, I followed this process. However, after loading the converted .glb or tileset in CesiumJS, I am unable to select individual meshes and access their associated metadata.

Issues Encountered:

  1. Accessing Metadata: After loading the converted 3D tileset or .glb file, I cannot select individual meshes to view or interact with their specific metadata. Is there a way to achieve this, or is this functionality currently unsupported?
  2. glTF Conversion Behavior: When converting the FBX file to .glb and loading it using Cesium.Model.fromGltfAsync:
  • I noticed that in Cesium Sandcastle, the object is loaded as an Entity rather than a Primitive.
  • Why is this happening, and is there a recommended way to load the object as a Primitive to have better control over individual mesh interaction?

Expected Behavior:

  • Ability to select individual meshes and load their associated metadata after loading a 3D tileset or .glb file in CesiumJS.

Actual Behavior:

  • Unable to interact with or access metadata for individual meshes.

Any guidance on how to address these issues would be greatly appreciated. Thank you!
fbx file

Hi @Umar_Yaseen ,

Thanks for your post.

For your question regarding glTF conversion behavior, here is an example of loading a glTF from Cesium ion as a primitive instead of as an entity. Cesium Sandcastle

Regarding viewing metadata carried over from your original FBX file, this previous threads details the steps for basic metadata viewing How to make a properties box

Please let us know if these resources are helpful or if you have further questions.
Best,
Luke