--- /dev/null
+#include "Stage.h"
+
+void Stage::Stage(int num)
+{
+ switch (num)
+ {
+ case 0: srand((int)time(NULL));
+ // Hauptfenster
+ current_world = new Scene(0, 0, Graphix::getWindowWidth(), Graphix::getWindowHeight(), 45, 0.1f, 40, vec3(0.0f, 0.0f, 0.f));
+
+ // load LVL
+ SceneObject* tmp_world = new Level("level_1", "model_levelTest_2D.jpg");
+
+ //tmp_world->ignore = true;
+ current_world->addObject(tmp_world);
+
+ // current_world->addObject(new SceneObject( translate(vec3(-3.f, 1.f, 0.f)), vec4(1.0f, 1.0f, 1.0f, 3.0f), new BBox(), ""));
+
+ //Player
+ SceneObject* tmp_playerObject = new Marvin(translate(vec3(1.f, 3.f, 1.f))*rotate((float)M_PI_4, vec3(0.f, 1.f, 0.f)));
+
+ current_world->addObject(tmp_playerObject);
+ current_world->setLookAt(tmp_playerObject);
+
+ //current_world->addObject(new SceneObject( glm::mat4(1.0f), "Player.dae", "model_player.png"));
+ //current_world->addObject(new SceneObject( translate(vec3(-3.f, .4f, 0.f))*scale(vec3(3.f)), "cow/cow.dae", "model_cow_2D.jpg"));
+ current_world->addObject(new SceneObject(translate(vec3(-3.f, .4f, 0.f)), vec4(3.0f, 0.5f, 0.4f, 1.5f), "duck_col", "default_2D.png"));
+ //current_world->addObject(new SceneObject(translate(vec3(-5.f, .4f, 0.f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boar", "model_boar_2D.png"));
+
+ SceneObject* door1 = new Level(translate(vec3(92.f, -12.f, -4.f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "door", "default_2D.png");
+ current_world->addObject(door1);
+ door1->setAnimationLoop(false);
+ door1->timeresistant = true;
+
+ SceneObject* door2 = new Level(translate(vec3(7.0f, 0.0f, -5.0f)), vec4(3.0f, 1.f, -1.4f, 1.5f), "door", "default_2D.png");
+ current_world->addObject(door2);
+ door2->setAnimationLoop(false);
+
+ Lever* lever1 = new Lever(translate(vec3(-47.03945f, 8.03048f, 10.50753f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "lever", "default_2D.png");
+ current_world->addObject(lever1);
+ lever1->setAnimationLoop(false);
+ lever1->setup(door2);
+
+ //Lever* lever2 = new Lever(translate(vec3(86.f, -18.f, 5.f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "lever", "model_duck_2D.png");
+ Lever* lever2 = new Lever(translate(vec3(-5.f, 0.f, -5.f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "lever", "default_2D.png");
+ current_world->addObject(lever2);
+ lever2->setAnimationLoop(false);
+ lever2->timeresistant = true;
+ lever2->setup(door2);
+
+ current_world->addObject(new Boar(translate(vec3(-5.f, 1.f, 5.f))));
+
+
+ //current_world->addObject(new SceneObject(translate(vec3(-5.f, 3.f, 0.f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "SkyBox", "model_SkyBox_2D.png"));
+
+ current_world->addObject(new EventBox(translate(vec3(3.f, .4f, 0.f)), EB_LOSTZONE));
+ //current_world->addObject(new EventBox(translate(vec3(0.f, -5.f, 0.f))*glm::scale(vec3(50.f,1.f,50.f)), EB_LOSTZONE));
+ current_world->addObject(new EventBox(translate(vec3(3.f, .4f, -15.f)), EB_WINZONE));
+
+ current_world->addObject(new Boar(translate(vec3(-5.f, 4.f, 3.f))));
+ case 1: srand((int)time(NULL));
+ // Hauptfenster
+ current_world = new Scene(0, 0, Graphix::getWindowWidth(), Graphix::getWindowHeight(), 45, 0.1f, 40, vec3(0.0f, 0.0f, 0.f));
+
+ // load LVL
+
+ SceneObject* tmp_world = new Level("level_2", "model_levelTest_2D.jpg");
+ current_world->addObject(tmp_world);
+
+ //Player
+ SceneObject* tmp_playerObject = new Marvin(translate(vec3(-5.38658f, 0.73429f, 30.24083f))*rotate((float)M_PI_4, vec3(0.f, 1.f, 0.f)));
+
+ current_world->addObject(tmp_playerObject);
+ current_world->setLookAt(tmp_playerObject);
+
+
+ Lever* lever1 = new Lever(translate(vec3(2.55167f, 2.51451f, -5.54817f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "lever", "default_2D.png");
+ current_world->addObject(lever1);
+ lever1->setAnimationLoop(false);
+
+
+ Door* door1 = new Door(translate(vec3(-9.78039f, -1.06029f, -6.46377f)) * rotate(1.5708f, vec3(0, 1, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Door", "default_2D.png");
+ current_world->addObject(door1);
+ door1->setup(1.5708f, vec3(0, 1, 0), 1);
+ lever1->setup(door1);
+ Door* door2 = new Door(translate(vec3(-2.58412f, -1.06029f, -6.46377f)) * rotate(-1.5708f, vec3(0, 1, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Door", "default_2D.png");
+ current_world->addObject(door2);
+ door2->setup(-1.5708f, vec3(0, 1, 0), 1);
+ lever1->setup(door2);
+
+
+ current_world->addObject(new Level(translate(vec3(-5.50806f, 0.91084f, 19.01143f)) * rotate(-1.57f, vec3(0, 1, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Log", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(-5.50806f, -0.52355f, 7.75976f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Log", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(3.0515f, -1.3978f, -3.00258f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(3.0515f, -1.3978f, -6.02786f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(10.0674f, -1.3978f, -1.83059f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(10.02701f, -1.3978f, 1.3517f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(16.17073f, -1.46596f, -5.34347f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(21.94122f, -1.36633f, 2.71334f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(30.17974f, -3.34705f, -2.16098f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(18.57976f, 2.46041f, -1.78333f)) * rotate(0.51f, vec3(0, 1, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Log", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(26.31248f, 1.66742f, 0.82817f)) * rotate(-0.95f, vec3(0, 1, 0)) * rotate(-0.35f, vec3(1, 0, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Log", "model_levelTest_2D.png"));
+
+
+ current_world->addObject(new Boar(translate(vec3(-7.14729f, 0.1f, -3.08567f)) * rotate(1.5f, vec3(0, 1, 0))));
+ current_world->addObject(new Boar(translate(vec3(13.32701f, 0.1f, -2.53362f)) * rotate(1.8f, vec3(0, 1, 0))));
+ current_world->addObject(new Boar(translate(vec3(23.64995f, 0.1f, -2.53362f)) * rotate(1.9f, vec3(0, 1, 0))));
+ current_world->addObject(new Boar(translate(vec3(16.71088f, 0.1f, 0.83976f)) * rotate(-1.6f, vec3(0, 1, 0))));
+ break;
+ case 2: srand((int)time(NULL));
+ // Hauptfenster
+ current_world = new Scene(0, 0, Graphix::getWindowWidth(), Graphix::getWindowHeight(), 45, 0.1f, 40, vec3(0.0f, 0.0f, 0.f));
+
+ // load LVL
+
+ SceneObject* tmp_world = new Level("level_3", "model_levelTest_2D.jpg");
+ current_world->addObject(tmp_world);
+
+ //Player
+ SceneObject* tmp_playerObject = new Marvin(translate(vec3(0.f, 0.73429f, 0.f)));
+
+ current_world->addObject(tmp_playerObject);
+ current_world->setLookAt(tmp_playerObject);
+
+
+ Lever* lever1 = new Lever(translate(vec3(2.55167f, 2.51451f, -5.54817f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "lever", "default_2D.png");
+ current_world->addObject(lever1);
+ lever1->setAnimationLoop(false);
+
+
+ Door* door1 = new Door(translate(vec3(-9.78039f, -1.06029f, -6.46377f)) * rotate(1.5708f, vec3(0, 1, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Door", "default_2D.png");
+ current_world->addObject(door1);
+ door1->setup(1.5708f, vec3(0, 1, 0), 1);
+ lever1->setup(door1);
+ Door* door2 = new Door(translate(vec3(-2.58412f, -1.06029f, -6.46377f)) * rotate(-1.5708f, vec3(0, 1, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Door", "default_2D.png");
+ current_world->addObject(door2);
+ door2->setup(-1.5708f, vec3(0, 1, 0), 1);
+ lever1->setup(door2);
+
+
+ current_world->addObject(new Level(translate(vec3(-5.50806f, 0.91084f, 19.01143f)) * rotate(-1.57f, vec3(0, 1, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Log", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(-5.50806f, -0.52355f, 7.75976f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Log", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(3.0515f, -1.3978f, -3.00258f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(3.0515f, -1.3978f, -6.02786f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(10.0674f, -1.3978f, -1.83059f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(10.02701f, -1.3978f, 1.3517f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(16.17073f, -1.46596f, -5.34347f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(21.94122f, -1.36633f, 2.71334f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(30.17974f, -3.34705f, -2.16098f)), vec4(3.0f, 3.f, 0.4f, 1.5f), "boulder", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(18.57976f, 2.46041f, -1.78333f)) * rotate(0.51f, vec3(0, 1, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Log", "model_levelTest_2D.png"));
+ current_world->addObject(new Level(translate(vec3(26.31248f, 1.66742f, 0.82817f)) * rotate(-0.95f, vec3(0, 1, 0)) * rotate(-0.35f, vec3(1, 0, 0)), vec4(3.0f, 3.f, 0.4f, 1.5f), "Log", "model_levelTest_2D.png"));
+
+
+ current_world->addObject(new Boar(translate(vec3(-7.14729f, 0.1f, -3.08567f)) * rotate(1.5f, vec3(0, 1, 0))));
+ current_world->addObject(new Boar(translate(vec3(13.32701f, 0.1f, -2.53362f)) * rotate(1.8f, vec3(0, 1, 0))));
+ current_world->addObject(new Boar(translate(vec3(23.64995f, 0.1f, -2.53362f)) * rotate(1.9f, vec3(0, 1, 0))));
+ current_world->addObject(new Boar(translate(vec3(16.71088f, 0.1f, 0.83976f)) * rotate(-1.6f, vec3(0, 1, 0))));
+ break;
+ }
+}
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
+ <asset>
+ <contributor>
+ <author>Blender User</author>
+ <authoring_tool>Blender 2.77.0 commit date:2016-04-05, commit time:18:12, hash:abf6f08</authoring_tool>
+ </contributor>
+ <created>2016-06-28T05:59:20</created>
+ <modified>2016-06-28T05:59:20</modified>
+ <unit name="meter" meter="1"/>
+ <up_axis>Z_UP</up_axis>
+ </asset>
+ <library_images/>
+ <library_geometries>
+ <geometry id="Plane_001-mesh" name="Plane.001">
+ <mesh>
+ <source id="Plane_001-mesh-positions">
+ <float_array id="Plane_001-mesh-positions-array" count="12">-62.79466 -13.16433 -3.815155 60.05718 -13.16433 -3.815155 -62.79466 109.6875 -3.815155 60.05718 109.6875 -3.815155</float_array>
+ <technique_common>
+ <accessor source="#Plane_001-mesh-positions-array" count="4" stride="3">
+ <param name="X" type="float"/>
+ <param name="Y" type="float"/>
+ <param name="Z" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <source id="Plane_001-mesh-normals">
+ <float_array id="Plane_001-mesh-normals-array" count="3">0 0 1</float_array>
+ <technique_common>
+ <accessor source="#Plane_001-mesh-normals-array" count="1" stride="3">
+ <param name="X" type="float"/>
+ <param name="Y" type="float"/>
+ <param name="Z" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <source id="Plane_001-mesh-map-0">
+ <float_array id="Plane_001-mesh-map-0-array" count="12">0.9999001 1.00042e-4 9.998e-5 0.9999001 1.00073e-4 9.998e-5 0.9999001 1.00042e-4 0.9999001 0.9999001 9.998e-5 0.9999001</float_array>
+ <technique_common>
+ <accessor source="#Plane_001-mesh-map-0-array" count="6" stride="2">
+ <param name="S" type="float"/>
+ <param name="T" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <vertices id="Plane_001-mesh-vertices">
+ <input semantic="POSITION" source="#Plane_001-mesh-positions"/>
+ </vertices>
+ <polylist count="2">
+ <input semantic="VERTEX" source="#Plane_001-mesh-vertices" offset="0"/>
+ <input semantic="NORMAL" source="#Plane_001-mesh-normals" offset="1"/>
+ <input semantic="TEXCOORD" source="#Plane_001-mesh-map-0" offset="2" set="0"/>
+ <vcount>3 3 </vcount>
+ <p>1 0 0 2 0 1 0 0 2 1 0 3 3 0 4 2 0 5</p>
+ </polylist>
+ </mesh>
+ </geometry>
+ <geometry id="Plane_002-mesh" name="Plane.002">
+ <mesh>
+ <source id="Plane_002-mesh-positions">
+ <float_array id="Plane_002-mesh-positions-array" count="24">-60.56459 106.799 13.77638 -60.56459 106.799 -4.976317 -60.68575 -11.09307 13.77638 57.34068 -11.05691 13.77638 57.3461 106.7781 13.77638 57.3461 106.7781 -4.976317 57.34068 -11.05691 -4.976317 -60.68575 -11.09307 -4.976317</float_array>
+ <technique_common>
+ <accessor source="#Plane_002-mesh-positions-array" count="8" stride="3">
+ <param name="X" type="float"/>
+ <param name="Y" type="float"/>
+ <param name="Z" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <source id="Plane_002-mesh-normals">
+ <float_array id="Plane_002-mesh-normals-array" count="24">-1.76644e-4 -1 0 0.9999995 -0.001027643 0 -3.06433e-4 1 0 -1 4.60721e-5 0 -1.76644e-4 -1 0 0.9999995 -0.001027762 0 -3.06433e-4 1 0 -1 4.60721e-5 0</float_array>
+ <technique_common>
+ <accessor source="#Plane_002-mesh-normals-array" count="8" stride="3">
+ <param name="X" type="float"/>
+ <param name="Y" type="float"/>
+ <param name="Z" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <source id="Plane_002-mesh-map-0">
+ <float_array id="Plane_002-mesh-map-0-array" count="48">0.5 0.9990195 0.2499999 0 0.4999997 0 0.7499998 0.9988618 0.5 0 0.7499996 0 0 0 0.2499999 1 2.6699e-7 1 0.7499998 0 1 0.9983785 0.7500004 0.9983785 0.5 0.9990195 0.2500001 0.9990195 0.2499999 0 0.7499998 0.9988618 0.5000002 0.9988619 0.5 0 0 0 0.2499997 0 0.2499999 1 0.7499998 0 0.9999995 0 1 0.9983785</float_array>
+ <technique_common>
+ <accessor source="#Plane_002-mesh-map-0-array" count="24" stride="2">
+ <param name="S" type="float"/>
+ <param name="T" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <vertices id="Plane_002-mesh-vertices">
+ <input semantic="POSITION" source="#Plane_002-mesh-positions"/>
+ </vertices>
+ <polylist count="8">
+ <input semantic="VERTEX" source="#Plane_002-mesh-vertices" offset="0"/>
+ <input semantic="NORMAL" source="#Plane_002-mesh-normals" offset="1"/>
+ <input semantic="TEXCOORD" source="#Plane_002-mesh-map-0" offset="2" set="0"/>
+ <vcount>3 3 3 3 3 3 3 3 </vcount>
+ <p>0 0 0 5 0 1 4 0 2 2 1 3 1 1 4 0 1 5 3 2 6 7 2 7 2 2 8 4 3 9 6 3 10 3 3 11 0 4 12 1 4 13 5 4 14 2 5 15 7 5 16 1 5 17 3 6 18 6 6 19 7 6 20 4 7 21 5 7 22 6 7 23</p>
+ </polylist>
+ </mesh>
+ </geometry>
+ <geometry id="Plane_005-mesh" name="Plane.005">
+ <mesh>
+ <source id="Plane_005-mesh-positions">
+ <float_array id="Plane_005-mesh-positions-array" count="42">-18.11115 14.31878 5.861037 16.74848 14.38196 5.863757 -18.14698 -9.259619 5.861035 16.74848 -9.276388 5.863758 -18.1196 -5.811701 14.22825 16.74848 -5.811701 14.22825 -18.1196 2.552788 17.69293 16.74848 2.552788 17.69293 -18.1196 10.91728 14.22825 16.74848 10.91728 14.22825 -18.11115 14.31878 -5.861034 16.75472 14.31462 -5.861034 16.75312 -9.252387 -5.861037 -18.14698 -9.259619 -5.861037</float_array>
+ <technique_common>
+ <accessor source="#Plane_005-mesh-positions-array" count="14" stride="3">
+ <param name="X" type="float"/>
+ <param name="Y" type="float"/>
+ <param name="Z" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <source id="Plane_005-mesh-normals">
+ <float_array id="Plane_005-mesh-normals-array" count="66">4.74013e-4 0.9245764 -0.3809964 0 0.3826835 -0.9238796 0 -0.3826835 -0.9238796 0 -0.9263768 -0.3765984 -0.001812338 0.9999985 0 -0.9999989 0.001519501 0 -4.80534e-4 -1 0 0.9999999 0 5.3244e-4 1 0 0 -0.9999992 -5.02838e-4 -0.001214861 0 0.9238795 -0.3826835 0 0.3826833 -0.9238796 0 -0.3826833 -0.9238796 0.001704275 -0.9238782 -0.3826828 1.1942e-4 0.9999836 -0.005743503 -0.9999989 0.001519501 0 2.07239e-4 -0.9999979 -0.002047061 1 -6.7991e-5 3.9549e-4 1 -5.26522e-7 0 1 -1.54215e-7 0 -0.9999954 0.001519441 0.002645432 -0.9999999 2.09444e-4 -5.06022e-4</float_array>
+ <technique_common>
+ <accessor source="#Plane_005-mesh-normals-array" count="22" stride="3">
+ <param name="X" type="float"/>
+ <param name="Y" type="float"/>
+ <param name="Z" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <source id="Plane_005-mesh-map-0">
+ <float_array id="Plane_005-mesh-map-0-array" count="132">0.5565676 0.9981268 0.7294408 0.4026927 0.7294406 0.9986009 0.4585115 0.9980884 0.5565556 0.402686 0.5565676 0.9981268 0.9022533 0.9980995 1 0.4027057 1 0.9981465 0.7296274 0.9979444 0.9022532 0.4026588 0.9022533 0.9980995 0.448051 0.9993818 0.2242982 0.4040126 0.448051 0.4040852 0.4584999 0.4026477 0.6866806 0 0.6866807 0.4026477 0.2239893 0.4040126 0 0.9999269 1.42582e-4 0.4040188 0.2302656 0 0.4584997 0.4028625 0.2302658 0.4040126 0.2302656 0 0.06744325 0.3448463 0 0.2020063 0.9169994 0.2017202 0.8495561 0.3445602 0.6866807 0.4026477 0.5565676 0.9981268 0.5565556 0.402686 0.7294408 0.4026927 0.4585115 0.9980884 0.4584997 0.4026477 0.5565556 0.402686 0.9022533 0.9980995 0.9022532 0.4026588 1 0.4027057 0.7296274 0.9979444 0.7294408 0.4026477 0.9022532 0.4026588 0.448051 0.9993818 0.2239893 0.9994155 0.2242982 0.4040126 0.4584999 0.4026477 0.4584997 0 0.6866806 0 0.2239893 0.4040126 0.2239893 1 0 0.9999269 0.2302656 0 0.4584996 4.09817e-4 0.4584997 0.4028625 0 0.2020063 0.06744319 0.05916631 0.2302656 0 0.2302656 0 0.2302658 0.4040126 0.06744325 0.3448463 0.6866807 0.4026477 0.6866806 0 0.8495563 0.05888038 0.8495563 0.05888038 0.9169994 0.2017202 0.6866807 0.4026477</float_array>
+ <technique_common>
+ <accessor source="#Plane_005-mesh-map-0-array" count="66" stride="2">
+ <param name="S" type="float"/>
+ <param name="T" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <vertices id="Plane_005-mesh-vertices">
+ <input semantic="POSITION" source="#Plane_005-mesh-positions"/>
+ </vertices>
+ <polylist count="22">
+ <input semantic="VERTEX" source="#Plane_005-mesh-vertices" offset="0"/>
+ <input semantic="NORMAL" source="#Plane_005-mesh-normals" offset="1"/>
+ <input semantic="TEXCOORD" source="#Plane_005-mesh-map-0" offset="2" set="0"/>
+ <vcount>3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 </vcount>
+ <p>4 0 0 3 0 1 2 0 2 6 1 3 5 1 4 4 1 5 8 2 6 7 2 7 6 2 8 0 3 9 9 3 10 8 3 11 1 4 12 10 4 13 0 4 14 10 5 15 2 5 16 0 5 17 13 6 18 3 6 19 2 6 20 3 7 21 11 7 22 1 7 23 3 8 24 9 8 25 7 8 26 6 9 27 8 9 28 0 9 29 4 10 30 5 10 31 3 10 32 6 11 33 7 11 34 5 11 35 8 12 36 9 12 37 7 12 38 0 13 39 1 13 40 9 13 41 1 14 42 11 14 43 10 14 44 10 15 45 13 15 46 2 15 47 13 16 48 12 16 49 3 16 50 3 17 51 12 17 52 11 17 53 7 18 54 5 18 55 3 18 56 3 19 57 1 19 58 9 19 59 0 20 60 2 20 61 4 20 62 4 21 63 6 21 64 0 21 65</p>
+ </polylist>
+ </mesh>
+ </geometry>
+ <geometry id="Cylinder_005-mesh" name="Cylinder.005">
+ <mesh>
+ <source id="Cylinder_005-mesh-positions">
+ <float_array id="Cylinder_005-mesh-positions-array" count="48">-1 1 0 1 1 0 -1 0.7071068 -0.7071067 1 0.7071068 -0.7071068 -1 0 -1 1 0 -1 -1 -0.7071068 -0.7071067 1 -0.7071068 -0.7071068 -1 -1 1.31134e-7 1 -1 0 -1 -0.7071067 0.707107 1 -0.7071067 0.7071068 -1 0 1 1 0 1 -1 0.7071067 0.707107 1 0.7071067 0.7071068</float_array>
+ <technique_common>
+ <accessor source="#Cylinder_005-mesh-positions-array" count="16" stride="3">
+ <param name="X" type="float"/>
+ <param name="Y" type="float"/>
+ <param name="Z" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <source id="Cylinder_005-mesh-normals">
+ <float_array id="Cylinder_005-mesh-normals-array" count="78">0 0.9238796 -0.3826834 -1.55754e-7 0.3826834 -0.9238796 0 -0.3826835 -0.9238796 0 -0.9238796 -0.3826834 0 -0.9238796 0.3826836 0 -0.3826833 0.9238797 1 -1.19209e-7 0 0 0.3826833 0.9238797 0 0.9238796 0.3826834 -1 0 0 0 0.9238796 -0.3826835 0 0.3826834 -0.9238796 0 -0.3826834 -0.9238796 0 -0.9238796 -0.3826834 0 -0.9238796 0.3826835 0 -0.3826834 0.9238796 1 2.87797e-7 0 1 0 0 1 1.43898e-7 0 1 0 0 0 0.3826833 0.9238796 0 0.9238796 0.3826835 -1 0 0 -1 0 0 -1 0 0 -1 0 0</float_array>
+ <technique_common>
+ <accessor source="#Cylinder_005-mesh-normals-array" count="26" stride="3">
+ <param name="X" type="float"/>
+ <param name="Y" type="float"/>
+ <param name="Z" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <source id="Cylinder_005-mesh-map-0">
+ <float_array id="Cylinder_005-mesh-map-0-array" count="168">0.2612039 0.5197831 0.1081942 0 0.2612039 0 0.1081942 0.519783 0 0 0.1081942 0 0.3693981 0 0.4775924 0.519783 0.3693981 0.5197831 0.4775924 0.519783 0.630602 0 0.6306021 0.519783 0.630602 0 0.7387962 0.519783 0.6306021 0.519783 1 0.519783 0.8918059 0 1 0 0.630602 1 0.3693981 0.8593477 0.4775923 0.519783 0.8918059 0.519783 0.7387962 0 0.8918059 0 0.3693981 0.5197831 0.2612039 0 0.3693981 0 0.2612038 0.519783 0.261204 1 0.1081942 1 0.2612039 0.5197831 0.1081942 0.519783 0.1081942 0 0.1081942 0.519783 0 0.5197831 0 0 0.3693981 0 0.4775923 0 0.4775924 0.519783 0.4775924 0.519783 0.4775923 0 0.630602 0 0.630602 0 0.7387962 0 0.7387962 0.519783 1 0.519783 0.8918059 0.519783 0.8918059 0 0.4775923 0.519783 0.630602 0.5197831 0.7387962 0.6604354 0.7387962 0.6604354 0.7387962 0.8593478 0.630602 1 0.630602 1 0.4775923 1 0.3693981 0.8593477 0.3693981 0.8593477 0.3693981 0.6604353 0.4775923 0.519783 0.4775923 0.519783 0.7387962 0.6604354 0.630602 1 0.8918059 0.519783 0.7387962 0.519783 0.7387962 0 0.3693981 0.5197831 0.2612039 0.5197831 0.2612039 0 0.1081942 1 0 0.8593478 0 0.6604354 0 0.6604354 0.1081941 0.5197831 0.2612038 0.519783 0.2612038 0.519783 0.3693981 0.6604353 0.3693981 0.8593477 0.3693981 0.8593477 0.261204 1 0.2612038 0.519783 0.1081942 1 0 0.6604354 0.2612038 0.519783</float_array>
+ <technique_common>
+ <accessor source="#Cylinder_005-mesh-map-0-array" count="84" stride="2">
+ <param name="S" type="float"/>
+ <param name="T" type="float"/>
+ </accessor>
+ </technique_common>
+ </source>
+ <vertices id="Cylinder_005-mesh-vertices">
+ <input semantic="POSITION" source="#Cylinder_005-mesh-positions"/>
+ </vertices>
+ <polylist count="28">
+ <input semantic="VERTEX" source="#Cylinder_005-mesh-vertices" offset="0"/>
+ <input semantic="NORMAL" source="#Cylinder_005-mesh-normals" offset="1"/>
+ <input semantic="TEXCOORD" source="#Cylinder_005-mesh-map-0" offset="2" set="0"/>
+ <vcount>3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 </vcount>
+ <p>1 0 0 2 0 1 0 0 2 3 1 3 4 1 4 2 1 5 5 2 6 6 2 7 4 2 8 6 3 9 9 3 10 8 3 11 9 4 12 10 4 13 8 4 14 11 5 15 12 5 16 10 5 17 13 6 18 9 6 19 5 6 20 13 7 21 14 7 22 12 7 23 15 8 24 0 8 25 14 8 26 6 9 27 12 9 28 14 9 29 1 10 30 3 10 31 2 10 32 3 11 33 5 11 34 4 11 35 5 12 36 7 12 37 6 12 38 6 13 39 7 13 40 9 13 41 9 14 42 11 14 43 10 14 44 11 15 45 13 15 46 12 15 47 5 16 48 3 16 49 1 16 50 1 17 51 15 17 52 13 17 53 13 17 54 11 17 55 9 17 56 9 18 57 7 18 58 5 18 59 5 19 60 1 19 61 13 19 62 13 20 63 15 20 64 14 20 65 15 21 66 1 21 67 0 21 68 14 22 69 0 22 70 2 22 71 2 23 72 4 23 73 6 23 74 6 24 75 8 24 76 10 24 77 10 25 78 12 25 79 6 25 80 14 25 81 2 25 82 6 25 83</p>
+ </polylist>
+ </mesh>
+ </geometry>
+ </library_geometries>
+ <library_controllers/>
+ <library_visual_scenes>
+ <visual_scene id="Scene" name="Scene">
+ <node id="Floor" name="Floor" type="NODE">
+ <matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
+ <instance_geometry url="#Plane_001-mesh" name="Floor"/>
+ </node>
+ <node id="Fence" name="Fence" type="NODE">
+ <matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
+ <instance_geometry url="#Plane_002-mesh" name="Fence"/>
+ </node>
+ <node id="Barn" name="Barn" type="NODE">
+ <matrix sid="transform">1 0 0 -12.40845 0 1 0 26.96462 0 0 1 1.202948 0 0 0 1</matrix>
+ <instance_geometry url="#Plane_005-mesh" name="Barn"/>
+ </node>
+ <node id="Hay" name="Hay" type="NODE">
+ <matrix sid="transform">1 0 0 0 0 1 0 10.48751 0 0 1 1 0 0 0 1</matrix>
+ <instance_geometry url="#Cylinder_005-mesh" name="Hay"/>
+ </node>
+ </visual_scene>
+ </library_visual_scenes>
+ <scene>
+ <instance_visual_scene url="#Scene"/>
+ </scene>
+</COLLADA>
\ No newline at end of file