add gltf samples
2715
sample/gltf/CesiumMan/CesiumMan.gltf
Normal file
BIN
sample/gltf/CesiumMan/CesiumMan_data.bin
Normal file
|
After Width: | Height: | Size: 247 KiB |
BIN
sample/gltf/CesiumMan/CesiumMan_img0.jpg
Normal file
|
After Width: | Height: | Size: 205 KiB |
10
sample/gltf/CesiumMan/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# Cesium Man
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## License Information
|
||||
|
||||
Donated by Cesium for glTF testing. Please follow the [Cesium Trademark Terms and Conditions](https://github.com/AnalyticalGraphicsInc/cesium/wiki/CesiumTrademark.pdf).
|
||||
|
||||
This model is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
|
||||
489
sample/gltf/CesiumMilkTruck/CesiumMilkTruck.gltf
Normal file
@ -0,0 +1,489 @@
|
||||
{
|
||||
"asset": {
|
||||
"generator": "Khronos glTF Blender I/O v1.0.5",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"name": "Scene",
|
||||
"nodes": [
|
||||
5
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0,
|
||||
"name": "Wheels",
|
||||
"rotation": [
|
||||
0,
|
||||
0.08848588913679123,
|
||||
0,
|
||||
-0.9960774183273315
|
||||
]
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
0
|
||||
],
|
||||
"name": "Node",
|
||||
"translation": [
|
||||
1.432669997215271,
|
||||
0,
|
||||
-0.4277220070362091
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"name": "Wheels.001",
|
||||
"rotation": [
|
||||
0,
|
||||
0.08848588913679123,
|
||||
0,
|
||||
-0.9960774183273315
|
||||
]
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
2
|
||||
],
|
||||
"name": "Node.001",
|
||||
"translation": [
|
||||
-1.352329969406128,
|
||||
0,
|
||||
-0.4277220070362091
|
||||
]
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
1,
|
||||
3
|
||||
],
|
||||
"mesh": 1,
|
||||
"name": "Cesium_Milk_Truck"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
4
|
||||
],
|
||||
"name": "Yup2Zup",
|
||||
"rotation": [
|
||||
0.4999999701976776,
|
||||
-0.5,
|
||||
0.5,
|
||||
0.4999999701976776
|
||||
]
|
||||
}
|
||||
],
|
||||
"animations": [
|
||||
{
|
||||
"channels": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"target": {
|
||||
"node": 0,
|
||||
"path": "rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler": 1,
|
||||
"target": {
|
||||
"node": 2,
|
||||
"path": "rotation"
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "Wheels",
|
||||
"samplers": [
|
||||
{
|
||||
"input": 16,
|
||||
"interpolation": "LINEAR",
|
||||
"output": 17
|
||||
},
|
||||
{
|
||||
"input": 16,
|
||||
"interpolation": "LINEAR",
|
||||
"output": 18
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"name": "wheels",
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorTexture": {
|
||||
"index": 0,
|
||||
"texCoord": 0
|
||||
},
|
||||
"metallicFactor": 0,
|
||||
"roughnessFactor": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "truck",
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorTexture": {
|
||||
"index": 1,
|
||||
"texCoord": 0
|
||||
},
|
||||
"metallicFactor": 0,
|
||||
"roughnessFactor": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "glass",
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorFactor": [
|
||||
0,
|
||||
0.04050629958510399,
|
||||
0.021240700036287308,
|
||||
1
|
||||
],
|
||||
"metallicFactor": 0,
|
||||
"roughnessFactor": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "window_trim",
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorFactor": [
|
||||
0.06400000303983688,
|
||||
0.06400000303983688,
|
||||
0.06400000303983688,
|
||||
1
|
||||
],
|
||||
"metallicFactor": 0,
|
||||
"roughnessFactor": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"name": "Wheels",
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0,
|
||||
"NORMAL": 1,
|
||||
"TEXCOORD_0": 2
|
||||
},
|
||||
"indices": 3,
|
||||
"material": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Cesium_Milk_Truck",
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 4,
|
||||
"NORMAL": 5,
|
||||
"TEXCOORD_0": 6
|
||||
},
|
||||
"indices": 7,
|
||||
"material": 1
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 8,
|
||||
"NORMAL": 9,
|
||||
"TEXCOORD_0": 10
|
||||
},
|
||||
"indices": 11,
|
||||
"material": 2
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 12,
|
||||
"NORMAL": 13,
|
||||
"TEXCOORD_0": 14
|
||||
},
|
||||
"indices": 15,
|
||||
"material": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"source": 0
|
||||
},
|
||||
{
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"name": "CesiumMilkTruck.jpg",
|
||||
"uri": "CesiumMilkTruck.jpg"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 828,
|
||||
"max": [
|
||||
0.4277999997138977,
|
||||
1.0579999685287476,
|
||||
0.4277999997138977
|
||||
],
|
||||
"min": [
|
||||
-0.4277999997138977,
|
||||
-1.0579999685287476,
|
||||
-0.4277999997138977
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5126,
|
||||
"count": 828,
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"componentType": 5126,
|
||||
"count": 828,
|
||||
"type": "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView": 3,
|
||||
"componentType": 5123,
|
||||
"count": 2304,
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 4,
|
||||
"componentType": 5126,
|
||||
"count": 2366,
|
||||
"max": [
|
||||
2.437999963760376,
|
||||
1.3960000276565552,
|
||||
-0.2667999863624573
|
||||
],
|
||||
"min": [
|
||||
-2.430910110473633,
|
||||
-1.3960000276565552,
|
||||
-2.5843698978424072
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 5,
|
||||
"componentType": 5126,
|
||||
"count": 2366,
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 6,
|
||||
"componentType": 5126,
|
||||
"count": 2366,
|
||||
"type": "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView": 7,
|
||||
"componentType": 5123,
|
||||
"count": 5232,
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 8,
|
||||
"componentType": 5126,
|
||||
"count": 151,
|
||||
"max": [
|
||||
1.6011799573898315,
|
||||
1.3960000276565552,
|
||||
-1.631850004196167
|
||||
],
|
||||
"min": [
|
||||
0.22885000705718994,
|
||||
-1.3960000276565552,
|
||||
-2.3545401096343994
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 9,
|
||||
"componentType": 5126,
|
||||
"count": 151,
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 10,
|
||||
"componentType": 5126,
|
||||
"count": 151,
|
||||
"type": "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView": 11,
|
||||
"componentType": 5123,
|
||||
"count": 168,
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 12,
|
||||
"componentType": 5126,
|
||||
"count": 650,
|
||||
"max": [
|
||||
1.62267005443573,
|
||||
1.100000023841858,
|
||||
-1.5961999893188477
|
||||
],
|
||||
"min": [
|
||||
0.1932000070810318,
|
||||
-1.1100000143051147,
|
||||
-2.3919999599456787
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 13,
|
||||
"componentType": 5126,
|
||||
"count": 650,
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 14,
|
||||
"componentType": 5126,
|
||||
"count": 650,
|
||||
"type": "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView": 15,
|
||||
"componentType": 5123,
|
||||
"count": 864,
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 16,
|
||||
"componentType": 5126,
|
||||
"count": 31,
|
||||
"max": [
|
||||
1.25
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 17,
|
||||
"componentType": 5126,
|
||||
"count": 31,
|
||||
"type": "VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView": 18,
|
||||
"componentType": 5126,
|
||||
"count": 31,
|
||||
"type": "VEC4"
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 9936,
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 9936,
|
||||
"byteOffset": 9936
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 6624,
|
||||
"byteOffset": 19872
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 4608,
|
||||
"byteOffset": 26496
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 28392,
|
||||
"byteOffset": 31104
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 28392,
|
||||
"byteOffset": 59496
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 18928,
|
||||
"byteOffset": 87888
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 10464,
|
||||
"byteOffset": 106816
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 1812,
|
||||
"byteOffset": 117280
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 1812,
|
||||
"byteOffset": 119092
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 1208,
|
||||
"byteOffset": 120904
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 336,
|
||||
"byteOffset": 122112
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 7800,
|
||||
"byteOffset": 122448
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 7800,
|
||||
"byteOffset": 130248
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 5200,
|
||||
"byteOffset": 138048
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 1728,
|
||||
"byteOffset": 143248
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 124,
|
||||
"byteOffset": 144976
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 496,
|
||||
"byteOffset": 145100
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 496,
|
||||
"byteOffset": 145596
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "CesiumMilkTruck_data.bin",
|
||||
"byteLength": 146092
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
sample/gltf/CesiumMilkTruck/CesiumMilkTruck.jpg
Normal file
|
After Width: | Height: | Size: 289 KiB |
BIN
sample/gltf/CesiumMilkTruck/CesiumMilkTruck_data.bin
Normal file
10
sample/gltf/CesiumMilkTruck/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# Cesium Milk Truck
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## License Information
|
||||
|
||||
Donated by Cesium for glTF testing. Please follow the [Cesium Trademark Terms and Conditions](https://github.com/AnalyticalGraphicsInc/cesium/wiki/CesiumTrademark.pdf).
|
||||
|
||||
This model is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
|
||||
BIN
sample/gltf/DamagedHelmet/DamagedHelmet.bin
Normal file
|
After Width: | Height: | Size: 545 KiB |
204
sample/gltf/DamagedHelmet/DamagedHelmet.gltf
Normal file
@ -0,0 +1,204 @@
|
||||
{
|
||||
"accessors" : [
|
||||
{
|
||||
"bufferView" : 0,
|
||||
"componentType" : 5123,
|
||||
"count" : 46356,
|
||||
"max" : [
|
||||
14555
|
||||
],
|
||||
"min" : [
|
||||
0
|
||||
],
|
||||
"type" : "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView" : 1,
|
||||
"componentType" : 5126,
|
||||
"count" : 14556,
|
||||
"max" : [
|
||||
0.9424954056739807,
|
||||
0.8128451108932495,
|
||||
0.900973916053772
|
||||
],
|
||||
"min" : [
|
||||
-0.9474585652351379,
|
||||
-1.18715500831604,
|
||||
-0.9009949564933777
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 2,
|
||||
"componentType" : 5126,
|
||||
"count" : 14556,
|
||||
"max" : [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"min" : [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 3,
|
||||
"componentType" : 5126,
|
||||
"count" : 14556,
|
||||
"max" : [
|
||||
0.9999759793281555,
|
||||
1.998665988445282
|
||||
],
|
||||
"min" : [
|
||||
0.002448640065267682,
|
||||
1.0005531199858524
|
||||
],
|
||||
"type" : "VEC2"
|
||||
}
|
||||
],
|
||||
"asset" : {
|
||||
"generator" : "Khronos Blender glTF 2.0 exporter",
|
||||
"version" : "2.0"
|
||||
},
|
||||
"bufferViews" : [
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 92712,
|
||||
"byteOffset" : 0,
|
||||
"target" : 34963
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 174672,
|
||||
"byteOffset" : 92712,
|
||||
"target" : 34962
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 174672,
|
||||
"byteOffset" : 267384,
|
||||
"target" : 34962
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 116448,
|
||||
"byteOffset" : 442056,
|
||||
"target" : 34962
|
||||
}
|
||||
],
|
||||
"buffers" : [
|
||||
{
|
||||
"byteLength" : 558504,
|
||||
"uri" : "DamagedHelmet.bin"
|
||||
}
|
||||
],
|
||||
"images" : [
|
||||
{
|
||||
"uri" : "Default_albedo.jpg"
|
||||
},
|
||||
{
|
||||
"uri" : "Default_metalRoughness.jpg"
|
||||
},
|
||||
{
|
||||
"uri" : "Default_emissive.jpg"
|
||||
},
|
||||
{
|
||||
"uri" : "Default_AO.jpg"
|
||||
},
|
||||
{
|
||||
"uri" : "Default_normal.jpg"
|
||||
}
|
||||
],
|
||||
"materials" : [
|
||||
{
|
||||
"emissiveFactor" : [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"emissiveTexture" : {
|
||||
"index" : 2
|
||||
},
|
||||
"name" : "Material_MR",
|
||||
"normalTexture" : {
|
||||
"index" : 4
|
||||
},
|
||||
"occlusionTexture" : {
|
||||
"index" : 3
|
||||
},
|
||||
"pbrMetallicRoughness" : {
|
||||
"baseColorTexture" : {
|
||||
"index" : 0
|
||||
},
|
||||
"metallicRoughnessTexture" : {
|
||||
"index" : 1
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes" : [
|
||||
{
|
||||
"name" : "mesh_helmet_LP_13930damagedHelmet",
|
||||
"primitives" : [
|
||||
{
|
||||
"attributes" : {
|
||||
"NORMAL" : 2,
|
||||
"POSITION" : 1,
|
||||
"TEXCOORD_0" : 3
|
||||
},
|
||||
"indices" : 0,
|
||||
"material" : 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes" : [
|
||||
{
|
||||
"mesh" : 0,
|
||||
"name" : "node_damagedHelmet_-6514",
|
||||
"rotation" : [
|
||||
0.7071068286895752,
|
||||
0.0,
|
||||
-0.0,
|
||||
0.7071068286895752
|
||||
]
|
||||
}
|
||||
],
|
||||
"samplers" : [
|
||||
{}
|
||||
],
|
||||
"scene" : 0,
|
||||
"scenes" : [
|
||||
{
|
||||
"name" : "Scene",
|
||||
"nodes" : [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"textures" : [
|
||||
{
|
||||
"sampler" : 0,
|
||||
"source" : 0
|
||||
},
|
||||
{
|
||||
"sampler" : 0,
|
||||
"source" : 1
|
||||
},
|
||||
{
|
||||
"sampler" : 0,
|
||||
"source" : 2
|
||||
},
|
||||
{
|
||||
"sampler" : 0,
|
||||
"source" : 3
|
||||
},
|
||||
{
|
||||
"sampler" : 0,
|
||||
"source" : 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
sample/gltf/DamagedHelmet/Default_AO.jpg
Normal file
|
After Width: | Height: | Size: 353 KiB |
BIN
sample/gltf/DamagedHelmet/Default_albedo.jpg
Normal file
|
After Width: | Height: | Size: 914 KiB |
BIN
sample/gltf/DamagedHelmet/Default_emissive.jpg
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
sample/gltf/DamagedHelmet/Default_metalRoughness.jpg
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
sample/gltf/DamagedHelmet/Default_normal.jpg
Normal file
|
After Width: | Height: | Size: 506 KiB |
15
sample/gltf/DamagedHelmet/README.md
Normal file
@ -0,0 +1,15 @@
|
||||
# Damaged Helmet
|
||||
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## License Information
|
||||
|
||||
Battle Damaged Sci-fi Helmet - PBR by [theblueturtle_](https://sketchfab.com/theblueturtle_), published under a Creative Commons Attribution-NonCommercial license
|
||||
|
||||
https://sketchfab.com/models/b81008d513954189a063ff901f7abfe4
|
||||
|
||||
## Modifications
|
||||
|
||||
The original model was built on an early draft of glTF 2.0 that did not become final. This new model has been imported and re-exported from Blender to bring it into alignment with the final release glTF 2.0 specification.
|
||||
219
sample/gltf/Duck/Duck.gltf
Normal file
@ -0,0 +1,219 @@
|
||||
{
|
||||
"asset": {
|
||||
"generator": "COLLADA2GLTF",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
2,
|
||||
1
|
||||
],
|
||||
"matrix": [
|
||||
0.009999999776482582,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.009999999776482582,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.009999999776482582,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
-0.7289686799049377,
|
||||
0.0,
|
||||
-0.6845470666885376,
|
||||
0.0,
|
||||
-0.4252049028873444,
|
||||
0.7836934328079224,
|
||||
0.4527972936630249,
|
||||
0.0,
|
||||
0.5364750623703003,
|
||||
0.6211478114128113,
|
||||
-0.571287989616394,
|
||||
0.0,
|
||||
400.1130065917969,
|
||||
463.2640075683594,
|
||||
-431.0780334472656,
|
||||
1.0
|
||||
],
|
||||
"camera": 0
|
||||
},
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"cameras": [
|
||||
{
|
||||
"perspective": {
|
||||
"aspectRatio": 1.5,
|
||||
"yfov": 0.6605925559997559,
|
||||
"zfar": 10000.0,
|
||||
"znear": 1.0
|
||||
},
|
||||
"type": "perspective"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2,
|
||||
"TEXCOORD_0": 3
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": "LOD3spShape"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 12636,
|
||||
"max": [
|
||||
2398
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 2399,
|
||||
"max": [
|
||||
0.9995989799499512,
|
||||
0.999580979347229,
|
||||
0.9984359741210938
|
||||
],
|
||||
"min": [
|
||||
-0.9990839958190918,
|
||||
-1.0,
|
||||
-0.9998319745063782
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 28788,
|
||||
"componentType": 5126,
|
||||
"count": 2399,
|
||||
"max": [
|
||||
96.17990112304688,
|
||||
163.97000122070313,
|
||||
53.92519760131836
|
||||
],
|
||||
"min": [
|
||||
-69.29850006103516,
|
||||
9.929369926452637,
|
||||
-61.32819747924805
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 2399,
|
||||
"max": [
|
||||
0.9833459854125976,
|
||||
0.9800369739532472
|
||||
],
|
||||
"min": [
|
||||
0.026409000158309938,
|
||||
0.01996302604675293
|
||||
],
|
||||
"type": "VEC2"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorTexture": {
|
||||
"index": 0
|
||||
},
|
||||
"metallicFactor": 0.0
|
||||
},
|
||||
"emissiveFactor": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"name": "blinn3-fx"
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"uri": "DuckCM.png"
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"magFilter": 9729,
|
||||
"minFilter": 9986,
|
||||
"wrapS": 10497,
|
||||
"wrapT": 10497
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 76768,
|
||||
"byteLength": 25272,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 57576,
|
||||
"byteStride": 12,
|
||||
"target": 34962
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 57576,
|
||||
"byteLength": 19192,
|
||||
"byteStride": 8,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"byteLength": 102040,
|
||||
"uri": "Duck0.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
sample/gltf/Duck/Duck0.bin
Normal file
BIN
sample/gltf/Duck/DuckCM.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
14
sample/gltf/Duck/README.md
Normal file
@ -0,0 +1,14 @@
|
||||
# Duck
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## License Information
|
||||
|
||||
Copyright 2006 Sony Computer Entertainment Inc.
|
||||
|
||||
Licensed under the SCEA Shared Source License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
|
||||
|
||||
https://web.archive.org/web/20160320123355/http://research.scea.com/scea_shared_source_license.html
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
||||