-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DTVF: Additional properties in glTF nodes. #422
Comments
I'll use the glTF files I have for MK's house as a test case for this; see if I can add |
Looking at the glTF format, it appears that an A closed Cesium issue appears to suggest extra data is supported for each tileset, or each tile within a set. To select individual assets within a building say, we would need to ability to set extras on a per-node basis. Unfortunately, this does not appear to be supported by Cesium JS. I can find no pipeline to retrieve any per-node extra information from Cesium. I can however get the |
It looks like it may be possible to add additional parameters to the tileset JSON (rather than the glTF files themselves). I will test if this is accessible via Cesium. This does however have the restriction that we can only set metadata (e.g. an |
This is possible using the |
Current implementation is sufficient for the foreseeable future. |
To enable compatability with the FeatureInfoAgent, the visualisation needs to be able to grab (at least) an
iri
andendpoint
parameter from the object that Cesium returns upon the selection event firing.Cesium makes this tricky as each type of input data has its own way of holding and getting this info. For glTF files within 3D tiles, I can see no obvious way to get this information.
I will need to look into the glTF standard to work out how to set this data in the first place, on a node-by-node level (so we have the flexibility of getting metadata on individual parts of a building), then ensuring it's propagated through Cesium's event system.
The text was updated successfully, but these errors were encountered: