{ "asset": { "version": "2.0" }, "extensionsUsed": [ "EXT_mesh_features", "EXT_structural_metadata" ], "extensions": { "EXT_structural_metadata": { "schema": { "classes": { "weather": { "name": "Weather Data", "properties": { "airTemperature": { "name": "Air Temperature", "type": "SCALAR", "componentType": "FLOAT32" }, "airPressure": { "name": "Air Pressure", "type": "SCALAR", "componentType": "FLOAT32" }, "windVelocity": { "name": "Wind Velocity", "type": "VEC3", "componentType": "FLOAT32" } } }, "town": { "name": "Town Data", "properties": { "name": { "name": "Name", "type": "STRING" }, "population": { "name": "Population", "type": "SCALAR", "componentType": "UINT16" } } } } }, "propertyTables": [ { "name": "Town", "class": "town", "count": 3, "properties": { "name": { "values": 5, "stringOffsets": 6 }, "population": { "values": 7 } } }, { "name": "Weather", "class": "weather", "count": 1000, "properties": { "airTemperature": { "values": 2 }, "airPressure": { "values": 3 }, "windVelocity": { "values": 4 } } } ] } }, "scene": 0, "scenes": [ { "name": "Scene", "nodes": [ 0 ] } ], "nodes": [ { "name": "Point Cloud", "mesh": 0 } ], "meshes": [ { "name": "Point Cloud Mesh", "primitives": [ { "attributes": { "POSITION": 0, "_FEATURE_ID_0": 1 }, "mode": 0, "extensions": { "EXT_mesh_features": { "featureIds": [ { "label": "perPoint", "propertyTable": 1, "featureCount": 1000 }, { "label": "town", "propertyTable": 0, "attribute": 0, "featureCount": 3 } ] } } } ] } ], "accessors": [ { "name": "Positions", "bufferView": 0, "byteOffset": 0, "componentType": 5126, "count": 1000, "max": [ 0.9996171514503658, 0.9997076676227152, 0.9985559755004942 ], "min": [ -0.9986715689301491, -0.9998892992734909, -0.9992652996443212 ], "type": "VEC3" }, { "name": "Town Feature ID", "bufferView": 1, "byteOffset": 0, "componentType": 5126, "count": 1000, "type": "SCALAR" } ], "bufferViews": [ { "name": "Positions", "buffer": 0, "byteLength": 12000, "byteOffset": 0 }, { "name": "Town Feature ID", "buffer": 1, "byteLength": 4000, "byteOffset": 0 }, { "name": "Air Temperature", "buffer": 1, "byteLength": 4000, "byteOffset": 4000 }, { "name": "Air Pressure", "buffer": 1, "byteLength": 4000, "byteOffset": 8000 }, { "name": "Wind Velocity", "buffer": 1, "byteLength": 12000, "byteOffset": 12000 }, { "name": "Town Name", "buffer": 1, "byteLength": 26, "byteOffset": 24000 }, { "name": "Town Name Offsets", "buffer": 1, "byteLength": 16, "byteOffset": 24032 }, { "name": "Town Population", "buffer": 1, "byteLength": 6, "byteOffset": 24048 } ], "buffers": [ { "name": "Geometry Buffer", "byteLength": 12000, "uri": "weather.bin" }, { "name": "Metadata Buffer", "byteLength": 24056, "uri": "weather-metadata.bin" } ] }