diff --git a/test/testfiles/o3dv/three_cubes.o3dv b/test/testfiles/o3dv/three_cubes.o3dv new file mode 100644 index 0000000..04c3ed6 --- /dev/null +++ b/test/testfiles/o3dv/three_cubes.o3dv @@ -0,0 +1,67 @@ +{ + "root" : 0, + "nodes" : [ + { + "children" : [1, 2, 3] + }, + { + "transformation" : { + "translation" : [0.0, 0.0, 0.0] + }, + "mesh" : 0 + }, + { + "transformation" : { + "translation" : [2.0, 0.0, 0.0] + }, + "mesh" : 1 + }, + { + "transformation" : { + "translation" : [4.0, 0.0, 0.0] + }, + "mesh" : 2 + } + ], + "materials" : [ + { + "name" : "Red", + "color" : [200, 0, 0] + }, + { + "name" : "Blue", + "color" : [0, 0, 200] + } + ], + "meshes" : [ + { + "name" : "Cube", + "type" : "cuboid", + "material" : 0, + "parameters" : { + "size_x" : 1.0, + "size_y" : 1.0, + "size_z" : 1.0 + } + }, + { + "name" : "Cube", + "type" : "cuboid", + "material" : 1, + "parameters" : { + "size_x" : 1.0, + "size_y" : 1.0, + "size_z" : 1.0 + } + }, + { + "name" : "Cube", + "type" : "cuboid", + "parameters" : { + "size_x" : 1.0, + "size_y" : 1.0, + "size_z" : 1.0 + } + } + ] +}