Spaces:
Runtime error
Runtime error
adding gltf files
Browse files- .gitignore +1 -0
- README.md +10 -1
- app.py +9 -0
- glTF-Binary/Box.glb +0 -0
- glTF-Draco/Box.bin +3 -0
- glTF-Draco/Box.gltf +152 -0
- glTF-Embedded/Box.gltf +142 -0
- glTF/Box.gltf +142 -0
- glTF/Box0.bin +3 -0
- requirements.txt +1 -0
- screenshot/screenshot.png +0 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.DS_Store
|
README.md
CHANGED
|
@@ -9,4 +9,13 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Box
|
| 13 |
+
## Screenshot
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
|
| 17 |
+
## License Information
|
| 18 |
+
|
| 19 |
+
Donated by [Cesium](http://cesiumjs.org/) for glTF testing.
|
| 20 |
+
|
| 21 |
+
This model is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
|
app.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
print(os.getcwd())
|
| 5 |
+
|
| 6 |
+
with gr.Blocks() as demo:
|
| 7 |
+
gr.Model3D("/Users/thomwolf/Documents/GitHub/simenv-tests/Box/glTF-Embedded/Box.gltf")
|
| 8 |
+
|
| 9 |
+
demo.launch(inbrowser=True)
|
glTF-Binary/Box.glb
ADDED
|
Binary file (1.66 kB). View file
|
|
|
glTF-Draco/Box.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"asset": {
|
| 3 |
+
"generator": "COLLADA2GLTF",
|
| 4 |
+
"version": "2.0"
|
| 5 |
+
},
|
| 6 |
+
"scene": 0,
|
| 7 |
+
"scenes": [
|
| 8 |
+
{
|
| 9 |
+
"nodes": [
|
| 10 |
+
0
|
| 11 |
+
]
|
| 12 |
+
}
|
| 13 |
+
],
|
| 14 |
+
"nodes": [
|
| 15 |
+
{
|
| 16 |
+
"children": [
|
| 17 |
+
1
|
| 18 |
+
],
|
| 19 |
+
"matrix": [
|
| 20 |
+
1,
|
| 21 |
+
0,
|
| 22 |
+
0,
|
| 23 |
+
0,
|
| 24 |
+
0,
|
| 25 |
+
0,
|
| 26 |
+
-1,
|
| 27 |
+
0,
|
| 28 |
+
0,
|
| 29 |
+
1,
|
| 30 |
+
0,
|
| 31 |
+
0,
|
| 32 |
+
0,
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
1
|
| 36 |
+
]
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"mesh": 0
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"meshes": [
|
| 43 |
+
{
|
| 44 |
+
"primitives": [
|
| 45 |
+
{
|
| 46 |
+
"attributes": {
|
| 47 |
+
"NORMAL": 1,
|
| 48 |
+
"POSITION": 2
|
| 49 |
+
},
|
| 50 |
+
"indices": 0,
|
| 51 |
+
"mode": 4,
|
| 52 |
+
"material": 0,
|
| 53 |
+
"extensions": {
|
| 54 |
+
"KHR_draco_mesh_compression": {
|
| 55 |
+
"bufferView": 0,
|
| 56 |
+
"attributes": {
|
| 57 |
+
"NORMAL": 0,
|
| 58 |
+
"POSITION": 1
|
| 59 |
+
}
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
],
|
| 64 |
+
"name": "Mesh"
|
| 65 |
+
}
|
| 66 |
+
],
|
| 67 |
+
"accessors": [
|
| 68 |
+
{
|
| 69 |
+
"componentType": 5123,
|
| 70 |
+
"count": 36,
|
| 71 |
+
"max": [
|
| 72 |
+
23
|
| 73 |
+
],
|
| 74 |
+
"min": [
|
| 75 |
+
0
|
| 76 |
+
],
|
| 77 |
+
"type": "SCALAR"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"componentType": 5126,
|
| 81 |
+
"count": 24,
|
| 82 |
+
"max": [
|
| 83 |
+
1.007843137254902,
|
| 84 |
+
1.007843137254902,
|
| 85 |
+
1.007843137254902
|
| 86 |
+
],
|
| 87 |
+
"min": [
|
| 88 |
+
-1.007843137254902,
|
| 89 |
+
-1.007843137254902,
|
| 90 |
+
-1.007843137254902
|
| 91 |
+
],
|
| 92 |
+
"type": "VEC3"
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"componentType": 5126,
|
| 96 |
+
"count": 24,
|
| 97 |
+
"max": [
|
| 98 |
+
0.5004885197850513,
|
| 99 |
+
0.5004885197850513,
|
| 100 |
+
0.5004885197850513
|
| 101 |
+
],
|
| 102 |
+
"min": [
|
| 103 |
+
-0.5004885197850513,
|
| 104 |
+
-0.5004885197850513,
|
| 105 |
+
-0.5004885197850513
|
| 106 |
+
],
|
| 107 |
+
"type": "VEC3"
|
| 108 |
+
}
|
| 109 |
+
],
|
| 110 |
+
"materials": [
|
| 111 |
+
{
|
| 112 |
+
"pbrMetallicRoughness": {
|
| 113 |
+
"baseColorFactor": [
|
| 114 |
+
0.800000011920929,
|
| 115 |
+
0,
|
| 116 |
+
0,
|
| 117 |
+
1
|
| 118 |
+
],
|
| 119 |
+
"metallicFactor": 0,
|
| 120 |
+
"roughnessFactor": 1
|
| 121 |
+
},
|
| 122 |
+
"name": "Red",
|
| 123 |
+
"emissiveFactor": [
|
| 124 |
+
0,
|
| 125 |
+
0,
|
| 126 |
+
0
|
| 127 |
+
],
|
| 128 |
+
"alphaMode": "OPAQUE",
|
| 129 |
+
"doubleSided": false
|
| 130 |
+
}
|
| 131 |
+
],
|
| 132 |
+
"bufferViews": [
|
| 133 |
+
{
|
| 134 |
+
"buffer": 0,
|
| 135 |
+
"byteOffset": 0,
|
| 136 |
+
"byteLength": 118
|
| 137 |
+
}
|
| 138 |
+
],
|
| 139 |
+
"buffers": [
|
| 140 |
+
{
|
| 141 |
+
"name": "Box",
|
| 142 |
+
"byteLength": 120,
|
| 143 |
+
"uri": "Box.bin"
|
| 144 |
+
}
|
| 145 |
+
],
|
| 146 |
+
"extensionsRequired": [
|
| 147 |
+
"KHR_draco_mesh_compression"
|
| 148 |
+
],
|
| 149 |
+
"extensionsUsed": [
|
| 150 |
+
"KHR_draco_mesh_compression"
|
| 151 |
+
]
|
| 152 |
+
}
|
glTF-Embedded/Box.gltf
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"asset": {
|
| 3 |
+
"generator": "COLLADA2GLTF",
|
| 4 |
+
"version": "2.0"
|
| 5 |
+
},
|
| 6 |
+
"scene": 0,
|
| 7 |
+
"scenes": [
|
| 8 |
+
{
|
| 9 |
+
"nodes": [
|
| 10 |
+
0
|
| 11 |
+
]
|
| 12 |
+
}
|
| 13 |
+
],
|
| 14 |
+
"nodes": [
|
| 15 |
+
{
|
| 16 |
+
"children": [
|
| 17 |
+
1
|
| 18 |
+
],
|
| 19 |
+
"matrix": [
|
| 20 |
+
1.0,
|
| 21 |
+
0.0,
|
| 22 |
+
0.0,
|
| 23 |
+
0.0,
|
| 24 |
+
0.0,
|
| 25 |
+
0.0,
|
| 26 |
+
-1.0,
|
| 27 |
+
0.0,
|
| 28 |
+
0.0,
|
| 29 |
+
1.0,
|
| 30 |
+
0.0,
|
| 31 |
+
0.0,
|
| 32 |
+
0.0,
|
| 33 |
+
0.0,
|
| 34 |
+
0.0,
|
| 35 |
+
1.0
|
| 36 |
+
]
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"mesh": 0
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"meshes": [
|
| 43 |
+
{
|
| 44 |
+
"primitives": [
|
| 45 |
+
{
|
| 46 |
+
"attributes": {
|
| 47 |
+
"NORMAL": 1,
|
| 48 |
+
"POSITION": 2
|
| 49 |
+
},
|
| 50 |
+
"indices": 0,
|
| 51 |
+
"mode": 4,
|
| 52 |
+
"material": 0
|
| 53 |
+
}
|
| 54 |
+
],
|
| 55 |
+
"name": "Mesh"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"accessors": [
|
| 59 |
+
{
|
| 60 |
+
"bufferView": 0,
|
| 61 |
+
"byteOffset": 0,
|
| 62 |
+
"componentType": 5123,
|
| 63 |
+
"count": 36,
|
| 64 |
+
"max": [
|
| 65 |
+
23
|
| 66 |
+
],
|
| 67 |
+
"min": [
|
| 68 |
+
0
|
| 69 |
+
],
|
| 70 |
+
"type": "SCALAR"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"bufferView": 1,
|
| 74 |
+
"byteOffset": 0,
|
| 75 |
+
"componentType": 5126,
|
| 76 |
+
"count": 24,
|
| 77 |
+
"max": [
|
| 78 |
+
1.0,
|
| 79 |
+
1.0,
|
| 80 |
+
1.0
|
| 81 |
+
],
|
| 82 |
+
"min": [
|
| 83 |
+
-1.0,
|
| 84 |
+
-1.0,
|
| 85 |
+
-1.0
|
| 86 |
+
],
|
| 87 |
+
"type": "VEC3"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"bufferView": 1,
|
| 91 |
+
"byteOffset": 288,
|
| 92 |
+
"componentType": 5126,
|
| 93 |
+
"count": 24,
|
| 94 |
+
"max": [
|
| 95 |
+
0.5,
|
| 96 |
+
0.5,
|
| 97 |
+
0.5
|
| 98 |
+
],
|
| 99 |
+
"min": [
|
| 100 |
+
-0.5,
|
| 101 |
+
-0.5,
|
| 102 |
+
-0.5
|
| 103 |
+
],
|
| 104 |
+
"type": "VEC3"
|
| 105 |
+
}
|
| 106 |
+
],
|
| 107 |
+
"materials": [
|
| 108 |
+
{
|
| 109 |
+
"pbrMetallicRoughness": {
|
| 110 |
+
"baseColorFactor": [
|
| 111 |
+
0.800000011920929,
|
| 112 |
+
0.0,
|
| 113 |
+
0.0,
|
| 114 |
+
1.0
|
| 115 |
+
],
|
| 116 |
+
"metallicFactor": 0.0
|
| 117 |
+
},
|
| 118 |
+
"name": "Red"
|
| 119 |
+
}
|
| 120 |
+
],
|
| 121 |
+
"bufferViews": [
|
| 122 |
+
{
|
| 123 |
+
"buffer": 0,
|
| 124 |
+
"byteOffset": 576,
|
| 125 |
+
"byteLength": 72,
|
| 126 |
+
"target": 34963
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"buffer": 0,
|
| 130 |
+
"byteOffset": 0,
|
| 131 |
+
"byteLength": 576,
|
| 132 |
+
"byteStride": 12,
|
| 133 |
+
"target": 34962
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"buffers": [
|
| 137 |
+
{
|
| 138 |
+
"byteLength": 648,
|
| 139 |
+
"uri": "data:application/octet-stream;base64,AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAvwAAAL8AAAA/AAAAPwAAAL8AAAA/AAAAvwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAL8AAAA/AAAAvwAAAL8AAAA/AAAAPwAAAL8AAAC/AAAAvwAAAL8AAAC/AAAAPwAAAD8AAAA/AAAAPwAAAL8AAAA/AAAAPwAAAD8AAAC/AAAAPwAAAL8AAAC/AAAAvwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAvwAAAD8AAAC/AAAAPwAAAD8AAAC/AAAAvwAAAL8AAAA/AAAAvwAAAD8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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"asset": {
|
| 3 |
+
"generator": "COLLADA2GLTF",
|
| 4 |
+
"version": "2.0"
|
| 5 |
+
},
|
| 6 |
+
"scene": 0,
|
| 7 |
+
"scenes": [
|
| 8 |
+
{
|
| 9 |
+
"nodes": [
|
| 10 |
+
0
|
| 11 |
+
]
|
| 12 |
+
}
|
| 13 |
+
],
|
| 14 |
+
"nodes": [
|
| 15 |
+
{
|
| 16 |
+
"children": [
|
| 17 |
+
1
|
| 18 |
+
],
|
| 19 |
+
"matrix": [
|
| 20 |
+
1.0,
|
| 21 |
+
0.0,
|
| 22 |
+
0.0,
|
| 23 |
+
0.0,
|
| 24 |
+
0.0,
|
| 25 |
+
0.0,
|
| 26 |
+
-1.0,
|
| 27 |
+
0.0,
|
| 28 |
+
0.0,
|
| 29 |
+
1.0,
|
| 30 |
+
0.0,
|
| 31 |
+
0.0,
|
| 32 |
+
0.0,
|
| 33 |
+
0.0,
|
| 34 |
+
0.0,
|
| 35 |
+
1.0
|
| 36 |
+
]
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"mesh": 0
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"meshes": [
|
| 43 |
+
{
|
| 44 |
+
"primitives": [
|
| 45 |
+
{
|
| 46 |
+
"attributes": {
|
| 47 |
+
"NORMAL": 1,
|
| 48 |
+
"POSITION": 2
|
| 49 |
+
},
|
| 50 |
+
"indices": 0,
|
| 51 |
+
"mode": 4,
|
| 52 |
+
"material": 0
|
| 53 |
+
}
|
| 54 |
+
],
|
| 55 |
+
"name": "Mesh"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"accessors": [
|
| 59 |
+
{
|
| 60 |
+
"bufferView": 0,
|
| 61 |
+
"byteOffset": 0,
|
| 62 |
+
"componentType": 5123,
|
| 63 |
+
"count": 36,
|
| 64 |
+
"max": [
|
| 65 |
+
23
|
| 66 |
+
],
|
| 67 |
+
"min": [
|
| 68 |
+
0
|
| 69 |
+
],
|
| 70 |
+
"type": "SCALAR"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"bufferView": 1,
|
| 74 |
+
"byteOffset": 0,
|
| 75 |
+
"componentType": 5126,
|
| 76 |
+
"count": 24,
|
| 77 |
+
"max": [
|
| 78 |
+
1.0,
|
| 79 |
+
1.0,
|
| 80 |
+
1.0
|
| 81 |
+
],
|
| 82 |
+
"min": [
|
| 83 |
+
-1.0,
|
| 84 |
+
-1.0,
|
| 85 |
+
-1.0
|
| 86 |
+
],
|
| 87 |
+
"type": "VEC3"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"bufferView": 1,
|
| 91 |
+
"byteOffset": 288,
|
| 92 |
+
"componentType": 5126,
|
| 93 |
+
"count": 24,
|
| 94 |
+
"max": [
|
| 95 |
+
0.5,
|
| 96 |
+
0.5,
|
| 97 |
+
0.5
|
| 98 |
+
],
|
| 99 |
+
"min": [
|
| 100 |
+
-0.5,
|
| 101 |
+
-0.5,
|
| 102 |
+
-0.5
|
| 103 |
+
],
|
| 104 |
+
"type": "VEC3"
|
| 105 |
+
}
|
| 106 |
+
],
|
| 107 |
+
"materials": [
|
| 108 |
+
{
|
| 109 |
+
"pbrMetallicRoughness": {
|
| 110 |
+
"baseColorFactor": [
|
| 111 |
+
0.800000011920929,
|
| 112 |
+
0.0,
|
| 113 |
+
0.0,
|
| 114 |
+
1.0
|
| 115 |
+
],
|
| 116 |
+
"metallicFactor": 0.0
|
| 117 |
+
},
|
| 118 |
+
"name": "Red"
|
| 119 |
+
}
|
| 120 |
+
],
|
| 121 |
+
"bufferViews": [
|
| 122 |
+
{
|
| 123 |
+
"buffer": 0,
|
| 124 |
+
"byteOffset": 576,
|
| 125 |
+
"byteLength": 72,
|
| 126 |
+
"target": 34963
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"buffer": 0,
|
| 130 |
+
"byteOffset": 0,
|
| 131 |
+
"byteLength": 576,
|
| 132 |
+
"byteStride": 12,
|
| 133 |
+
"target": 34962
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"buffers": [
|
| 137 |
+
{
|
| 138 |
+
"byteLength": 648,
|
| 139 |
+
"uri": "Box0.bin"
|
| 140 |
+
}
|
| 141 |
+
]
|
| 142 |
+
}
|
glTF/Box0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3266a8e39b9f425b3341cbe5eec7849f44310256bfa651e6b8b40c85ce0ccafb
|
| 3 |
+
size 648
|
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
gradio
|
screenshot/screenshot.png
ADDED
|