Home | History | Annotate | Download | only in g3d
      1 {
      2 	"version": [  0,   1], 
      3 	"id": "", 
      4 	"meshes": [
      5 		{
      6 			"attributes": ["POSITION", "NORMAL", "TEXCOORD0"], 
      7 			"vertices": [
      8 				-1.000000, -1.000000, 0.000000, 0, 0, 1, 0, 0,
      9 				 1.000000,  1.000000, 0.000000, 0, 0, 1, 1, 1,
     10 				 1.000000, -1.000000, 0.000000, 0, 0, 1, 1, 0,
     11 				-1.000000,  1.000000, 0.000000, 0, 0, 1, 0, 1
     12 			], 
     13 			"parts": [
     14 				{
     15 					"id": "mpart1", 
     16 					"type": "TRIANGLES", 
     17 					"indices": [
     18 						  0,   1,   2,   2,   3,   0
     19 					]
     20 				}
     21 			]
     22 		}
     23 	], 
     24 	"materials": [
     25 		{
     26 			"id": "Material", 
     27 			"diffuse": [ 1, 0, 0], 
     28 			"textures": [
     29 				{
     30 					"id": "Knight_png", 
     31 					"filename": "checkboard.png", 
     32 					"type": "DIFFUSE"
     33 				},
     34 				{
     35 					"id": "checkerboard", 
     36 					"filename": "Knight.png", 
     37 					"type": "NONE"
     38 				},
     39 				{
     40 					"id": "t1", 
     41 					"filename": "ship.png", 
     42 					"type": "NONE"
     43 				},
     44 				{
     45 					"id": "t2", 
     46 					"filename": "space.jpg", 
     47 					"type": "NONE"
     48 				},
     49 				{
     50 					"id": "t3", 
     51 					"filename": "invader.png", 
     52 					"type": "NONE"
     53 				}
     54 			]}
     55 	], 
     56 	"nodes": [
     57 		{"id": "Cube", 
     58 			"parts": [
     59 				{"meshpartid": "mpart1", 
     60 					"materialid": "Material",
     61 					"uvMapping": [[  0]]}
     62 			]
     63 		}
     64 	], 
     65 	"animations": [
     66 		{
     67 			"id": "Default Take", 
     68 			"bones": []
     69 		}
     70 	]
     71 }