Accessing glTF from 3DTileset

Dependencies:

  • cesium=1.125.0
  • electron=33.3.1
  • http-server=14.1.1

I have an Electron app that is using CesiumJS. I am able to create the viewer and load a 3DTileset that I am serving with http-server through localhost. However, I am not able to access the .glb files that are a part of the tileset using the CesiumJS API.

I would like to access the .glb files so that I can unpack them and access their metadata.

Any assistance or clarification would be much appreciated.

Thank you!

Hi @scordascoARA, would you be able to explain more about your intended use case and the data you’re loading? We have ways to get metadata and feature data from a 3DTileset but I’m not super clear on what you’re after on the specific glb files.

Just some ideas to look into: Cesium3DTileset.asset will have some metadata about the tileset itself, Cesium3DTileset.properties has some data about features, Scene.pick can get some info at the place you pick, similarly you may want to peek at Scene.pickMetadata and see if it fits your usecase.