diff --git a/meshes/StandardShaderBall/README.md b/meshes/StandardShaderBall/README.md new file mode 100644 index 0000000..adba173 --- /dev/null +++ b/meshes/StandardShaderBall/README.md @@ -0,0 +1,6 @@ +Standard Shader Ball By the USD Working Group +https://github.com/usd-wg/assets/tree/main/full_assets/StandardShaderBall + +The glTF is modified from the original USD to isolate the ball from the surrounding environment and also has thickness and AO maps generated to assist with rasterizer rendering. + +This work is licensed under a Creative Commons Attribution 4.0 International Licence. diff --git a/meshes/StandardShaderBall/StandardShaderBall.glb b/meshes/StandardShaderBall/StandardShaderBall.glb new file mode 100644 index 0000000..c454be0 Binary files /dev/null and b/meshes/StandardShaderBall/StandardShaderBall.glb differ diff --git a/meshes/StandardShaderBall/StandardShaderBall.gltf b/meshes/StandardShaderBall/StandardShaderBall.gltf new file mode 100644 index 0000000..6db7ec5 --- /dev/null +++ b/meshes/StandardShaderBall/StandardShaderBall.gltf @@ -0,0 +1,523 @@ +{ + "asset": { + "copyright": "2026 (c) Adobe Inc.", + "generator": "Adobe Substance 3D Stager - 2618748039d15ee0f0b2556842d7d4bc66b8708f", + "version": "2.0" + }, + "accessors": [ + { + "bufferView": 0, + "componentType": 5126, + "count": 6159, + "type": "VEC3", + "max": [ + 4.462500095367432, + 8.214752197265625, + 4.462500095367432 + ], + "min": [ + -4.462500095367432, + 0.3826596736907959, + -4.462500095367432 + ] + }, + { + "bufferView": 1, + "componentType": 5126, + "count": 6159, + "type": "VEC3" + }, + { + "bufferView": 2, + "componentType": 5126, + "count": 6159, + "type": "VEC2" + }, + { + "bufferView": 3, + "componentType": 5125, + "count": 35028, + "type": "SCALAR", + "max": [ + 6158.0 + ], + "min": [ + 0.0 + ] + }, + { + "bufferView": 4, + "componentType": 5126, + "count": 910, + "type": "VEC3", + "max": [ + 2.6997146606445314, + 7.147491455078125, + 2.6996288299560549 + ], + "min": [ + -2.699840545654297, + 1.7475695610046387, + -2.6999266147613527 + ] + }, + { + "bufferView": 5, + "componentType": 5126, + "count": 910, + "type": "VEC3" + }, + { + "bufferView": 6, + "componentType": 5126, + "count": 910, + "type": "VEC4" + }, + { + "bufferView": 7, + "componentType": 5126, + "count": 910, + "type": "VEC2" + }, + { + "bufferView": 8, + "componentType": 5125, + "count": 4608, + "type": "SCALAR", + "max": [ + 909.0 + ], + "min": [ + 0.0 + ] + }, + { + "bufferView": 9, + "componentType": 5126, + "count": 961, + "type": "VEC3", + "max": [ + 3.142500162124634, + 1.0799999237060547, + 3.1424999237060549 + ], + "min": [ + -3.142500162124634, + -4.76837158203125e-7, + -3.1424999237060549 + ] + }, + { + "bufferView": 10, + "componentType": 5126, + "count": 961, + "type": "VEC3" + }, + { + "bufferView": 11, + "componentType": 5126, + "count": 961, + "type": "VEC2" + }, + { + "bufferView": 12, + "componentType": 5125, + "count": 4752, + "type": "SCALAR", + "max": [ + 960.0 + ], + "min": [ + 0.0 + ] + }, + { + "bufferView": 13, + "componentType": 5126, + "count": 660, + "type": "VEC3", + "max": [ + 3.672475814819336, + 8.05561637878418, + 3.612476110458374 + ], + "min": [ + -0.4878491461277008, + 5.0547027587890629, + -0.5115311145782471 + ] + }, + { + "bufferView": 14, + "componentType": 5126, + "count": 660, + "type": "VEC3" + }, + { + "bufferView": 15, + "componentType": 5126, + "count": 660, + "type": "VEC2" + }, + { + "bufferView": 16, + "componentType": 5125, + "count": 3504, + "type": "SCALAR", + "max": [ + 659.0 + ], + "min": [ + 0.0 + ] + } + ], + "bufferViews": [ + { + "buffer": 0, + "byteOffset": 0, + "byteLength": 73908, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 73908, + "byteLength": 73908, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 147816, + "byteLength": 49272, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 197088, + "byteLength": 140112, + "target": 34963 + }, + { + "buffer": 0, + "byteOffset": 337200, + "byteLength": 10920, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 348120, + "byteLength": 10920, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 359040, + "byteLength": 14560, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 373600, + "byteLength": 7280, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 380880, + "byteLength": 18432, + "target": 34963 + }, + { + "buffer": 0, + "byteOffset": 399312, + "byteLength": 11532, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 410844, + "byteLength": 11532, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 422376, + "byteLength": 7688, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 430064, + "byteLength": 19008, + "target": 34963 + }, + { + "buffer": 0, + "byteOffset": 449072, + "byteLength": 7920, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 456992, + "byteLength": 7920, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 464912, + "byteLength": 5280, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 470192, + "byteLength": 14016, + "target": 34963 + } + ], + "buffers": [ + { + "byteLength": 484208, + "uri": "StandardShaderBall_binary.bin" + } + ], + "images": [ + { + "name": "image", + "uri": "StandardShaderBall_images/image.png", + "mimeType": "image/png" + }, + { + "name": "texture18752", + "uri": "StandardShaderBall_images/texture18752.png", + "mimeType": "image/png" + }, + { + "name": "image_0", + "uri": "StandardShaderBall_images/image_0.png", + "mimeType": "image/png" + }, + { + "name": "SSS_BARS_base_color", + "uri": "StandardShaderBall_images/SSS_BARS_base_color.jpg", + "mimeType": "image/jpeg" + }, + { + "name": "image_1", + "uri": "StandardShaderBall_images/image_1.png", + "mimeType": "image/png" + } + ], + "materials": [ + { + "pbrMetallicRoughness": { + "metallicFactor": 0.0, + "roughnessFactor": 0.0 + }, + "occlusionTexture": { + "index": 0 + }, + "name": "material_surface", + "extensions": { + "KHR_materials_volume": { + "attenuationColor": [ + 0.7681512832641602, + 0.3467040956020355, + 0.3467040956020355 + ], + "attenuationDistance": 0.024700000882148744, + "thicknessFactor": 0, + "thicknessTexture": { + "index": 1 + } + }, + "KHR_materials_transmission": { + "transmissionFactor": 1 + } + } + }, + { + "pbrMetallicRoughness": { + "baseColorFactor": [ + 0.14995980262756349, + 0.14995980262756349, + 0.14995980262756349, + 1.0 + ], + "metallicFactor": 0.0 + }, + "occlusionTexture": { + "index": 2 + }, + "name": "neutral", + "doubleSided": true + }, + { + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 3 + }, + "metallicFactor": 0.0, + "roughnessFactor": 0.30000001192092898 + }, + "occlusionTexture": { + "index": 4 + }, + "name": "sss_bars", + "doubleSided": true + } + ], + "meshes": [ + { + "name": "meshes_0_n3d2", + "primitives": [ + { + "attributes": { + "POSITION": 0, + "NORMAL": 1, + "TEXCOORD_0": 2 + }, + "indices": 3, + "material": 0 + } + ] + }, + { + "name": "meshes_1_0_n3d2", + "primitives": [ + { + "attributes": { + "TEXCOORD_0": 7, + "TANGENT": 6, + "NORMAL": 5, + "POSITION": 4 + }, + "indices": 8, + "material": 1 + } + ] + }, + { + "name": "meshes_1_1_n3d2", + "primitives": [ + { + "attributes": { + "POSITION": 9, + "NORMAL": 10, + "TEXCOORD_0": 11 + }, + "indices": 12, + "material": 1 + } + ] + }, + { + "name": "meshes_1_2_n3d2", + "primitives": [ + { + "attributes": { + "POSITION": 13, + "NORMAL": 14, + "TEXCOORD_0": 15 + }, + "indices": 16, + "material": 2 + } + ] + } + ], + "nodes": [ + { + "name": "working_cam_n3d" + }, + { + "translation": [ + 0.0, + 0.0, + 9.53674295089968e-9 + ], + "scale": [ + 0.009999999776482582, + 0.009999999776482582, + 0.009999999776482582 + ], + "mesh": 0, + "name": "material_surface" + }, + { + "children": [ + 3, + 4, + 5 + ], + "translation": [ + 0.0, + 0.0, + 9.53674295089968e-9 + ], + "scale": [ + 0.009999999776482582, + 0.009999999776482582, + 0.009999999776482582 + ], + "name": "neutral_objects_n3d" + }, + { + "mesh": 1, + "name": "core" + }, + { + "mesh": 2, + "name": "base" + }, + { + "mesh": 3, + "name": "sss_bar" + } + ], + "samplers": [ + {} + ], + "scenes": [ + { + "nodes": [ + 1, + 2 + ], + "name": "scene" + } + ], + "textures": [ + { + "name": "image", + "sampler": 0, + "source": 0 + }, + { + "name": "texture18752", + "sampler": 0, + "source": 1 + }, + { + "name": "image", + "sampler": 0, + "source": 2 + }, + { + "name": "SSS_BARS::base_color::image", + "sampler": 0, + "source": 3 + }, + { + "name": "image", + "sampler": 0, + "source": 4 + } + ], + "scene": 0, + "extensionsUsed": [ + "KHR_materials_transmission", + "KHR_materials_volume" + ] +} \ No newline at end of file diff --git a/meshes/StandardShaderBall/StandardShaderBall_binary.bin b/meshes/StandardShaderBall/StandardShaderBall_binary.bin new file mode 100644 index 0000000..d783fee Binary files /dev/null and b/meshes/StandardShaderBall/StandardShaderBall_binary.bin differ diff --git a/meshes/StandardShaderBall/StandardShaderBall_images/SSS_BARS_base_color.jpg b/meshes/StandardShaderBall/StandardShaderBall_images/SSS_BARS_base_color.jpg new file mode 100644 index 0000000..c0477db Binary files /dev/null and b/meshes/StandardShaderBall/StandardShaderBall_images/SSS_BARS_base_color.jpg differ diff --git a/meshes/StandardShaderBall/StandardShaderBall_images/image.png b/meshes/StandardShaderBall/StandardShaderBall_images/image.png new file mode 100644 index 0000000..72a5846 Binary files /dev/null and b/meshes/StandardShaderBall/StandardShaderBall_images/image.png differ diff --git a/meshes/StandardShaderBall/StandardShaderBall_images/image_0.png b/meshes/StandardShaderBall/StandardShaderBall_images/image_0.png new file mode 100644 index 0000000..6bf7aa4 Binary files /dev/null and b/meshes/StandardShaderBall/StandardShaderBall_images/image_0.png differ diff --git a/meshes/StandardShaderBall/StandardShaderBall_images/image_1.png b/meshes/StandardShaderBall/StandardShaderBall_images/image_1.png new file mode 100644 index 0000000..e3a5de8 Binary files /dev/null and b/meshes/StandardShaderBall/StandardShaderBall_images/image_1.png differ diff --git a/meshes/StandardShaderBall/StandardShaderBall_images/texture18752.png b/meshes/StandardShaderBall/StandardShaderBall_images/texture18752.png new file mode 100644 index 0000000..66906ec Binary files /dev/null and b/meshes/StandardShaderBall/StandardShaderBall_images/texture18752.png differ