diff options
author | omnisci3nce <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-03 22:42:24 +1100 |
---|---|---|
committer | omnisci3nce <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-03 22:42:24 +1100 |
commit | 0c770ecad71bb540d36402311e01a2b6b94242fd (patch) | |
tree | 13a44e693a4faf67be065d6b334b149a59aa0262 /assets/models/gltf/Cube | |
parent | de14e6eef443c9935fda5fccc798e379e710bf31 (diff) |
load gltf vertices and indices. need to move to git LFS!
Diffstat (limited to 'assets/models/gltf/Cube')
-rw-r--r-- | assets/models/gltf/Cube/LICENSE.md | 15 | ||||
-rw-r--r-- | assets/models/gltf/Cube/README.body.md | 7 | ||||
-rw-r--r-- | assets/models/gltf/Cube/README.md | 30 | ||||
-rw-r--r-- | assets/models/gltf/Cube/glTF/Cube.bin | bin | 0 -> 1800 bytes | |||
-rw-r--r-- | assets/models/gltf/Cube/glTF/Cube.gltf | 193 | ||||
-rw-r--r-- | assets/models/gltf/Cube/glTF/Cube_BaseColor.png | bin | 0 -> 891995 bytes | |||
-rw-r--r-- | assets/models/gltf/Cube/glTF/Cube_MetallicRoughness.png | bin | 0 -> 319 bytes | |||
-rw-r--r-- | assets/models/gltf/Cube/metadata.json | 25 | ||||
-rw-r--r-- | assets/models/gltf/Cube/screenshot/screenshot-x150.jpg | bin | 0 -> 6323 bytes | |||
-rw-r--r-- | assets/models/gltf/Cube/screenshot/screenshot.jpg | bin | 0 -> 8597 bytes |
10 files changed, 270 insertions, 0 deletions
diff --git a/assets/models/gltf/Cube/LICENSE.md b/assets/models/gltf/Cube/LICENSE.md new file mode 100644 index 0000000..e0f869b --- /dev/null +++ b/assets/models/gltf/Cube/LICENSE.md @@ -0,0 +1,15 @@ +# LICENSE file for the model: Cube + +All files in this directory tree are licensed as indicated below. + +* All files directly associated with the model including all text, image and binary files: + + * [CC0 1.0 Universal]("https://creativecommons.org/publicdomain/zero/1.0/legalcode") [SPDX license identifier: "CC0-1.0"] + +* This file and all other metadocumentation files including "metadata.json": + + * [Creative Commons Attribtution 4.0 International]("https://creativecommons.org/licenses/by/4.0/legalcode") [SPDX license identifier: "CC-BY-4.0"] + +Full license text of these licenses are available at the links above + +#### Generated by modelmetadata
\ No newline at end of file diff --git a/assets/models/gltf/Cube/README.body.md b/assets/models/gltf/Cube/README.body.md new file mode 100644 index 0000000..fce6369 --- /dev/null +++ b/assets/models/gltf/Cube/README.body.md @@ -0,0 +1,7 @@ +## Screenshot + +![screenshot](screenshot/screenshot.jpg) + +## Description + +A cube with non-smoothed faces.
\ No newline at end of file diff --git a/assets/models/gltf/Cube/README.md b/assets/models/gltf/Cube/README.md new file mode 100644 index 0000000..8a22047 --- /dev/null +++ b/assets/models/gltf/Cube/README.md @@ -0,0 +1,30 @@ +# Cube + +## Tags + +[core](../../Models-core.md), [testing](../../Models-testing.md) + +## Summary + +A cube with non-smoothed faces. + +## Operations + +* [Display](https://github.khronos.org/glTF-Sample-Viewer-Release/?model=https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/Cube/glTF/Cube.gltf) in SampleViewer +* [Model Directory](./) + +## Screenshot + +![screenshot](screenshot/screenshot.jpg) + +## Description + +A cube with non-smoothed faces. + +## Legal + +© 2017, UX3D. [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/legalcode) + + - Norbert Nopper for Everything + +#### Assembled by modelmetadata
\ No newline at end of file diff --git a/assets/models/gltf/Cube/glTF/Cube.bin b/assets/models/gltf/Cube/glTF/Cube.bin Binary files differnew file mode 100644 index 0000000..7dae4b0 --- /dev/null +++ b/assets/models/gltf/Cube/glTF/Cube.bin diff --git a/assets/models/gltf/Cube/glTF/Cube.gltf b/assets/models/gltf/Cube/glTF/Cube.gltf new file mode 100644 index 0000000..bc873da --- /dev/null +++ b/assets/models/gltf/Cube/glTF/Cube.gltf @@ -0,0 +1,193 @@ +{ + "accessors" : [ + { + "bufferView" : 0, + "byteOffset" : 0, + "componentType" : 5123, + "count" : 36, + "max" : [ + 35 + ], + "min" : [ + 0 + ], + "type" : "SCALAR" + }, + { + "bufferView" : 1, + "byteOffset" : 0, + "componentType" : 5126, + "count" : 36, + "max" : [ + 1.000000, + 1.000000, + 1.000001 + ], + "min" : [ + -1.000000, + -1.000000, + -1.000000 + ], + "type" : "VEC3" + }, + { + "bufferView" : 2, + "byteOffset" : 0, + "componentType" : 5126, + "count" : 36, + "max" : [ + 1.000000, + 1.000000, + 1.000000 + ], + "min" : [ + -1.000000, + -1.000000, + -1.000000 + ], + "type" : "VEC3" + }, + { + "bufferView" : 3, + "byteOffset" : 0, + "componentType" : 5126, + "count" : 36, + "max" : [ + 1.000000, + -0.000000, + -0.000000, + 1.000000 + ], + "min" : [ + 0.000000, + -0.000000, + -1.000000, + -1.000000 + ], + "type" : "VEC4" + }, + { + "bufferView" : 4, + "byteOffset" : 0, + "componentType" : 5126, + "count" : 36, + "max" : [ + 1.000000, + 1.000000 + ], + "min" : [ + -1.000000, + -1.000000 + ], + "type" : "VEC2" + } + ], + "asset" : { + "generator" : "VKTS glTF 2.0 exporter", + "version" : "2.0" + }, + "bufferViews" : [ + { + "buffer" : 0, + "byteLength" : 72, + "byteOffset" : 0, + "target" : 34963 + }, + { + "buffer" : 0, + "byteLength" : 432, + "byteOffset" : 72, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 432, + "byteOffset" : 504, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 576, + "byteOffset" : 936, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 288, + "byteOffset" : 1512, + "target" : 34962 + } + ], + "buffers" : [ + { + "byteLength" : 1800, + "uri" : "Cube.bin" + } + ], + "images" : [ + { + "uri" : "Cube_BaseColor.png" + }, + { + "uri" : "Cube_MetallicRoughness.png" + } + ], + "materials" : [ + { + "name" : "Cube", + "pbrMetallicRoughness" : { + "baseColorTexture" : { + "index" : 0 + }, + "metallicRoughnessTexture" : { + "index" : 1 + } + } + } + ], + "meshes" : [ + { + "name" : "Cube", + "primitives" : [ + { + "attributes" : { + "NORMAL" : 2, + "POSITION" : 1, + "TANGENT" : 3, + "TEXCOORD_0" : 4 + }, + "indices" : 0, + "material" : 0, + "mode" : 4 + } + ] + } + ], + "nodes" : [ + { + "mesh" : 0, + "name" : "Cube" + } + ], + "samplers" : [ + {} + ], + "scene" : 0, + "scenes" : [ + { + "nodes" : [ + 0 + ] + } + ], + "textures" : [ + { + "sampler" : 0, + "source" : 0 + }, + { + "sampler" : 0, + "source" : 1 + } + ] +} diff --git a/assets/models/gltf/Cube/glTF/Cube_BaseColor.png b/assets/models/gltf/Cube/glTF/Cube_BaseColor.png Binary files differnew file mode 100644 index 0000000..5e5cb20 --- /dev/null +++ b/assets/models/gltf/Cube/glTF/Cube_BaseColor.png diff --git a/assets/models/gltf/Cube/glTF/Cube_MetallicRoughness.png b/assets/models/gltf/Cube/glTF/Cube_MetallicRoughness.png Binary files differnew file mode 100644 index 0000000..efd2026 --- /dev/null +++ b/assets/models/gltf/Cube/glTF/Cube_MetallicRoughness.png diff --git a/assets/models/gltf/Cube/metadata.json b/assets/models/gltf/Cube/metadata.json new file mode 100644 index 0000000..54ea970 --- /dev/null +++ b/assets/models/gltf/Cube/metadata.json @@ -0,0 +1,25 @@ +{ + "version": 2, + "legal": [ + { + "license": "CC0", + "licenseUrl": "https://creativecommons.org/publicdomain/zero/1.0/legalcode", + "artist": "Norbert Nopper", + "year": "2017", + "owner": "UX3D", + "what": "Everything", + "text": "CC0 1.0 Universal", + "spdx": "CC0-1.0", + "icon": "https://licensebuttons.net/p/zero/1.0/88x31.png" + } + ], + "tags": [ + "core", + "testing" + ], + "screenshot": "screenshot/screenshot.jpg", + "name": "Cube", + "path": "./Models/Cube", + "summary": "A cube with non-smoothed faces.", + "createReadme": true +}
\ No newline at end of file diff --git a/assets/models/gltf/Cube/screenshot/screenshot-x150.jpg b/assets/models/gltf/Cube/screenshot/screenshot-x150.jpg Binary files differnew file mode 100644 index 0000000..d76c0cc --- /dev/null +++ b/assets/models/gltf/Cube/screenshot/screenshot-x150.jpg diff --git a/assets/models/gltf/Cube/screenshot/screenshot.jpg b/assets/models/gltf/Cube/screenshot/screenshot.jpg Binary files differnew file mode 100644 index 0000000..5bff280 --- /dev/null +++ b/assets/models/gltf/Cube/screenshot/screenshot.jpg |