-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Core updates - Handle no material case (mtlx) - Add material if none (gltf) - Find absolute paths to resources for data packing (gltb) - Add package version number - Add Adobe Substance 3D example with different geom "shader ball". * Add in Pysically Based Examples.
- Loading branch information
Showing
73 changed files
with
2,585 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file renamed
BIN
+14.3 MB
...terialxgltf/data/BoomBoxWithAxes.mtlx.glb → docs/data/BoomBoxWithAxes.mtlx_sphere.glb
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,230 @@ | ||
{ | ||
"asset":{ | ||
"generator":"Khronos glTF Blender I/O v3.6.28", | ||
"version":"2.0" | ||
}, | ||
"extensionsUsed":[ | ||
"KHR_materials_clearcoat", | ||
"KHR_materials_transmission", | ||
"KHR_materials_specular", | ||
"KHR_materials_ior" | ||
], | ||
"scene":0, | ||
"scenes":[ | ||
{ | ||
"name":"Scene", | ||
"nodes":[ | ||
0 | ||
] | ||
} | ||
], | ||
"nodes":[ | ||
{ | ||
"mesh":0, | ||
"name":"Cube" | ||
} | ||
], | ||
"materials":[ | ||
{ | ||
"doubleSided":true, | ||
"extensions":{ | ||
"KHR_materials_clearcoat":{ | ||
"clearcoatFactor":0.022727273404598236, | ||
"clearcoatRoughnessFactor":0.1663636416196823 | ||
}, | ||
"KHR_materials_transmission":{ | ||
"transmissionFactor":0.22727273404598236 | ||
}, | ||
"KHR_materials_specular":{ | ||
"specularColorFactor":[ | ||
0.38111396192933505, | ||
0.2244931429797119, | ||
0.2450934815163317 | ||
] | ||
}, | ||
"KHR_materials_ior":{ | ||
"ior":9.94999885559082 | ||
} | ||
}, | ||
"name":"Material", | ||
"pbrMetallicRoughness":{ | ||
"baseColorFactor":[ | ||
0.8000000715255737, | ||
0.009745790623128414, | ||
0.11368794739246368, | ||
1 | ||
], | ||
"metallicFactor":0.17272727191448212, | ||
"roughnessFactor":0.5 | ||
} | ||
}, | ||
{ | ||
"doubleSided":true, | ||
"emissiveFactor":[ | ||
0.014503229409456253, | ||
0.014503229409456253, | ||
0.014503229409456253 | ||
], | ||
"extensions":{ | ||
"KHR_materials_clearcoat":{ | ||
"clearcoatFactor":0.059090908616781235, | ||
"clearcoatRoughnessFactor":0.11181817948818207 | ||
}, | ||
"KHR_materials_transmission":{ | ||
"transmissionFactor":0.06818182021379471 | ||
}, | ||
"KHR_materials_specular":{ | ||
"specularColorFactor":[ | ||
0.10496773232530021, | ||
0.11140182461173363, | ||
0.2498355062097603 | ||
] | ||
}, | ||
"KHR_materials_ior":{ | ||
"ior":10.249999046325684 | ||
} | ||
}, | ||
"name":"Material.001", | ||
"pbrMetallicRoughness":{ | ||
"baseColorFactor":[ | ||
0.033420365303754807, | ||
0.06746689230203629, | ||
0.8000000715255737, | ||
1 | ||
], | ||
"metallicFactor":0.09545454382896423, | ||
"roughnessFactor":0.5 | ||
} | ||
} | ||
], | ||
"meshes":[ | ||
{ | ||
"name":"Cube", | ||
"primitives":[ | ||
{ | ||
"attributes":{ | ||
"POSITION":0, | ||
"NORMAL":1, | ||
"TEXCOORD_0":2 | ||
}, | ||
"indices":3, | ||
"material":0 | ||
} | ||
] | ||
} | ||
], | ||
"accessors":[ | ||
{ | ||
"bufferView":0, | ||
"componentType":5126, | ||
"count":24, | ||
"max":[ | ||
1, | ||
1, | ||
1 | ||
], | ||
"min":[ | ||
-1, | ||
-1, | ||
-1 | ||
], | ||
"type":"VEC3" | ||
}, | ||
{ | ||
"bufferView":1, | ||
"componentType":5126, | ||
"count":24, | ||
"type":"VEC3" | ||
}, | ||
{ | ||
"bufferView":2, | ||
"componentType":5126, | ||
"count":24, | ||
"type":"VEC2" | ||
}, | ||
{ | ||
"bufferView":3, | ||
"componentType":5123, | ||
"count":36, | ||
"type":"SCALAR" | ||
}, | ||
{ | ||
"bufferView":4, | ||
"componentType":5126, | ||
"count":24, | ||
"max":[ | ||
1, | ||
1, | ||
1 | ||
], | ||
"min":[ | ||
-1, | ||
-1, | ||
-1 | ||
], | ||
"type":"VEC3" | ||
}, | ||
{ | ||
"bufferView":5, | ||
"componentType":5126, | ||
"count":24, | ||
"type":"VEC3" | ||
}, | ||
{ | ||
"bufferView":6, | ||
"componentType":5126, | ||
"count":24, | ||
"type":"VEC2" | ||
} | ||
], | ||
"bufferViews":[ | ||
{ | ||
"buffer":0, | ||
"byteLength":288, | ||
"byteOffset":0, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":288, | ||
"byteOffset":288, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":192, | ||
"byteOffset":576, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":72, | ||
"byteOffset":768, | ||
"target":34963 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":288, | ||
"byteOffset":840, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":288, | ||
"byteOffset":1128, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":192, | ||
"byteOffset":1416, | ||
"target":34962 | ||
} | ||
], | ||
"buffers":[ | ||
{ | ||
"byteLength":1608, | ||
"uri":"test_cube.bin" | ||
} | ||
] | ||
} |
Binary file not shown.
Oops, something went wrong.