From 6d343160e702552ec11456bf64539340778776e1 Mon Sep 17 00:00:00 2001 From: kovacsv Date: Mon, 13 Dec 2021 20:27:37 +0100 Subject: [PATCH] Add o3dv example file. --- test/testfiles/o3dv/two_cubes.o3dv | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 test/testfiles/o3dv/two_cubes.o3dv diff --git a/test/testfiles/o3dv/two_cubes.o3dv b/test/testfiles/o3dv/two_cubes.o3dv new file mode 100644 index 0000000..7a94ffb --- /dev/null +++ b/test/testfiles/o3dv/two_cubes.o3dv @@ -0,0 +1,38 @@ +{ + "root" : 0, + "nodes" : [ + { + "children" : [1, 2] + }, + { + "transformation" : { + "translation" : [0.0, 0.0, 0.0] + }, + "mesh" : 0 + }, + { + "transformation" : { + "translation" : [2.0, 0.0, 0.0] + }, + "mesh" : 0 + } + ], + "materials" : [ + { + "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 + } + } + ] +}