Skip to content

Instantly share code, notes, and snippets.

@antoinerousseau
Created September 16, 2019 18:08
Show Gist options
  • Save antoinerousseau/d2e76dad8cca6ca41cf97ab53ec8c41e to your computer and use it in GitHub Desktop.
Save antoinerousseau/d2e76dad8cca6ca41cf97ab53ec8c41e to your computer and use it in GitHub Desktop.
{
"asset": {
"copyright": "(C)2018 PC-TEDDY-2",
"generator": "Maya2glTF V0.9.9 df3632e",
"version": "2.0"
},
"scenes": [
{
"nodes": [
0
]
}
],
"scene": 0,
"nodes": [
{
"mesh": 0,
"name": "pSphere6"
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"NORMAL": 1,
"POSITION": 2,
"TANGENT": 3,
"TEXCOORD_0": 4
},
"indices": 0,
"mode": 4,
"material": 0
}
],
"name": "pSphereShape6"
}
],
"accessors": [
{
"bufferView": 0,
"byteOffset": 0,
"componentType": 5123,
"count": 3600,
"max": [
673
],
"min": [
0
],
"type": "SCALAR"
},
{
"bufferView": 1,
"byteOffset": 0,
"componentType": 5126,
"count": 674,
"max": [
0.9980621337890624,
1.0,
0.9960927367210388
],
"min": [
-0.990192174911499,
-1.0,
-0.9960926175117492
],
"type": "VEC3"
},
{
"bufferView": 1,
"byteOffset": 8088,
"componentType": 5126,
"count": 674,
"max": [
2.4950666427612306,
2.5,
2.490143299102783
],
"min": [
-2.475393056869507,
-2.5,
-2.4901435375213625
],
"type": "VEC3"
},
{
"bufferView": 2,
"byteOffset": 0,
"componentType": 5126,
"count": 674,
"max": [
0.9992619752883912,
0.06283280998468399,
1.0,
1.0
],
"min": [
-0.9992618560791016,
-0.06283267587423325,
-1.0,
1.0
],
"type": "VEC4"
},
{
"bufferView": 3,
"byteOffset": 0,
"componentType": 5126,
"count": 674,
"max": [
1.0000001192092896,
1.0
],
"min": [
0.0,
0.0
],
"type": "VEC2"
}
],
"materials": [
{
"pbrMetallicRoughness": {
"baseColorFactor": [
1.0,
1.0,
1.0,
1.0
],
"baseColorTexture": {
"index": 0
},
"metallicFactor": 0.0,
"roughnessFactor": 1.0
},
"emissiveFactor": [
1.0,
1.0,
1.0
],
"emissiveTexture": {
"index": 0
},
"name": "sun"
}
],
"textures": [
{
"sampler": 0,
"source": 0
}
],
"images": [
{
"uri": "soleil.jpg"
}
],
"samplers": [
{
"magFilter": 9728,
"minFilter": 9728,
"wrapS": 10497,
"wrapT": 10497
}
],
"bufferViews": [
{
"buffer": 0,
"byteOffset": 32352,
"byteLength": 7200,
"target": 34963
},
{
"buffer": 0,
"byteOffset": 10784,
"byteLength": 16176,
"byteStride": 12,
"target": 34962
},
{
"buffer": 0,
"byteOffset": 0,
"byteLength": 10784,
"byteStride": 16,
"target": 34962
},
{
"buffer": 0,
"byteOffset": 26960,
"byteLength": 5392,
"byteStride": 8,
"target": 34962
}
],
"buffers": [
{
"byteLength": 39552,
"uri": "soleil0.bin"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment