| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328 |
- {
- "extensions" : {
- "EXT_structural_metadata" : {
- "schema" : {
- "id": "SimplePropertyAttributeSchema",
- "classes" : {
- "exampleMetadataClass" : {
- "name" : "Example metadata class",
- "description" : "An example metadata class for property attributes",
- "properties" : {
- "intensity" : {
- "name" : "Example intensity property",
- "description" : "An example property for the intensity, with component type FLOAT32",
- "type" : "SCALAR",
- "componentType" : "FLOAT32",
- "array": true
- },
- "classification" : {
- "name" : "Example classification property",
- "description" : "An example property for the classification, with the classificationEnumType",
- "type" : "ENUM",
- "enumType" : "classificationEnumType"
- }
- }
- }
- },
- "enums" : {
- "classificationEnumType" : {
- "values" : [ {
- "name" : "ExampleClassificationA",
- "value" : 0
- }, {
- "name" : "ExampleClassificationB",
- "value" : 1
- }, {
- "name" : "ExampleClassificationC",
- "value" : 2
- } ]
- }
- }
- },
- "propertyAttributes" : [ {
- "class" : "exampleMetadataClass",
- "properties" : {
- "intensity" : {
- "attribute" : "_INTENSITY"
- },
- "classification" : {
- "attribute" : "_CLASSIFICATION"
- }
- }
- } ]
- }
- },
- "extensionsUsed" : [ "EXT_structural_metadata" ],
- "accessors" : [ {
- "bufferView" : 0,
- "byteOffset" : 0,
- "componentType" : 5123,
- "count" : 6,
- "type" : "SCALAR",
- "max" : [ 3 ],
- "min" : [ 0 ]
- }, {
- "bufferView" : 1,
- "byteOffset" : 0,
- "componentType" : 5126,
- "count" : 4,
- "type" : "VEC3",
- "max" : [ 0.0, 1.0, 0.0 ],
- "min" : [ -1.0, 0.0, 0.0 ]
- }, {
- "bufferView" : 2,
- "byteOffset" : 0,
- "componentType" : 5126,
- "count" : 4,
- "type" : "VEC3",
- "max" : [ 0.0, 0.0, 1.0 ],
- "min" : [ 0.0, 0.0, 1.0 ]
- }, {
- "bufferView" : 3,
- "byteOffset" : 0,
- "componentType" : 5126,
- "count" : 4,
- "type" : "SCALAR",
- "max" : [ 0.25 ],
- "min" : [ 0.25 ]
- }, {
- "bufferView" : 4,
- "byteOffset" : 0,
- "componentType" : 5123,
- "count" : 4,
- "type" : "SCALAR",
- "max" : [ 0 ],
- "min" : [ 0 ]
- }, {
- "bufferView" : 5,
- "byteOffset" : 0,
- "componentType" : 5123,
- "count" : 6,
- "type" : "SCALAR",
- "max" : [ 3 ],
- "min" : [ 0 ]
- }, {
- "bufferView" : 6,
- "byteOffset" : 0,
- "componentType" : 5126,
- "count" : 4,
- "type" : "VEC3",
- "max" : [ 1.0, 1.0, 0.0 ],
- "min" : [ 0.0, 0.0, 0.0 ]
- }, {
- "bufferView" : 7,
- "byteOffset" : 0,
- "componentType" : 5126,
- "count" : 4,
- "type" : "VEC3",
- "max" : [ 0.0, 0.0, 1.0 ],
- "min" : [ 0.0, 0.0, 1.0 ]
- }, {
- "bufferView" : 8,
- "byteOffset" : 0,
- "componentType" : 5126,
- "count" : 4,
- "type" : "SCALAR",
- "max" : [ 0.5 ],
- "min" : [ 0.5 ]
- }, {
- "bufferView" : 9,
- "byteOffset" : 0,
- "componentType" : 5123,
- "count" : 4,
- "type" : "SCALAR",
- "max" : [ 1 ],
- "min" : [ 1 ]
- }, {
- "bufferView" : 10,
- "byteOffset" : 0,
- "componentType" : 5123,
- "count" : 6,
- "type" : "SCALAR",
- "max" : [ 3 ],
- "min" : [ 0 ]
- }, {
- "bufferView" : 11,
- "byteOffset" : 0,
- "componentType" : 5126,
- "count" : 4,
- "type" : "VEC3",
- "max" : [ 2.0, 1.0, 0.0 ],
- "min" : [ 1.0, 0.0, 0.0 ]
- }, {
- "bufferView" : 12,
- "byteOffset" : 0,
- "componentType" : 5126,
- "count" : 4,
- "type" : "VEC3",
- "max" : [ 0.0, 0.0, 1.0 ],
- "min" : [ 0.0, 0.0, 1.0 ]
- }, {
- "bufferView" : 13,
- "byteOffset" : 0,
- "componentType" : 5126,
- "count" : 4,
- "type" : "SCALAR",
- "max" : [ 0.75 ],
- "min" : [ 0.75 ]
- }, {
- "bufferView" : 14,
- "byteOffset" : 0,
- "componentType" : 5123,
- "count" : 4,
- "type" : "SCALAR",
- "max" : [ 2 ],
- "min" : [ 2 ]
- } ],
- "asset" : {
- "generator" : "JglTF from https://github.com/javagl/JglTF",
- "version" : "2.0"
- },
- "buffers" : [ {
- "uri" : "data:application/gltf-buffer;base64,AAABAAIAAQADAAIAAACAvwAAAAAAAAAAAAAAAAAAAAAAAAAAAACAvwAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPgAAgD4AAIA+AACAPgAAAAAAAAAAAAAAAAAAAAAAAAEAAgABAAMAAgAAAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAAAAAACAPwAAAAAAAIA/AACAPwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAA/AAAAPwAAAD8AAAA/AQAAAAEAAAABAAAAAQAAAAAAAQACAAEAAwACAAAAgD8AAAAAAAAAAAAAAEAAAAAAAAAAAAAAgD8AAIA/AAAAAAAAAEAAAIA/AAAAAAAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAQD8AAEA/AABAPwAAQD8CAAAAAgAAAAIAAAACAAAA",
- "byteLength" : 420
- } ],
- "bufferViews" : [ {
- "buffer" : 0,
- "byteOffset" : 0,
- "byteLength" : 12,
- "target" : 34963
- }, {
- "buffer" : 0,
- "byteOffset" : 12,
- "byteLength" : 48,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 60,
- "byteLength" : 48,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 108,
- "byteLength" : 16,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 124,
- "byteLength" : 16,
- "byteStride" : 4,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 140,
- "byteLength" : 12,
- "target" : 34963
- }, {
- "buffer" : 0,
- "byteOffset" : 152,
- "byteLength" : 48,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 200,
- "byteLength" : 48,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 248,
- "byteLength" : 16,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 264,
- "byteLength" : 16,
- "byteStride" : 4,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 280,
- "byteLength" : 12,
- "target" : 34963
- }, {
- "buffer" : 0,
- "byteOffset" : 292,
- "byteLength" : 48,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 340,
- "byteLength" : 48,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 388,
- "byteLength" : 16,
- "target" : 34962
- }, {
- "buffer" : 0,
- "byteOffset" : 404,
- "byteLength" : 16,
- "byteStride" : 4,
- "target" : 34962
- } ],
- "materials" : [ {
- "pbrMetallicRoughness" : {
- "baseColorFactor" : [ 1.0, 1.0, 1.0, 1.0 ],
- "metallicFactor" : 0.0,
- "roughnessFactor" : 1.0
- },
- "alphaMode" : "OPAQUE",
- "doubleSided" : true
- } ],
- "meshes" : [ {
- "primitives" : [ {
- "extensions" : {
- "EXT_structural_metadata" : {
- "propertyAttributes" : [ 0 ]
- }
- },
- "attributes" : {
- "POSITION" : 1,
- "NORMAL" : 2,
- "_INTENSITY" : 3,
- "_CLASSIFICATION" : 4
- },
- "indices" : 0,
- "material" : 0,
- "mode" : 4
- }, {
- "extensions" : {
- "EXT_structural_metadata" : {
- "propertyAttributes" : [ 0 ]
- }
- },
- "attributes" : {
- "POSITION" : 6,
- "NORMAL" : 7,
- "_INTENSITY" : 8,
- "_CLASSIFICATION" : 9
- },
- "indices" : 5,
- "material" : 0,
- "mode" : 4
- }, {
- "extensions" : {
- "EXT_structural_metadata" : {
- "propertyAttributes" : [ 0 ]
- }
- },
- "attributes" : {
- "POSITION" : 11,
- "NORMAL" : 12,
- "_INTENSITY" : 13,
- "_CLASSIFICATION" : 14
- },
- "indices" : 10,
- "material" : 0,
- "mode" : 4
- } ]
- } ],
- "nodes" : [ {
- "mesh" : 0
- } ],
- "scene" : 0,
- "scenes" : [ {
- "nodes" : [ 0 ]
- } ]
- }
|