Revision control

Copy as Markdown

{"asset": {"version": "2.0"}, "extensionsUsed": ["KHR_texture_transform"], "scene": 0, "scenes": [{"nodes": [0, 1]}], "nodes": [{"mesh": 0, "name": "quad"}, {"mesh": 0, "name": "quad2", "translation": [2.5, 0, 0]}], "meshes": [{"primitives": [{"attributes": {"POSITION": 0, "NORMAL": 1, "TEXCOORD_0": 2}, "indices": 3, "material": 0}]}], "materials": [{"name": "checkerMat", "pbrMetallicRoughness": {"baseColorTexture": {"index": 0, "extensions": {"KHR_texture_transform": {"offset": [0.1, 0.2], "scale": [2, 2], "rotation": 0.5235987755982988}}}, "metallicFactor": 0.0, "roughnessFactor": 0.8}, "emissiveFactor": [0.05, 0.05, 0.05]}], "textures": [{"sampler": 0, "source": 0}], "samplers": [{"magFilter": 9729, "minFilter": 9987, "wrapS": 10497, "wrapT": 10497}], "images": [{"uri": "checker.png"}], "buffers": [{"uri": "quad.bin", "byteLength": 140}, {"uri": "data:application/octet-stream;base64,AAAAAAAAgD4AAAA/AABAPwAAgD8AAAAAAAAAAAAAAAAAAIA/AAAAAAAAAADzBDU/8wQ1PwAAAAAAAAAAAACAPzIxjSQAAAAAAAAAAPMENT/zBDW/AAAAAAAAAAAyMQ0lAACAvwAAAAAAAAA/AACAPwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAAEAAAAAAAAAAAA==", "byteLength": 148}], "bufferViews": [{"buffer": 0, "byteOffset": 0, "byteLength": 48}, {"buffer": 0, "byteOffset": 48, "byteLength": 48}, {"buffer": 0, "byteOffset": 96, "byteLength": 32}, {"buffer": 0, "byteOffset": 128, "byteLength": 12}, {"buffer": 1, "byteOffset": 0, "byteLength": 20}, {"buffer": 1, "byteOffset": 20, "byteLength": 80}, {"buffer": 1, "byteOffset": 100, "byteLength": 12}, {"buffer": 1, "byteOffset": 112, "byteLength": 36}], "accessors": [{"bufferView": 0, "componentType": 5126, "count": 4, "type": "VEC3", "min": [-1, -1, 0], "max": [1, 1, 0]}, {"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": 5, "type": "SCALAR", "min": [0], "max": [1]}, {"bufferView": 5, "componentType": 5126, "count": 5, "type": "VEC4"}, {"bufferView": 6, "componentType": 5126, "count": 3, "type": "SCALAR", "min": [0], "max": [1]}, {"bufferView": 7, "componentType": 5126, "count": 3, "type": "VEC3"}], "animations": [{"name": "spin", "samplers": [{"input": 4, "output": 5, "interpolation": "LINEAR"}, {"input": 6, "output": 7, "interpolation": "STEP"}], "channels": [{"sampler": 0, "target": {"node": 0, "path": "rotation"}}, {"sampler": 1, "target": {"node": 1, "path": "translation"}}]}]}