forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request godotengine#101136 from JulianHeuser/master
Add test for GLTFDocument
- Loading branch information
Showing
5 changed files
with
563 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,312 @@ | ||
{ | ||
"asset":{ | ||
"generator":"Khronos glTF Blender I/O v4.3.47", | ||
"version":"2.0" | ||
}, | ||
"scene":0, | ||
"scenes":[ | ||
{ | ||
"name":"Scene", | ||
"nodes":[ | ||
0 | ||
] | ||
} | ||
], | ||
"nodes":[ | ||
{ | ||
"mesh":0, | ||
"name":"Cube" | ||
} | ||
], | ||
"animations":[ | ||
{ | ||
"channels":[ | ||
{ | ||
"sampler":0, | ||
"target":{ | ||
"node":0, | ||
"path":"translation" | ||
} | ||
}, | ||
{ | ||
"sampler":1, | ||
"target":{ | ||
"node":0, | ||
"path":"rotation" | ||
} | ||
}, | ||
{ | ||
"sampler":2, | ||
"target":{ | ||
"node":0, | ||
"path":"scale" | ||
} | ||
} | ||
], | ||
"name":"CubeAction", | ||
"samplers":[ | ||
{ | ||
"input":8, | ||
"interpolation":"LINEAR", | ||
"output":9 | ||
}, | ||
{ | ||
"input":10, | ||
"interpolation":"STEP", | ||
"output":11 | ||
}, | ||
{ | ||
"input":10, | ||
"interpolation":"STEP", | ||
"output":12 | ||
} | ||
] | ||
} | ||
], | ||
"materials":[ | ||
{ | ||
"doubleSided":true, | ||
"name":"Material1", | ||
"pbrMetallicRoughness":{ | ||
"baseColorFactor":[ | ||
1.9073486328125e-06, | ||
0, | ||
1, | ||
1 | ||
], | ||
"metallicFactor":0 | ||
} | ||
}, | ||
{ | ||
"doubleSided":true, | ||
"name":"Material2", | ||
"pbrMetallicRoughness":{ | ||
"baseColorFactor":[ | ||
0, | ||
1, | ||
0, | ||
1 | ||
], | ||
"roughnessFactor":0 | ||
} | ||
} | ||
], | ||
"meshes":[ | ||
{ | ||
"name":"Cube.001", | ||
"primitives":[ | ||
{ | ||
"attributes":{ | ||
"POSITION":0, | ||
"NORMAL":1, | ||
"TEXCOORD_0":2 | ||
}, | ||
"indices":3, | ||
"material":0 | ||
}, | ||
{ | ||
"attributes":{ | ||
"POSITION":4, | ||
"NORMAL":5, | ||
"TEXCOORD_0":6 | ||
}, | ||
"indices":7, | ||
"material":1 | ||
} | ||
] | ||
} | ||
], | ||
"accessors":[ | ||
{ | ||
"bufferView":0, | ||
"componentType":5126, | ||
"count":4, | ||
"max":[ | ||
1, | ||
1, | ||
1 | ||
], | ||
"min":[ | ||
-1, | ||
1, | ||
-1 | ||
], | ||
"type":"VEC3" | ||
}, | ||
{ | ||
"bufferView":1, | ||
"componentType":5126, | ||
"count":4, | ||
"type":"VEC3" | ||
}, | ||
{ | ||
"bufferView":2, | ||
"componentType":5126, | ||
"count":4, | ||
"type":"VEC2" | ||
}, | ||
{ | ||
"bufferView":3, | ||
"componentType":5123, | ||
"count":6, | ||
"type":"SCALAR" | ||
}, | ||
{ | ||
"bufferView":4, | ||
"componentType":5126, | ||
"count":20, | ||
"max":[ | ||
1, | ||
1, | ||
1 | ||
], | ||
"min":[ | ||
-1, | ||
-1, | ||
-1 | ||
], | ||
"type":"VEC3" | ||
}, | ||
{ | ||
"bufferView":5, | ||
"componentType":5126, | ||
"count":20, | ||
"type":"VEC3" | ||
}, | ||
{ | ||
"bufferView":6, | ||
"componentType":5126, | ||
"count":20, | ||
"type":"VEC2" | ||
}, | ||
{ | ||
"bufferView":7, | ||
"componentType":5123, | ||
"count":30, | ||
"type":"SCALAR" | ||
}, | ||
{ | ||
"bufferView":8, | ||
"componentType":5126, | ||
"count":20, | ||
"max":[ | ||
0.8333333333333334 | ||
], | ||
"min":[ | ||
0.041666666666666664 | ||
], | ||
"type":"SCALAR" | ||
}, | ||
{ | ||
"bufferView":9, | ||
"componentType":5126, | ||
"count":20, | ||
"type":"VEC3" | ||
}, | ||
{ | ||
"bufferView":10, | ||
"componentType":5126, | ||
"count":2, | ||
"max":[ | ||
0.8333333333333334 | ||
], | ||
"min":[ | ||
0.041666666666666664 | ||
], | ||
"type":"SCALAR" | ||
}, | ||
{ | ||
"bufferView":11, | ||
"componentType":5126, | ||
"count":2, | ||
"type":"VEC4" | ||
}, | ||
{ | ||
"bufferView":12, | ||
"componentType":5126, | ||
"count":2, | ||
"type":"VEC3" | ||
} | ||
], | ||
"bufferViews":[ | ||
{ | ||
"buffer":0, | ||
"byteLength":48, | ||
"byteOffset":0, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":48, | ||
"byteOffset":48, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":32, | ||
"byteOffset":96, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":12, | ||
"byteOffset":128, | ||
"target":34963 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":240, | ||
"byteOffset":140, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":240, | ||
"byteOffset":380, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":160, | ||
"byteOffset":620, | ||
"target":34962 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":60, | ||
"byteOffset":780, | ||
"target":34963 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":80, | ||
"byteOffset":840 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":240, | ||
"byteOffset":920 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":8, | ||
"byteOffset":1160 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":32, | ||
"byteOffset":1168 | ||
}, | ||
{ | ||
"buffer":0, | ||
"byteLength":24, | ||
"byteOffset":1200 | ||
} | ||
], | ||
"buffers":[ | ||
{ | ||
"byteLength":1224, | ||
"uri":"cube.bin" | ||
} | ||
] | ||
} |
Binary file not shown.
Oops, something went wrong.