summaryrefslogtreecommitdiff
path: root/examples/models/Suzanne
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-09-21 20:23:46 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-09-21 20:34:43 -0400
commita4f403625aa06197f9cd724da9f50dda47c216cc (patch)
tree1d52c062636017acad460a4680e00e383803fa90 /examples/models/Suzanne
parent96b3a372b58c8181ef9fb401f1502457f5ab6e6c (diff)
examples: model: Replace OBJ Suzanne model with a glTF one.
Diffstat (limited to 'examples/models/Suzanne')
-rw-r--r--examples/models/Suzanne/Suzanne.binbin0 -> 590400 bytes
-rw-r--r--examples/models/Suzanne/Suzanne.gltf193
-rw-r--r--examples/models/Suzanne/Suzanne_BaseColor.pngbin0 -> 1161624 bytes
-rw-r--r--examples/models/Suzanne/Suzanne_MetallicRoughness.pngbin0 -> 860478 bytes
4 files changed, 193 insertions, 0 deletions
diff --git a/examples/models/Suzanne/Suzanne.bin b/examples/models/Suzanne/Suzanne.bin
new file mode 100644
index 0000000..60f54db
--- /dev/null
+++ b/examples/models/Suzanne/Suzanne.bin
Binary files differ
diff --git a/examples/models/Suzanne/Suzanne.gltf b/examples/models/Suzanne/Suzanne.gltf
new file mode 100644
index 0000000..5660784
--- /dev/null
+++ b/examples/models/Suzanne/Suzanne.gltf
@@ -0,0 +1,193 @@
+{
+ "accessors" : [
+ {
+ "bufferView" : 0,
+ "byteOffset" : 0,
+ "componentType" : 5123,
+ "count" : 11808,
+ "max" : [
+ 11807
+ ],
+ "min" : [
+ 0
+ ],
+ "type" : "SCALAR"
+ },
+ {
+ "bufferView" : 1,
+ "byteOffset" : 0,
+ "componentType" : 5126,
+ "count" : 11808,
+ "max" : [
+ 1.336914,
+ 0.950195,
+ 0.825684
+ ],
+ "min" : [
+ -1.336914,
+ -0.974609,
+ -0.800781
+ ],
+ "type" : "VEC3"
+ },
+ {
+ "bufferView" : 2,
+ "byteOffset" : 0,
+ "componentType" : 5126,
+ "count" : 11808,
+ "max" : [
+ 0.996339,
+ 0.999958,
+ 0.999929
+ ],
+ "min" : [
+ -0.996339,
+ -0.985940,
+ -0.999994
+ ],
+ "type" : "VEC3"
+ },
+ {
+ "bufferView" : 3,
+ "byteOffset" : 0,
+ "componentType" : 5126,
+ "count" : 11808,
+ "max" : [
+ 0.998570,
+ 0.999996,
+ 0.999487,
+ 1.000000
+ ],
+ "min" : [
+ -0.999233,
+ -0.999453,
+ -0.999812,
+ 1.000000
+ ],
+ "type" : "VEC4"
+ },
+ {
+ "bufferView" : 4,
+ "byteOffset" : 0,
+ "componentType" : 5126,
+ "count" : 11808,
+ "max" : [
+ 0.999884,
+ 0.884359
+ ],
+ "min" : [
+ 0.000116,
+ 0.000116
+ ],
+ "type" : "VEC2"
+ }
+ ],
+ "asset" : {
+ "generator" : "VKTS glTF 2.0 exporter",
+ "version" : "2.0"
+ },
+ "bufferViews" : [
+ {
+ "buffer" : 0,
+ "byteLength" : 23616,
+ "byteOffset" : 0,
+ "target" : 34963
+ },
+ {
+ "buffer" : 0,
+ "byteLength" : 141696,
+ "byteOffset" : 23616,
+ "target" : 34962
+ },
+ {
+ "buffer" : 0,
+ "byteLength" : 141696,
+ "byteOffset" : 165312,
+ "target" : 34962
+ },
+ {
+ "buffer" : 0,
+ "byteLength" : 188928,
+ "byteOffset" : 307008,
+ "target" : 34962
+ },
+ {
+ "buffer" : 0,
+ "byteLength" : 94464,
+ "byteOffset" : 495936,
+ "target" : 34962
+ }
+ ],
+ "buffers" : [
+ {
+ "byteLength" : 590400,
+ "uri" : "Suzanne.bin"
+ }
+ ],
+ "images" : [
+ {
+ "uri" : "Suzanne_BaseColor.png"
+ },
+ {
+ "uri" : "Suzanne_MetallicRoughness.png"
+ }
+ ],
+ "materials" : [
+ {
+ "name" : "Suzanne",
+ "pbrMetallicRoughness" : {
+ "baseColorTexture" : {
+ "index" : 0
+ },
+ "metallicRoughnessTexture" : {
+ "index" : 1
+ }
+ }
+ }
+ ],
+ "meshes" : [
+ {
+ "name" : "Suzanne",
+ "primitives" : [
+ {
+ "attributes" : {
+ "NORMAL" : 2,
+ "POSITION" : 1,
+ "TANGENT" : 3,
+ "TEXCOORD_0" : 4
+ },
+ "indices" : 0,
+ "material" : 0,
+ "mode" : 4
+ }
+ ]
+ }
+ ],
+ "nodes" : [
+ {
+ "mesh" : 0,
+ "name" : "Suzanne"
+ }
+ ],
+ "samplers" : [
+ {}
+ ],
+ "scene" : 0,
+ "scenes" : [
+ {
+ "nodes" : [
+ 0
+ ]
+ }
+ ],
+ "textures" : [
+ {
+ "sampler" : 0,
+ "source" : 0
+ },
+ {
+ "sampler" : 0,
+ "source" : 1
+ }
+ ]
+}
diff --git a/examples/models/Suzanne/Suzanne_BaseColor.png b/examples/models/Suzanne/Suzanne_BaseColor.png
new file mode 100644
index 0000000..35469ab
--- /dev/null
+++ b/examples/models/Suzanne/Suzanne_BaseColor.png
Binary files differ
diff --git a/examples/models/Suzanne/Suzanne_MetallicRoughness.png b/examples/models/Suzanne/Suzanne_MetallicRoughness.png
new file mode 100644
index 0000000..e4ff1fd
--- /dev/null
+++ b/examples/models/Suzanne/Suzanne_MetallicRoughness.png
Binary files differ