ifc5/viewer/examples/Domestic Hot Water/domestic-hot-water-add-pbr.ifcx
2025-11-21 20:35:49 +01:00

165 lines
4.5 KiB
Text

{
"header": {
"id": "ifc5.technical.buildingsmart.org/examples/Hello Wall/domestic-hot-water-pbr@v1.ifcx",
"ifcxVersion": "ifcx_alpha",
"dataVersion": "1.0.0",
"author": "@ArjoNagelhout",
"timestamp": "2025-06-01"
},
"imports": [
{ "uri": "https://ifcx.dev/@standards.buildingsmart.org/ifc/core/ifc@v5a.ifcx" }
],
"schemas": {
"gltf::material": {
"value": {
"dataType": "Object",
"objectRestrictions": {
"values": {
"pbrMetallicRoughness": {
"dataType": "Object",
"optional": false,
"objectRestrictions": {
"values": {
"baseColorFactor": {
"dataType": "Array",
"optional": true,
"arrayRestrictions": {
"min": 4,
"max": 4,
"value": {
"dataType": "Real"
}
}
},
"baseColorTexture": {
"dataType": "String",
"optional": true
},
"metallicFactor": {
"dataType": "Real",
"optional": true
},
"roughnessFactor": {
"dataType": "Real",
"optional": true
},
"metallicRoughnessTexture": {
"dataType": "String",
"optional": true
}
}
}
}
},
"normalTexture": {
"dataType": "Object",
"optional": true,
"objectRestrictions": {
"values": {
"texture": {
"dataType": "String",
"optional": false
},
"scale": {
"dataType": "Real",
"optional": true
}
}
}
},
"occlusionTexture": {
"dataType": "Object",
"optional": true,
"objectRestrictions": {
"values": {
"texture": {
"dataType": "String",
"optional": false
},
"strength": {
"dataType": "Real",
"optional": true
}
}
}
},
"emissiveTexture": {
"dataType": "String",
"optional": true
},
"emissiveFactor": {
"dataType": "Array",
"optional": true,
"arrayRestrictions": {
"min": 3,
"max": 3,
"value": {
"dataType": "Real"
}
}
},
"alphaMode": {
"dataType": "Enum",
"optional": true,
"enumRestrictions": {
"options": [
"OPAQUE",
"MASK",
"BLEND"
]
}
},
"alphaCutoff": {
"dataType": "Real",
"optional": true
},
"doubleSided": {
"dataType": "Boolean",
"optional": true
}
}
}
}
},
"data": [
{
"path": "121ccdc4-1832-5f08-8f46-fb39f8f3cfeb",
"attributes": {
"gltf::material": {
"pbrMetallicRoughness": {
"baseColorFactor": [1, 0.9, 0.9, 1],
"baseColorTexture": "/some/url/here.webp",
"metallicFactor": 0.2,
"roughnessFactor": 0.2,
"metallicRoughnessTexture": "/some/url/here.webp"
},
"normalTexture": {
"texture": "/some/url/here.webp",
"scale": 1.0
},
"occlusionTexture": {
"texture": "/some/url/here.webp",
"strength": 1.0
},
"emissiveTexture": "/some/url/here.webp",
"emissiveFactor": [0.5, 0.5, 1.0],
"alphaMode": "OPAQUE",
"alphaCutoff": 0.5,
"doubleSided": false
}
}
},
{
"path": "16f44595-547e-572c-88fb-ca5178de317f",
"attributes": {
"gltf::material": {
"pbrMetallicRoughness": {
"baseColorFactor": [0.95, 0.95, 0.95, 1.0],
"metallicFactor": 0.9,
"roughnessFactor": 0.1
}
}
}
}
]
}