diff --git a/src/systems/collada_world_exporter/ColladaWorldExporter.cc b/src/systems/collada_world_exporter/ColladaWorldExporter.cc
index 69e86077cc..454d3b56ea 100644
--- a/src/systems/collada_world_exporter/ColladaWorldExporter.cc
+++ b/src/systems/collada_world_exporter/ColladaWorldExporter.cc
@@ -117,12 +117,11 @@ class ignition::gazebo::systems::ColladaWorldExporterPrivate
int newMatIndex = 0;
if (_matIndex != -1)
{
- newMatIndex = worldMesh.IndexOfMaterial(
- mesh->MaterialByIndex(_matIndex).get());
- if (_matIndex < 0)
+ auto m = mesh->MaterialByIndex(_matIndex);
+ newMatIndex = worldMesh.IndexOfMaterial(m.get());
+ if (newMatIndex < 0)
{
- newMatIndex = worldMesh.AddMaterial(
- mesh->MaterialByIndex(_matIndex));
+ newMatIndex = worldMesh.AddMaterial(m);
}
}
else
diff --git a/test/integration/collada_world_exporter.cc b/test/integration/collada_world_exporter.cc
index bfb54b600c..b1d491ab35 100644
--- a/test/integration/collada_world_exporter.cc
+++ b/test/integration/collada_world_exporter.cc
@@ -77,9 +77,11 @@ TEST_F(ColladaWorldExporterFixture, ExportWorld)
TEST_F(ColladaWorldExporterFixture, ExportWorldFromFuelWithSubmesh)
{
+ std::string world_path =
+ ignition::common::joinPaths(PROJECT_SOURCE_PATH, "test", "worlds");
ignition::common::setenv("IGN_GAZEBO_RESOURCE_PATH",
- (std::string(PROJECT_SOURCE_PATH) + "/test/worlds:" +
- std::string(PROJECT_SOURCE_PATH) + "/test/worlds/models").c_str());
+ (world_path + ":" +
+ ignition::common::joinPaths(world_path, "models")).c_str());
this->LoadWorld(common::joinPaths("test", "worlds",
"collada_world_exporter_submesh.sdf"));
@@ -110,6 +112,44 @@ TEST_F(ColladaWorldExporterFixture, ExportWorldFromFuelWithSubmesh)
common::removeAll(outputPath);
}
+TEST_F(ColladaWorldExporterFixture, ExportWorldMadeFromObj)
+{
+ std::string world_path =
+ ignition::common::joinPaths(PROJECT_SOURCE_PATH, "test", "worlds");
+ ignition::common::setenv("IGN_GAZEBO_RESOURCE_PATH",
+ (world_path + ":" +
+ ignition::common::joinPaths(world_path, "models")).c_str());
+
+ this->LoadWorld(common::joinPaths("test", "worlds",
+ "office.sdf"));
+
+ const std::string outputPath = "./office_world";
+ const std::string outputPathTextures =
+ common::joinPaths(outputPath, "materials", "textures");
+ const std::string outputPathTexture1 =
+ common::joinPaths(outputPathTextures, "default.png");
+ const std::string outputPathTexture2 =
+ common::joinPaths(outputPathTextures, "blue_linoleum.png");
+
+ // Cleanup
+ common::removeAll(outputPath);
+
+ // The export directory shouldn't exist.
+ EXPECT_FALSE(common::exists(outputPath));
+
+ // Run one iteration which should export the world.
+ server->Run(true, 1, false);
+
+ // The export directory and corresponding textures should now exist.
+ EXPECT_TRUE(common::exists(outputPath));
+ EXPECT_TRUE(common::exists(outputPathTextures));
+ EXPECT_TRUE(common::exists(outputPathTexture1));
+ EXPECT_TRUE(common::exists(outputPathTexture2));
+
+ // Cleanup
+ common::removeAll(outputPath);
+}
+
/////////////////////////////////////////////////
/// Main
int main(int _argc, char **_argv)
diff --git a/test/worlds/models/building_L1/meshes/blue_linoleum.png b/test/worlds/models/building_L1/meshes/blue_linoleum.png
new file mode 100644
index 0000000000..1224d8d25b
Binary files /dev/null and b/test/worlds/models/building_L1/meshes/blue_linoleum.png differ
diff --git a/test/worlds/models/building_L1/meshes/default.png b/test/worlds/models/building_L1/meshes/default.png
new file mode 100644
index 0000000000..09f5ce38ef
Binary files /dev/null and b/test/worlds/models/building_L1/meshes/default.png differ
diff --git a/test/worlds/models/building_L1/meshes/floor_1.mtl b/test/worlds/models/building_L1/meshes/floor_1.mtl
new file mode 100644
index 0000000000..92851e9bde
--- /dev/null
+++ b/test/worlds/models/building_L1/meshes/floor_1.mtl
@@ -0,0 +1,10 @@
+# The Great Editor v0.0.1
+newmtl floor_1
+Ka 1.0 1.0 1.0
+Kd 1.0 1.0 1.0
+Ke 0.0 0.0 0.0
+Ns 50.0
+Ni 1.0
+d 1.0
+illum 2
+map_Kd blue_linoleum.png
diff --git a/test/worlds/models/building_L1/meshes/floor_1.obj b/test/worlds/models/building_L1/meshes/floor_1.obj
new file mode 100644
index 0000000000..6eebd2fe91
--- /dev/null
+++ b/test/worlds/models/building_L1/meshes/floor_1.obj
@@ -0,0 +1,93 @@
+# The Great Editor v0.0.1
+mtllib floor_1.mtl
+o floor_1
+v 6.53267851016078 -1.1435613801846989 0
+v 6.53267851016078 -1.1435613801846989 -0.1
+v 8.487429009296054 -1.9423062216146643 0
+v 8.487429009296054 -1.9423062216146643 -0.1
+v 10.123115005198834 -2.370169265455913 0
+v 10.123115005198834 -2.370169265455913 -0.1
+v 11.8122859979555 -2.608608395146717 0
+v 11.8122859979555 -2.608608395146717 -0.1
+v 12.184437619781013 -2.599694229004403 0
+v 12.184437619781013 -2.599694229004403 -0.1
+v 14.079464052312275 -2.5592799562946147 0
+v 14.079464052312275 -2.5592799562946147 -0.1
+v 23.683364858074697 -2.8822216561967937 0
+v 23.683364858074697 -2.8822216561967937 -0.1
+v 23.1498185757523 -6.032037606561247 0
+v 23.1498185757523 -6.032037606561247 -0.1
+v 22.780071154481785 -8.681068739912664 0
+v 22.780071154481785 -8.681068739912664 -0.1
+v 22.494580804070203 -11.2739313145231 0
+v 22.494580804070203 -11.2739313145231 -0.1
+v 19.461766458884213 -11.540704455684297 0
+v 19.461766458884213 -11.540704455684297 -0.1
+v 13.709716631041763 -12.004054854196562 0
+v 13.709716631041763 -12.004054854196562 -0.1
+v 10.789239403337737 -11.952567714141905 0
+v 10.789239403337737 -11.952567714141905 -0.1
+v 7.887470919389182 -11.50794299037494 0
+v 7.887470919389182 -11.50794299037494 -0.1
+v 5.552678957170429 -10.839312805742093 0
+v 5.552678957170429 -10.839312805742093 -0.1
+v 5.0034207162914015 -10.693384604449395 0
+v 5.0034207162914015 -10.693384604449395 -0.1
+v 2.277641406067981 -9.52562037431135 0
+v 2.277641406067981 -9.52562037431135 -0.1
+v 5.189085950700927 -3.7721398778287742 0
+v 5.189085950700927 -3.7721398778287742 -0.1
+vt 6.53267851016078 -1.1435613801846989 0
+vt 8.487429009296054 -1.9423062216146643 0
+vt 10.123115005198834 -2.370169265455913 0
+vt 11.8122859979555 -2.608608395146717 0
+vt 12.184437619781013 -2.599694229004403 0
+vt 14.079464052312275 -2.5592799562946147 0
+vt 23.683364858074697 -2.8822216561967937 0
+vt 23.1498185757523 -6.032037606561247 0
+vt 22.780071154481785 -8.681068739912664 0
+vt 22.494580804070203 -11.2739313145231 0
+vt 19.461766458884213 -11.540704455684297 0
+vt 13.709716631041763 -12.004054854196562 0
+vt 10.789239403337737 -11.952567714141905 0
+vt 7.887470919389182 -11.50794299037494 0
+vt 5.552678957170429 -10.839312805742093 0
+vt 5.0034207162914015 -10.693384604449395 0
+vt 2.277641406067981 -9.52562037431135 0
+vt 5.189085950700927 -3.7721398778287742 0
+vn 0 0 1
+vn 0 0 -1
+usemtl floor_1
+s off
+f 31/16/1 35/18/1 33/17/1
+f 34/17/2 36/18/2 32/16/2
+f 31/16/1 29/15/1 35/18/1
+f 36/18/2 30/15/2 32/16/2
+f 29/15/1 27/14/1 35/18/1
+f 36/18/2 28/14/2 30/15/2
+f 27/14/1 5/3/1 35/18/1
+f 36/18/2 6/3/2 28/14/2
+f 5/3/1 3/2/1 35/18/1
+f 36/18/2 4/2/2 6/3/2
+f 3/2/1 1/1/1 35/18/1
+f 36/18/2 2/1/2 4/2/2
+f 11/6/1 15/8/1 13/7/1
+f 14/7/2 16/8/2 12/6/2
+f 21/11/1 11/6/1 23/12/1
+f 24/12/2 12/6/2 22/11/2
+f 11/6/1 9/5/1 23/12/1
+f 24/12/2 10/5/2 12/6/2
+f 9/5/1 25/13/1 23/12/1
+f 24/12/2 26/13/2 10/5/2
+f 9/5/1 7/4/1 25/13/1
+f 26/13/2 8/4/2 10/5/2
+f 7/4/1 5/3/1 25/13/1
+f 26/13/2 6/3/2 8/4/2
+f 5/3/1 27/14/1 25/13/1
+f 26/13/2 28/14/2 6/3/2
+f 21/11/1 15/8/1 11/6/1
+f 12/6/2 16/8/2 22/11/2
+f 21/11/1 17/9/1 15/8/1
+f 16/8/2 18/9/2 22/11/2
+f 17/9/1 21/11/1 19/10/1
+f 20/10/2 22/11/2 18/9/2
diff --git a/test/worlds/models/building_L1/meshes/model.material b/test/worlds/models/building_L1/meshes/model.material
new file mode 100644
index 0000000000..672f8c8a0f
--- /dev/null
+++ b/test/worlds/models/building_L1/meshes/model.material
@@ -0,0 +1,26 @@
+material floor_1_Diffuse
+{
+ technique
+ {
+ pass
+ {
+ texture_unit
+ {
+ texture blue_linoleum.png
+ }
+ }
+ }
+}
+material wall_1_Diffuse
+{
+ technique
+ {
+ pass
+ {
+ texture_unit
+ {
+ texture default.png
+ }
+ }
+ }
+}
diff --git a/test/worlds/models/building_L1/meshes/wall_1.mtl b/test/worlds/models/building_L1/meshes/wall_1.mtl
new file mode 100644
index 0000000000..631cf2261c
--- /dev/null
+++ b/test/worlds/models/building_L1/meshes/wall_1.mtl
@@ -0,0 +1,10 @@
+# The Great Editor v0.0.1
+newmtl wall_1
+Ka 1.0 1.0 1.0
+Kd 1.0 1.0 1.0
+Ke 0.0 0.0 0.0
+Ns 50.0
+Ni 1.0
+d 1.0
+illum 2
+map_Kd default.png
diff --git a/test/worlds/models/building_L1/meshes/wall_1.obj b/test/worlds/models/building_L1/meshes/wall_1.obj
new file mode 100644
index 0000000000..47ffc1482f
--- /dev/null
+++ b/test/worlds/models/building_L1/meshes/wall_1.obj
@@ -0,0 +1,937 @@
+# The Great Editor v0.0.1
+mtllib wall_1.mtl
+o walls
+v 10.5293 -4.6624 0.000
+v 10.5293 -4.6624 2.5000
+v 15.5393 -4.5841 0.000
+v 15.5393 -4.5841 2.5000
+v 15.5409 -4.6841 0.000
+v 15.5409 -4.6841 2.5000
+v 10.5308 -4.7624 0.000
+v 10.5308 -4.7624 2.5000
+v 15.5394 -4.5842 0.000
+v 15.5394 -4.5842 2.5000
+v 15.5623 -6.1980 0.000
+v 15.5623 -6.1980 2.5000
+v 15.4624 -6.1994 0.000
+v 15.4624 -6.1994 2.5000
+v 15.4394 -4.5856 0.000
+v 15.4394 -4.5856 2.5000
+v 15.4610 -6.0994 0.000
+v 15.4610 -6.0994 2.5000
+v 16.2549 -6.0889 0.000
+v 16.2549 -6.0889 2.5000
+v 16.2563 -6.1889 0.000
+v 16.2563 -6.1889 2.5000
+v 15.4623 -6.1994 0.000
+v 15.4623 -6.1994 2.5000
+v 15.4395 -4.5855 0.000
+v 15.4395 -4.5855 2.5000
+v 18.0982 -4.5530 0.000
+v 18.0982 -4.5530 2.5000
+v 18.0994 -4.6530 0.000
+v 18.0994 -4.6530 2.5000
+v 15.4408 -4.6855 0.000
+v 15.4408 -4.6855 2.5000
+v 18.0986 -4.5535 0.000
+v 18.0986 -4.5535 2.5000
+v 18.1032 -6.1391 0.000
+v 18.1032 -6.1391 2.5000
+v 18.0032 -6.1393 0.000
+v 18.0032 -6.1393 2.5000
+v 17.9986 -4.5537 0.000
+v 17.9986 -4.5537 2.5000
+v 18.1055 -6.1367 0.000
+v 18.1055 -6.1367 2.5000
+v 17.3650 -6.1735 0.000
+v 17.3650 -6.1735 2.5000
+v 17.3600 -6.0737 0.000
+v 17.3600 -6.0737 2.5000
+v 18.1005 -6.0368 0.000
+v 18.1005 -6.0368 2.5000
+v 23.7317 -2.9339 0.000
+v 23.7317 -2.9339 2.5000
+v 14.0278 -2.6076 0.000
+v 14.0278 -2.6076 2.5000
+v 14.0312 -2.5076 0.000
+v 14.0312 -2.5076 2.5000
+v 23.7350 -2.8339 0.000
+v 23.7350 -2.8339 2.5000
+v 23.7410 -2.8413 0.000
+v 23.7410 -2.8413 2.5000
+v 23.1908 -6.0897 0.000
+v 23.1908 -6.0897 2.5000
+v 23.0922 -6.0730 0.000
+v 23.0922 -6.0730 2.5000
+v 23.6424 -2.8246 0.000
+v 23.6424 -2.8246 2.5000
+v 23.2009 -6.0809 0.000
+v 23.2009 -6.0809 2.5000
+v 19.3801 -6.1674 0.000
+v 19.3801 -6.1674 2.5000
+v 19.3779 -6.0674 0.000
+v 19.3779 -6.0674 2.5000
+v 23.1987 -5.9809 0.000
+v 23.1987 -5.9809 2.5000
+v 19.4787 -6.0660 0.000
+v 19.4787 -6.0660 2.5000
+v 19.5027 -9.9242 0.000
+v 19.5027 -9.9242 2.5000
+v 19.4027 -9.9248 0.000
+v 19.4027 -9.9248 2.5000
+v 19.3787 -6.0666 0.000
+v 19.3787 -6.0666 2.5000
+v 22.4394 -11.3182 0.000
+v 22.4394 -11.3182 2.5000
+v 22.7358 -8.6259 0.000
+v 22.7358 -8.6259 2.5000
+v 22.8352 -8.6368 0.000
+v 22.8352 -8.6368 2.5000
+v 22.5388 -11.3291 0.000
+v 22.5388 -11.3291 2.5000
+v 23.2063 -5.9894 0.000
+v 23.2063 -5.9894 2.5000
+v 22.8227 -8.7375 0.000
+v 22.8227 -8.7375 2.5000
+v 22.7236 -8.7237 0.000
+v 22.7236 -8.7237 2.5000
+v 23.1072 -5.9756 0.000
+v 23.1072 -5.9756 2.5000
+v 19.4968 -10.7129 0.000
+v 19.4968 -10.7129 2.5000
+v 19.5127 -11.5898 0.000
+v 19.5127 -11.5898 2.5000
+v 19.4127 -11.5916 0.000
+v 19.4127 -11.5916 2.5000
+v 19.3968 -10.7147 0.000
+v 19.3968 -10.7147 2.5000
+v 19.4076 -11.4953 0.000
+v 19.4076 -11.4953 2.5000
+v 22.5400 -11.2197 0.000
+v 22.5400 -11.2197 2.5000
+v 22.5488 -11.3194 0.000
+v 22.5488 -11.3194 2.5000
+v 19.4163 -11.5949 0.000
+v 19.4163 -11.5949 2.5000
+v 13.6559 -11.9582 0.000
+v 13.6559 -11.9582 2.5000
+v 19.5076 -11.4869 0.000
+v 19.5076 -11.4869 2.5000
+v 19.5156 -11.5865 0.000
+v 19.5156 -11.5865 2.5000
+v 13.6639 -12.0579 0.000
+v 13.6639 -12.0579 2.5000
+v 7.8456 -11.4509 0.000
+v 7.8456 -11.4509 2.5000
+v 10.8462 -11.9107 0.000
+v 10.8462 -11.9107 2.5000
+v 10.8311 -12.0096 0.000
+v 10.8311 -12.0096 2.5000
+v 7.8305 -11.5498 0.000
+v 7.8305 -11.5498 2.5000
+v 10.7401 -11.9017 0.000
+v 10.7401 -11.9017 2.5000
+v 13.7606 -11.9549 0.000
+v 13.7606 -11.9549 2.5000
+v 13.7588 -12.0549 0.000
+v 13.7588 -12.0549 2.5000
+v 10.7384 -12.0017 0.000
+v 10.7384 -12.0017 2.5000
+v 2.2514 -9.4600 0.000
+v 2.2514 -9.4600 2.5000
+v 5.0691 -10.6671 0.000
+v 5.0691 -10.6671 2.5000
+v 5.0297 -10.7590 0.000
+v 5.0297 -10.7590 2.5000
+v 2.2120 -9.5519 0.000
+v 2.2120 -9.5519 2.5000
+v 12.2356 -2.6485 0.000
+v 12.2356 -2.6485 2.5000
+v 11.7635 -2.6598 0.000
+v 11.7635 -2.6598 2.5000
+v 11.7611 -2.5598 0.000
+v 11.7611 -2.5598 2.5000
+v 12.2332 -2.5485 0.000
+v 12.2332 -2.5485 2.5000
+v 11.8548 -2.6651 0.000
+v 11.8548 -2.6651 2.5000
+v 10.0666 -2.4127 0.000
+v 10.0666 -2.4127 2.5000
+v 10.0806 -2.3137 0.000
+v 10.0806 -2.3137 2.5000
+v 11.8688 -2.5661 0.000
+v 11.8688 -2.5661 2.5000
+v 10.1588 -2.4312 0.000
+v 10.1588 -2.4312 2.5000
+v 8.4264 -1.9780 0.000
+v 8.4264 -1.9780 2.5000
+v 8.4517 -1.8813 0.000
+v 8.4517 -1.8813 2.5000
+v 10.1841 -2.3345 0.000
+v 10.1841 -2.3345 2.5000
+v 8.5148 -2.0075 0.000
+v 8.5148 -2.0075 2.5000
+v 6.4675 -1.1709 0.000
+v 6.4675 -1.1709 2.5000
+v 6.5053 -1.0784 0.000
+v 6.5053 -1.0784 2.5000
+v 8.5526 -1.9149 0.000
+v 8.5526 -1.9149 2.5000
+v 8.1879 -5.5104 0.000
+v 8.1879 -5.5104 2.5000
+v 8.3199 -5.2860 0.000
+v 8.3199 -5.2860 2.5000
+v 8.4061 -5.3367 0.000
+v 8.4061 -5.3367 2.5000
+v 8.2741 -5.5611 0.000
+v 8.2741 -5.5611 2.5000
+v 8.3597 -5.4216 0.000
+v 8.3597 -5.4216 2.5000
+v 7.4492 -4.9618 0.000
+v 7.4492 -4.9618 2.5000
+v 7.4943 -4.8725 0.000
+v 7.4943 -4.8725 2.5000
+v 8.4048 -5.3323 0.000
+v 8.4048 -5.3323 2.5000
+v 7.4491 -4.9615 0.000
+v 7.4491 -4.9615 2.5000
+v 8.4703 -2.9588 0.000
+v 8.4703 -2.9588 2.5000
+v 8.5594 -3.0043 0.000
+v 8.5594 -3.0043 2.5000
+v 7.5382 -5.0070 0.000
+v 7.5382 -5.0070 2.5000
+v 5.1668 -3.7050 0.000
+v 5.1668 -3.7050 2.5000
+v 7.5835 -4.9174 0.000
+v 7.5835 -4.9174 2.5000
+v 7.5386 -5.0068 0.000
+v 7.5386 -5.0068 2.5000
+v 5.1220 -3.7944 0.000
+v 5.1220 -3.7944 2.5000
+v 6.6000 -1.1218 0.000
+v 6.6000 -1.1218 2.5000
+v 5.2109 -3.8394 0.000
+v 5.2109 -3.8394 2.5000
+v 5.1218 -3.7939 0.000
+v 5.1218 -3.7939 2.5000
+v 6.5109 -1.0763 0.000
+v 6.5109 -1.0763 2.5000
+v 2.2105 -9.5477 0.000
+v 2.2105 -9.5477 2.5000
+v 5.1670 -3.7050 0.000
+v 5.1670 -3.7050 2.5000
+v 5.2563 -3.7501 0.000
+v 5.2563 -3.7501 2.5000
+v 2.2997 -9.5928 0.000
+v 2.2997 -9.5928 2.5000
+v 4.9679 -10.6322 0.000
+v 4.9679 -10.6322 2.5000
+v 5.6138 -10.8038 0.000
+v 5.6138 -10.8038 2.5000
+v 5.5882 -10.9005 0.000
+v 5.5882 -10.9005 2.5000
+v 4.9423 -10.7289 0.000
+v 4.9423 -10.7289 2.5000
+v 5.5184 -10.7775 0.000
+v 5.5184 -10.7775 2.5000
+v 7.9493 -11.4736 0.000
+v 7.9493 -11.4736 2.5000
+v 7.9218 -11.5698 0.000
+v 7.9218 -11.5698 2.5000
+v 5.4908 -10.8736 0.000
+v 5.4908 -10.8736 2.5000
+v 7.9664 -6.2826 0.000
+v 7.9664 -6.2826 2.5000
+v 5.5741 -10.9067 0.000
+v 5.5741 -10.9067 2.5000
+v 5.4853 -10.8607 0.000
+v 5.4853 -10.8607 2.5000
+v 7.8776 -6.2367 0.000
+v 7.8776 -6.2367 2.5000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 4.9107 0.000
+vt 4.9107 1.000
+vt 5.0107 0.000
+vt 5.0107 1.000
+vt 9.9214 0.000
+vt 9.9214 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 1.5140 0.000
+vt 1.5140 1.000
+vt 1.6140 0.000
+vt 1.6140 1.000
+vt 3.1280 0.000
+vt 3.1280 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 0.6940 0.000
+vt 0.6940 1.000
+vt 0.7940 0.000
+vt 0.7940 1.000
+vt 1.4881 0.000
+vt 1.4881 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.5588 0.000
+vt 2.5588 1.000
+vt 2.6588 0.000
+vt 2.6588 1.000
+vt 5.2177 0.000
+vt 5.2177 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 1.4856 0.000
+vt 1.4856 1.000
+vt 1.5856 0.000
+vt 1.5856 1.000
+vt 3.0712 0.000
+vt 3.0712 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 0.6414 0.000
+vt 0.6414 1.000
+vt 0.7414 0.000
+vt 0.7414 1.000
+vt 1.3828 0.000
+vt 1.3828 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 9.6093 0.000
+vt 9.6093 1.000
+vt 9.7093 0.000
+vt 9.7093 1.000
+vt 19.3187 0.000
+vt 19.3187 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 3.1947 0.000
+vt 3.1947 1.000
+vt 3.2947 0.000
+vt 3.2947 1.000
+vt 6.4894 0.000
+vt 6.4894 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 3.7218 0.000
+vt 3.7218 1.000
+vt 3.8218 0.000
+vt 3.8218 1.000
+vt 7.5435 0.000
+vt 7.5435 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 3.7583 0.000
+vt 3.7583 1.000
+vt 3.8583 0.000
+vt 3.8583 1.000
+vt 7.6167 0.000
+vt 7.6167 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.6085 0.000
+vt 2.6085 1.000
+vt 2.7085 0.000
+vt 2.7085 1.000
+vt 5.3171 0.000
+vt 5.3171 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.6747 0.000
+vt 2.6747 1.000
+vt 2.7747 0.000
+vt 2.7747 1.000
+vt 5.4494 0.000
+vt 5.4494 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 0.7770 0.000
+vt 0.7770 1.000
+vt 0.8770 0.000
+vt 0.8770 1.000
+vt 1.6541 0.000
+vt 1.6541 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 3.0445 0.000
+vt 3.0445 1.000
+vt 3.1445 0.000
+vt 3.1445 1.000
+vt 6.1890 0.000
+vt 6.1890 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 5.7707 0.000
+vt 5.7707 1.000
+vt 5.8707 0.000
+vt 5.8707 1.000
+vt 11.6414 0.000
+vt 11.6414 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.9356 0.000
+vt 2.9356 1.000
+vt 3.0356 0.000
+vt 3.0356 1.000
+vt 5.9713 0.000
+vt 5.9713 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.9209 0.000
+vt 2.9209 1.000
+vt 3.0209 0.000
+vt 3.0209 1.000
+vt 5.9419 0.000
+vt 5.9419 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.9654 0.000
+vt 2.9654 1.000
+vt 3.0654 0.000
+vt 3.0654 1.000
+vt 6.0308 0.000
+vt 6.0308 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 0.3723 0.000
+vt 0.3723 1.000
+vt 0.4723 0.000
+vt 0.4723 1.000
+vt 0.8445 0.000
+vt 0.8445 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 1.7059 0.000
+vt 1.7059 1.000
+vt 1.8059 0.000
+vt 1.8059 1.000
+vt 3.5118 0.000
+vt 3.5118 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 1.6907 0.000
+vt 1.6907 1.000
+vt 1.7907 0.000
+vt 1.7907 1.000
+vt 3.4814 0.000
+vt 3.4814 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.1116 0.000
+vt 2.1116 1.000
+vt 2.2116 0.000
+vt 2.2116 1.000
+vt 4.3233 0.000
+vt 4.3233 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 0.1604 0.000
+vt 0.1604 1.000
+vt 0.2604 0.000
+vt 0.2604 1.000
+vt 0.4207 0.000
+vt 0.4207 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 0.9200 0.000
+vt 0.9200 1.000
+vt 1.0200 0.000
+vt 1.0200 1.000
+vt 1.9401 0.000
+vt 1.9401 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.1480 0.000
+vt 2.1480 1.000
+vt 2.2480 0.000
+vt 2.2480 1.000
+vt 4.3960 0.000
+vt 4.3960 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.6037 0.000
+vt 2.6037 1.000
+vt 2.7037 0.000
+vt 2.7037 1.000
+vt 5.3075 0.000
+vt 5.3075 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.9521 0.000
+vt 2.9521 1.000
+vt 3.0521 0.000
+vt 3.0521 1.000
+vt 6.0041 0.000
+vt 6.0041 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 6.4482 0.000
+vt 6.4482 1.000
+vt 6.5482 0.000
+vt 6.5482 1.000
+vt 12.9964 0.000
+vt 12.9964 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 0.5683 0.000
+vt 0.5683 1.000
+vt 0.6683 0.000
+vt 0.6683 1.000
+vt 1.2366 0.000
+vt 1.2366 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 2.4286 0.000
+vt 2.4286 1.000
+vt 2.5286 0.000
+vt 2.5286 1.000
+vt 4.9573 0.000
+vt 4.9573 1.000
+vt 0.000 0.000
+vt 0.000 1.000
+vt 5.1063 0.000
+vt 5.1063 1.000
+vt 5.2063 0.000
+vt 5.2063 1.000
+vt 10.3125 0.000
+vt 10.3125 1.000
+vn 0.0000 0.0000 1.0000
+vn -0.0156 0.9999 0.0000
+vn -0.9999 -0.0156 0.0000
+vn 0.0156 -0.9999 0.0000
+vn 0.9999 0.0156 0.0000
+vn 0.9999 0.0142 0.0000
+vn -0.0142 0.9999 0.0000
+vn -0.9999 -0.0142 0.0000
+vn 0.0142 -0.9999 0.0000
+vn -0.0133 0.9999 0.0000
+vn -0.9999 -0.0133 0.0000
+vn 0.0133 -0.9999 0.0000
+vn 0.9999 0.0133 0.0000
+vn -0.0122 0.9999 0.0000
+vn -0.9999 -0.0122 0.0000
+vn 0.0122 -0.9999 0.0000
+vn 0.9999 0.0122 0.0000
+vn 1.0000 0.0029 0.0000
+vn -0.0029 1.0000 0.0000
+vn -1.0000 -0.0029 0.0000
+vn 0.0029 -1.0000 0.0000
+vn 0.0497 -0.9988 0.0000
+vn 0.9988 0.0497 0.0000
+vn -0.0497 0.9988 0.0000
+vn -0.9988 -0.0497 0.0000
+vn -0.0336 -0.9994 0.0000
+vn 0.9994 -0.0336 0.0000
+vn 0.0336 0.9994 0.0000
+vn -0.9994 0.0336 0.0000
+vn 0.9860 -0.1670 0.0000
+vn 0.1670 0.9860 0.0000
+vn -0.9860 0.1670 0.0000
+vn -0.1670 -0.9860 0.0000
+vn 0.0226 -0.9997 0.0000
+vn 0.9997 0.0226 0.0000
+vn -0.0226 0.9997 0.0000
+vn -0.9997 -0.0226 0.0000
+vn 1.0000 0.0062 0.0000
+vn -0.0062 1.0000 0.0000
+vn -1.0000 -0.0062 0.0000
+vn 0.0062 -1.0000 0.0000
+vn -0.9940 0.1094 0.0000
+vn -0.1094 -0.9940 0.0000
+vn 0.9940 -0.1094 0.0000
+vn 0.1094 0.9940 0.0000
+vn 0.9904 -0.1382 0.0000
+vn 0.1382 0.9904 0.0000
+vn -0.9904 0.1382 0.0000
+vn -0.1382 -0.9904 0.0000
+vn 0.9998 0.0181 0.0000
+vn -0.0181 0.9998 0.0000
+vn -0.9998 -0.0181 0.0000
+vn 0.0181 -0.9998 0.0000
+vn -0.0876 0.9962 0.0000
+vn -0.9962 -0.0876 0.0000
+vn 0.0876 -0.9962 0.0000
+vn 0.9962 0.0876 0.0000
+vn -0.0803 0.9968 0.0000
+vn -0.9968 -0.0803 0.0000
+vn 0.0803 -0.9968 0.0000
+vn 0.9968 0.0803 0.0000
+vn 0.1515 0.9885 0.0000
+vn -0.9885 0.1515 0.0000
+vn -0.1515 -0.9885 0.0000
+vn 0.9885 -0.1515 0.0000
+vn 0.0176 0.9998 0.0000
+vn -0.9998 0.0176 0.0000
+vn -0.0176 -0.9998 0.0000
+vn 0.9998 -0.0176 0.0000
+vn 0.3938 0.9192 0.0000
+vn -0.9192 0.3938 0.0000
+vn -0.3938 -0.9192 0.0000
+vn 0.9192 -0.3938 0.0000
+vn 0.0239 -0.9997 0.0000
+vn 0.9997 0.0239 0.0000
+vn -0.0239 0.9997 0.0000
+vn -0.9997 -0.0239 0.0000
+vn -0.1398 -0.9902 0.0000
+vn 0.9902 -0.1398 0.0000
+vn 0.1398 0.9902 0.0000
+vn -0.9902 0.1398 0.0000
+vn -0.2531 -0.9674 0.0000
+vn 0.9674 -0.2531 0.0000
+vn 0.2531 0.9674 0.0000
+vn -0.9674 0.2531 0.0000
+vn -0.3783 -0.9257 0.0000
+vn 0.9257 -0.3783 0.0000
+vn 0.3783 0.9257 0.0000
+vn -0.9257 0.3783 0.0000
+vn -0.8619 0.5070 0.0000
+vn -0.5070 -0.8619 0.0000
+vn 0.8619 -0.5070 0.0000
+vn 0.5070 0.8619 0.0000
+vn -0.4507 -0.8927 0.0000
+vn 0.8927 -0.4507 0.0000
+vn 0.4507 0.8927 0.0000
+vn -0.8927 0.4507 0.0000
+vn -0.8909 0.4543 0.0000
+vn -0.4543 -0.8909 0.0000
+vn 0.8909 -0.4543 0.0000
+vn 0.4543 0.8909 0.0000
+vn 0.4484 0.8938 0.0000
+vn -0.8938 0.4484 0.0000
+vn -0.4484 -0.8938 0.0000
+vn 0.8938 -0.4484 0.0000
+vn 0.8904 -0.4551 0.0000
+vn 0.4551 0.8904 0.0000
+vn -0.8904 0.4551 0.0000
+vn -0.4551 -0.8904 0.0000
+vn -0.8923 0.4515 0.0000
+vn -0.4515 -0.8923 0.0000
+vn 0.8923 -0.4515 0.0000
+vn 0.4515 0.8923 0.0000
+vn 0.2568 0.9665 0.0000
+vn -0.9665 0.2568 0.0000
+vn -0.2568 -0.9665 0.0000
+vn 0.9665 -0.2568 0.0000
+vn 0.2753 0.9614 0.0000
+vn -0.9614 0.2753 0.0000
+vn -0.2753 -0.9614 0.0000
+vn 0.9614 -0.2753 0.0000
+vn 0.8882 -0.4595 0.0000
+vn 0.4595 0.8882 0.0000
+vn -0.8882 0.4595 0.0000
+vn -0.4595 -0.8882 0.0000
+usemtl wall_1
+s off
+g walls
+f 1/1/2 2/2/2 3/3/2
+f 4/4/2 3/3/2 2/2/2
+f 3/3/3 4/4/3 5/5/3
+f 6/6/3 5/5/3 4/4/3
+f 5/5/4 6/6/4 7/7/4
+f 8/8/4 7/7/4 6/6/4
+f 7/7/5 8/8/5 1/1/5
+f 2/2/5 1/1/5 8/8/5
+f 2/1/1 6/1/1 4/1/1
+f 2/1/1 8/1/1 6/1/1
+f 9/9/6 10/10/6 11/11/6
+f 12/12/6 11/11/6 10/10/6
+f 11/11/7 12/12/7 13/13/7
+f 14/14/7 13/13/7 12/12/7
+f 13/13/8 14/14/8 15/15/8
+f 16/16/8 15/15/8 14/14/8
+f 15/15/9 16/16/9 9/9/9
+f 10/10/9 9/9/9 16/16/9
+f 10/1/1 14/1/1 12/1/1
+f 10/1/1 16/1/1 14/1/1
+f 17/17/10 18/18/10 19/19/10
+f 20/20/10 19/19/10 18/18/10
+f 19/19/11 20/20/11 21/21/11
+f 22/22/11 21/21/11 20/20/11
+f 21/21/12 22/22/12 23/23/12
+f 24/24/12 23/23/12 22/22/12
+f 23/23/13 24/24/13 17/17/13
+f 18/18/13 17/17/13 24/24/13
+f 18/1/1 22/1/1 20/1/1
+f 18/1/1 24/1/1 22/1/1
+f 25/25/14 26/26/14 27/27/14
+f 28/28/14 27/27/14 26/26/14
+f 27/27/15 28/28/15 29/29/15
+f 30/30/15 29/29/15 28/28/15
+f 29/29/16 30/30/16 31/31/16
+f 32/32/16 31/31/16 30/30/16
+f 31/31/17 32/32/17 25/25/17
+f 26/26/17 25/25/17 32/32/17
+f 26/1/1 30/1/1 28/1/1
+f 26/1/1 32/1/1 30/1/1
+f 33/33/18 34/34/18 35/35/18
+f 36/36/18 35/35/18 34/34/18
+f 35/35/19 36/36/19 37/37/19
+f 38/38/19 37/37/19 36/36/19
+f 37/37/20 38/38/20 39/39/20
+f 40/40/20 39/39/20 38/38/20
+f 39/39/21 40/40/21 33/33/21
+f 34/34/21 33/33/21 40/40/21
+f 34/1/1 38/1/1 36/1/1
+f 34/1/1 40/1/1 38/1/1
+f 41/41/22 42/42/22 43/43/22
+f 44/44/22 43/43/22 42/42/22
+f 43/43/23 44/44/23 45/45/23
+f 46/46/23 45/45/23 44/44/23
+f 45/45/24 46/46/24 47/47/24
+f 48/48/24 47/47/24 46/46/24
+f 47/47/25 48/48/25 41/41/25
+f 42/42/25 41/41/25 48/48/25
+f 42/1/1 46/1/1 44/1/1
+f 42/1/1 48/1/1 46/1/1
+f 49/49/26 50/50/26 51/51/26
+f 52/52/26 51/51/26 50/50/26
+f 51/51/27 52/52/27 53/53/27
+f 54/54/27 53/53/27 52/52/27
+f 53/53/28 54/54/28 55/55/28
+f 56/56/28 55/55/28 54/54/28
+f 55/55/29 56/56/29 49/49/29
+f 50/50/29 49/49/29 56/56/29
+f 50/1/1 54/1/1 52/1/1
+f 50/1/1 56/1/1 54/1/1
+f 57/57/30 58/58/30 59/59/30
+f 60/60/30 59/59/30 58/58/30
+f 59/59/31 60/60/31 61/61/31
+f 62/62/31 61/61/31 60/60/31
+f 61/61/32 62/62/32 63/63/32
+f 64/64/32 63/63/32 62/62/32
+f 63/63/33 64/64/33 57/57/33
+f 58/58/33 57/57/33 64/64/33
+f 58/1/1 62/1/1 60/1/1
+f 58/1/1 64/1/1 62/1/1
+f 65/65/34 66/66/34 67/67/34
+f 68/68/34 67/67/34 66/66/34
+f 67/67/35 68/68/35 69/69/35
+f 70/70/35 69/69/35 68/68/35
+f 69/69/36 70/70/36 71/71/36
+f 72/72/36 71/71/36 70/70/36
+f 71/71/37 72/72/37 65/65/37
+f 66/66/37 65/65/37 72/72/37
+f 66/1/1 70/1/1 68/1/1
+f 66/1/1 72/1/1 70/1/1
+f 73/73/38 74/74/38 75/75/38
+f 76/76/38 75/75/38 74/74/38
+f 75/75/39 76/76/39 77/77/39
+f 78/78/39 77/77/39 76/76/39
+f 77/77/40 78/78/40 79/79/40
+f 80/80/40 79/79/40 78/78/40
+f 79/79/41 80/80/41 73/73/41
+f 74/74/41 73/73/41 80/80/41
+f 74/1/1 78/1/1 76/1/1
+f 74/1/1 80/1/1 78/1/1
+f 81/81/42 82/82/42 83/83/42
+f 84/84/42 83/83/42 82/82/42
+f 83/83/43 84/84/43 85/85/43
+f 86/86/43 85/85/43 84/84/43
+f 85/85/44 86/86/44 87/87/44
+f 88/88/44 87/87/44 86/86/44
+f 87/87/45 88/88/45 81/81/45
+f 82/82/45 81/81/45 88/88/45
+f 82/1/1 86/1/1 84/1/1
+f 82/1/1 88/1/1 86/1/1
+f 89/89/46 90/90/46 91/91/46
+f 92/92/46 91/91/46 90/90/46
+f 91/91/47 92/92/47 93/93/47
+f 94/94/47 93/93/47 92/92/47
+f 93/93/48 94/94/48 95/95/48
+f 96/96/48 95/95/48 94/94/48
+f 95/95/49 96/96/49 89/89/49
+f 90/90/49 89/89/49 96/96/49
+f 90/1/1 94/1/1 92/1/1
+f 90/1/1 96/1/1 94/1/1
+f 97/97/50 98/98/50 99/99/50
+f 100/100/50 99/99/50 98/98/50
+f 99/99/51 100/100/51 101/101/51
+f 102/102/51 101/101/51 100/100/51
+f 101/101/52 102/102/52 103/103/52
+f 104/104/52 103/103/52 102/102/52
+f 103/103/53 104/104/53 97/97/53
+f 98/98/53 97/97/53 104/104/53
+f 98/1/1 102/1/1 100/1/1
+f 98/1/1 104/1/1 102/1/1
+f 105/105/54 106/106/54 107/107/54
+f 108/108/54 107/107/54 106/106/54
+f 107/107/55 108/108/55 109/109/55
+f 110/110/55 109/109/55 108/108/55
+f 109/109/56 110/110/56 111/111/56
+f 112/112/56 111/111/56 110/110/56
+f 111/111/57 112/112/57 105/105/57
+f 106/106/57 105/105/57 112/112/57
+f 106/1/1 110/1/1 108/1/1
+f 106/1/1 112/1/1 110/1/1
+f 113/113/58 114/114/58 115/115/58
+f 116/116/58 115/115/58 114/114/58
+f 115/115/59 116/116/59 117/117/59
+f 118/118/59 117/117/59 116/116/59
+f 117/117/60 118/118/60 119/119/60
+f 120/120/60 119/119/60 118/118/60
+f 119/119/61 120/120/61 113/113/61
+f 114/114/61 113/113/61 120/120/61
+f 114/1/1 118/1/1 116/1/1
+f 114/1/1 120/1/1 118/1/1
+f 121/121/62 122/122/62 123/123/62
+f 124/124/62 123/123/62 122/122/62
+f 123/123/63 124/124/63 125/125/63
+f 126/126/63 125/125/63 124/124/63
+f 125/125/64 126/126/64 127/127/64
+f 128/128/64 127/127/64 126/126/64
+f 127/127/65 128/128/65 121/121/65
+f 122/122/65 121/121/65 128/128/65
+f 122/1/1 126/1/1 124/1/1
+f 122/1/1 128/1/1 126/1/1
+f 129/129/66 130/130/66 131/131/66
+f 132/132/66 131/131/66 130/130/66
+f 131/131/67 132/132/67 133/133/67
+f 134/134/67 133/133/67 132/132/67
+f 133/133/68 134/134/68 135/135/68
+f 136/136/68 135/135/68 134/134/68
+f 135/135/69 136/136/69 129/129/69
+f 130/130/69 129/129/69 136/136/69
+f 130/1/1 134/1/1 132/1/1
+f 130/1/1 136/1/1 134/1/1
+f 137/137/70 138/138/70 139/139/70
+f 140/140/70 139/139/70 138/138/70
+f 139/139/71 140/140/71 141/141/71
+f 142/142/71 141/141/71 140/140/71
+f 141/141/72 142/142/72 143/143/72
+f 144/144/72 143/143/72 142/142/72
+f 143/143/73 144/144/73 137/137/73
+f 138/138/73 137/137/73 144/144/73
+f 138/1/1 142/1/1 140/1/1
+f 138/1/1 144/1/1 142/1/1
+f 145/145/74 146/146/74 147/147/74
+f 148/148/74 147/147/74 146/146/74
+f 147/147/75 148/148/75 149/149/75
+f 150/150/75 149/149/75 148/148/75
+f 149/149/76 150/150/76 151/151/76
+f 152/152/76 151/151/76 150/150/76
+f 151/151/77 152/152/77 145/145/77
+f 146/146/77 145/145/77 152/152/77
+f 146/1/1 150/1/1 148/1/1
+f 146/1/1 152/1/1 150/1/1
+f 153/153/78 154/154/78 155/155/78
+f 156/156/78 155/155/78 154/154/78
+f 155/155/79 156/156/79 157/157/79
+f 158/158/79 157/157/79 156/156/79
+f 157/157/80 158/158/80 159/159/80
+f 160/160/80 159/159/80 158/158/80
+f 159/159/81 160/160/81 153/153/81
+f 154/154/81 153/153/81 160/160/81
+f 154/1/1 158/1/1 156/1/1
+f 154/1/1 160/1/1 158/1/1
+f 161/161/82 162/162/82 163/163/82
+f 164/164/82 163/163/82 162/162/82
+f 163/163/83 164/164/83 165/165/83
+f 166/166/83 165/165/83 164/164/83
+f 165/165/84 166/166/84 167/167/84
+f 168/168/84 167/167/84 166/166/84
+f 167/167/85 168/168/85 161/161/85
+f 162/162/85 161/161/85 168/168/85
+f 162/1/1 166/1/1 164/1/1
+f 162/1/1 168/1/1 166/1/1
+f 169/169/86 170/170/86 171/171/86
+f 172/172/86 171/171/86 170/170/86
+f 171/171/87 172/172/87 173/173/87
+f 174/174/87 173/173/87 172/172/87
+f 173/173/88 174/174/88 175/175/88
+f 176/176/88 175/175/88 174/174/88
+f 175/175/89 176/176/89 169/169/89
+f 170/170/89 169/169/89 176/176/89
+f 170/1/1 174/1/1 172/1/1
+f 170/1/1 176/1/1 174/1/1
+f 177/177/90 178/178/90 179/179/90
+f 180/180/90 179/179/90 178/178/90
+f 179/179/91 180/180/91 181/181/91
+f 182/182/91 181/181/91 180/180/91
+f 181/181/92 182/182/92 183/183/92
+f 184/184/92 183/183/92 182/182/92
+f 183/183/93 184/184/93 177/177/93
+f 178/178/93 177/177/93 184/184/93
+f 178/1/1 182/1/1 180/1/1
+f 178/1/1 184/1/1 182/1/1
+f 185/185/94 186/186/94 187/187/94
+f 188/188/94 187/187/94 186/186/94
+f 187/187/95 188/188/95 189/189/95
+f 190/190/95 189/189/95 188/188/95
+f 189/189/96 190/190/96 191/191/96
+f 192/192/96 191/191/96 190/190/96
+f 191/191/97 192/192/97 185/185/97
+f 186/186/97 185/185/97 192/192/97
+f 186/1/1 190/1/1 188/1/1
+f 186/1/1 192/1/1 190/1/1
+f 193/193/98 194/194/98 195/195/98
+f 196/196/98 195/195/98 194/194/98
+f 195/195/99 196/196/99 197/197/99
+f 198/198/99 197/197/99 196/196/99
+f 197/197/100 198/198/100 199/199/100
+f 200/200/100 199/199/100 198/198/100
+f 199/199/101 200/200/101 193/193/101
+f 194/194/101 193/193/101 200/200/101
+f 194/1/1 198/1/1 196/1/1
+f 194/1/1 200/1/1 198/1/1
+f 201/201/102 202/202/102 203/203/102
+f 204/204/102 203/203/102 202/202/102
+f 203/203/103 204/204/103 205/205/103
+f 206/206/103 205/205/103 204/204/103
+f 205/205/104 206/206/104 207/207/104
+f 208/208/104 207/207/104 206/206/104
+f 207/207/105 208/208/105 201/201/105
+f 202/202/105 201/201/105 208/208/105
+f 202/1/1 206/1/1 204/1/1
+f 202/1/1 208/1/1 206/1/1
+f 209/209/106 210/210/106 211/211/106
+f 212/212/106 211/211/106 210/210/106
+f 211/211/107 212/212/107 213/213/107
+f 214/214/107 213/213/107 212/212/107
+f 213/213/108 214/214/108 215/215/108
+f 216/216/108 215/215/108 214/214/108
+f 215/215/109 216/216/109 209/209/109
+f 210/210/109 209/209/109 216/216/109
+f 210/1/1 214/1/1 212/1/1
+f 210/1/1 216/1/1 214/1/1
+f 217/217/110 218/218/110 219/219/110
+f 220/220/110 219/219/110 218/218/110
+f 219/219/111 220/220/111 221/221/111
+f 222/222/111 221/221/111 220/220/111
+f 221/221/112 222/222/112 223/223/112
+f 224/224/112 223/223/112 222/222/112
+f 223/223/113 224/224/113 217/217/113
+f 218/218/113 217/217/113 224/224/113
+f 218/1/1 222/1/1 220/1/1
+f 218/1/1 224/1/1 222/1/1
+f 225/225/114 226/226/114 227/227/114
+f 228/228/114 227/227/114 226/226/114
+f 227/227/115 228/228/115 229/229/115
+f 230/230/115 229/229/115 228/228/115
+f 229/229/116 230/230/116 231/231/116
+f 232/232/116 231/231/116 230/230/116
+f 231/231/117 232/232/117 225/225/117
+f 226/226/117 225/225/117 232/232/117
+f 226/1/1 230/1/1 228/1/1
+f 226/1/1 232/1/1 230/1/1
+f 233/233/118 234/234/118 235/235/118
+f 236/236/118 235/235/118 234/234/118
+f 235/235/119 236/236/119 237/237/119
+f 238/238/119 237/237/119 236/236/119
+f 237/237/120 238/238/120 239/239/120
+f 240/240/120 239/239/120 238/238/120
+f 239/239/121 240/240/121 233/233/121
+f 234/234/121 233/233/121 240/240/121
+f 234/1/1 238/1/1 236/1/1
+f 234/1/1 240/1/1 238/1/1
+f 241/241/122 242/242/122 243/243/122
+f 244/244/122 243/243/122 242/242/122
+f 243/243/123 244/244/123 245/245/123
+f 246/246/123 245/245/123 244/244/123
+f 245/245/124 246/246/124 247/247/124
+f 248/248/124 247/247/124 246/246/124
+f 247/247/125 248/248/125 241/241/125
+f 242/242/125 241/241/125 248/248/125
+f 242/1/1 246/1/1 244/1/1
+f 242/1/1 248/1/1 246/1/1
diff --git a/test/worlds/models/building_L1/model.config b/test/worlds/models/building_L1/model.config
new file mode 100644
index 0000000000..7179fe013d
--- /dev/null
+++ b/test/worlds/models/building_L1/model.config
@@ -0,0 +1,11 @@
+
+
+ building_L1
+ 1.0.0
+ model.sdf
+
+ automatically generated from the Great Editor
+ info@openrobotics.org
+
+ level building_L1 (automatically generated)
+
diff --git a/test/worlds/models/building_L1/model.sdf b/test/worlds/models/building_L1/model.sdf
new file mode 100644
index 0000000000..7a005d6ebc
--- /dev/null
+++ b/test/worlds/models/building_L1/model.sdf
@@ -0,0 +1,76 @@
+
+
+
+ true
+
+
+
+
+ model://building_L1/meshes/floor_1.obj
+
+
+
+ 1.0 1.0 1.0 1.0
+ 0.1 0.1 0.1 1.0
+
+
+ 0.0
+ model://building_L1/meshes/blue_linoleum.png
+
+
+
+
+
+
+
+
+ model://building_L1/meshes/floor_1.obj
+
+
+
+
+ 0x01
+
+
+
+
+
+
+
+
+ model://building_L1/meshes/wall_1.obj
+
+
+
+ 1.0 1.0 1.0 1.0
+ 0.1 0.1 0.1 1.0
+
+
+ 0.0
+ model://building_L1/meshes/default.png
+
+
+
+
+
+
+
+
+ model://building_L1/meshes/wall_1.obj
+
+
+
+
+ 0x01
+
+
+
+
+
+
diff --git a/test/worlds/office.sdf b/test/worlds/office.sdf
new file mode 100644
index 0000000000..baa2c15981
--- /dev/null
+++ b/test/worlds/office.sdf
@@ -0,0 +1,137 @@
+
+
+
+ 0.01
+ 1.0
+
+
+
+
+
+
+ 1 1 1
+ 0.8 0.8 0.8
+ false
+
+
+
+ 1000
+ 845
+
+
+
+
+
+
+
+
+ 3D View
+ false
+ docked
+
+ ogre2
+ scene
+ 0.4 0.4 0.4
+ 0.8 0.8 0.8
+ 12.98050313207134 -26.57380811719063 10 0 0.6 1.57
+
+
+
+ World control
+ false
+ false
+ 72
+ 121
+ 1
+ floating
+
+
+
+
+
+ true
+ true
+ true
+
+
+
+ World stats
+ false
+ false
+ 110
+ 290
+ 1
+ floating
+
+
+
+
+
+ true
+ true
+ true
+ true
+
+
+
+ Transform control
+
+
+
+
+ false
+ 230
+ 50
+ floating
+ false
+ #666666
+
+
+
+
+
+
+
+
+ false
+ 200
+ 50
+ floating
+ false
+ #666666
+
+
+
+
+ false
+ docked
+
+
+
+
+ false
+ docked
+
+
+
+
+ true
+ 0 0 10 0 0 0
+ 1 1 1 1
+ 0.2 0.2 0.2 1
+
+ 1000
+ 0.09
+ 0.001
+ 0.001
+
+ -0.5 0.1 -0.9
+
+
+
+ building_L1
+ model://building_L1
+ 0 0 0.0 0 0 0
+
+
+