]> git.leopard-lacewing.eu Git - cgue_weave.git/commitdiff
Positionen aus .dae werden ausgelesen
authorLockedLunatic <locked.lunatic@aon.at>
Wed, 15 Apr 2015 04:12:55 +0000 (06:12 +0200)
committerLockedLunatic <locked.lunatic@aon.at>
Wed, 15 Apr 2015 04:12:55 +0000 (06:12 +0200)
Weave/Graphix/MetaModel.cpp
Weave/Graphix/Model.h
models/Player.blend
models/Player.blend1
models/Player.dae

index ffd6b8af85dc5417c1e10fd0962d0ceb3f727106..d989594449638f11daa9d037283bc3c4feec719c 100644 (file)
@@ -14,7 +14,7 @@ MetaModel::MetaModel(const string& modelpath)
 {
        Assimp::Importer importer;
 
-       const aiScene* scene = importer.ReadFile("../models/" + modelpath, aiProcess_GenUVCoords | aiProcess_Triangulate | aiProcess_JoinIdenticalVertices | aiProcess_SortByPType);            //aiProcess_PreTransformVertices
+       const aiScene* scene = importer.ReadFile("../models/" + modelpath, aiProcess_GenUVCoords | aiProcess_Triangulate | aiProcess_JoinIdenticalVertices | aiProcess_SortByPType | aiProcess_PreTransformVertices);
        if (!scene)
        {
                Message::error("The file " + modelpath + " couldn't be read.\n" + importer.GetErrorString());
@@ -26,10 +26,7 @@ MetaModel::MetaModel(const string& modelpath)
                Model* tmp_model=nullptr;
                for (unsigned int i = 0; i < scene->mNumMeshes; i++)
                {
-
-                       aiMatrix4x4 transform = scene->mRootNode->mChildren[i]->mTransformation;
-
-                       models.push_back(new Model(scene->mMeshes[i]), transform);
+                       models.push_back(new Model(scene->mMeshes[i]));
                }       
                
        }
index 30ba2488f0a5bbe460400065f48d26a9f20ce5b6..cdf6c91d351c6d3d6882e7d90a1da1e0d53d9aa9 100644 (file)
@@ -20,7 +20,7 @@ class Model
 public:
        __declspec(deprecated)
        Model(const string& modelpath, unsigned int index=0);
-       Model(const aiMesh* mesh, const aiMatrix4x4 modelmatrix);
+       Model(const aiMesh* mesh);
        Model(unsigned int numvertices, unsigned int numfaces, float *vertex, float *uvs, float *normals, unsigned int *index);
 
        virtual ~Model();
index 8e38cba72cf18990ce907646cfe5855aee1a85c1..97bf89157deb76852beb797b2f52e03aecdc2dc5 100644 (file)
Binary files a/models/Player.blend and b/models/Player.blend differ
index b29cc9d2fa567d7e7c7ef2971a52bcb0fca21ff0..2e26699a4966f368d69cef151bc0df89b6883cb8 100644 (file)
Binary files a/models/Player.blend1 and b/models/Player.blend1 differ
index f6bc66587dcdc6256964066d3db3b3a20fc26671..ba7e0a06f980674b916fd8971392d14f30d5912f 100644 (file)
   <asset>
     <contributor>
       <author>Blender User</author>
-      <authoring_tool>Blender 2.73.0 commit date:2015-01-20, commit time:18:16, hash:bbf09d9</authoring_tool>
+      <authoring_tool>Blender 2.70.0 commit date:2014-04-10, commit time:11:49, hash:f93bc76</authoring_tool>
     </contributor>
-    <created>2015-04-14T10:29:54</created>
-    <modified>2015-04-14T10:29:54</modified>
+    <created>2015-04-15T03:23:28</created>
+    <modified>2015-04-15T03:23:28</modified>
     <unit name="meter" meter="1"/>
     <up_axis>Z_UP</up_axis>
   </asset>
-  <library_cameras>
-    <camera id="Camera-camera" name="Camera">
-      <optics>
-        <technique_common>
-          <perspective>
-            <xfov sid="xfov">49.13434</xfov>
-            <aspect_ratio>1.777778</aspect_ratio>
-            <znear sid="znear">0.1</znear>
-            <zfar sid="zfar">100</zfar>
-          </perspective>
-        </technique_common>
-      </optics>
-      <extra>
-        <technique profile="blender">
-          <YF_dofdist>0</YF_dofdist>
-          <shiftx>0</shiftx>
-          <shifty>0</shifty>
-        </technique>
-      </extra>
-    </camera>
-  </library_cameras>
-  <library_lights>
-    <light id="Lamp-light" name="Lamp">
-      <technique_common>
-        <point>
-          <color sid="color">1 1 1</color>
-          <constant_attenuation>1</constant_attenuation>
-          <linear_attenuation>0</linear_attenuation>
-          <quadratic_attenuation>0.00111109</quadratic_attenuation>
-        </point>
-      </technique_common>
-      <extra>
-        <technique profile="blender">
-          <adapt_thresh>0.000999987</adapt_thresh>
-          <area_shape>1</area_shape>
-          <area_size>0.1</area_size>
-          <area_sizey>0.1</area_sizey>
-          <area_sizez>1</area_sizez>
-          <atm_distance_factor>1</atm_distance_factor>
-          <atm_extinction_factor>1</atm_extinction_factor>
-          <atm_turbidity>2</atm_turbidity>
-          <att1>0</att1>
-          <att2>1</att2>
-          <backscattered_light>1</backscattered_light>
-          <bias>1</bias>
-          <blue>1</blue>
-          <buffers>1</buffers>
-          <bufflag>0</bufflag>
-          <bufsize>2880</bufsize>
-          <buftype>2</buftype>
-          <clipend>30.002</clipend>
-          <clipsta>1.000799</clipsta>
-          <compressthresh>0.04999995</compressthresh>
-          <dist sid="blender_dist">29.99998</dist>
-          <energy sid="blender_energy">1</energy>
-          <falloff_type>2</falloff_type>
-          <filtertype>0</filtertype>
-          <flag>0</flag>
-          <gamma sid="blender_gamma">1</gamma>
-          <green>1</green>
-          <halo_intensity sid="blnder_halo_intensity">1</halo_intensity>
-          <horizon_brightness>1</horizon_brightness>
-          <mode>8192</mode>
-          <ray_samp>1</ray_samp>
-          <ray_samp_method>1</ray_samp_method>
-          <ray_samp_type>0</ray_samp_type>
-          <ray_sampy>1</ray_sampy>
-          <ray_sampz>1</ray_sampz>
-          <red>1</red>
-          <samp>3</samp>
-          <shadhalostep>0</shadhalostep>
-          <shadow_b sid="blender_shadow_b">0</shadow_b>
-          <shadow_g sid="blender_shadow_g">0</shadow_g>
-          <shadow_r sid="blender_shadow_r">0</shadow_r>
-          <sky_colorspace>0</sky_colorspace>
-          <sky_exposure>1</sky_exposure>
-          <skyblendfac>1</skyblendfac>
-          <skyblendtype>1</skyblendtype>
-          <soft>3</soft>
-          <spotblend>0.15</spotblend>
-          <spotsize>75</spotsize>
-          <spread>1</spread>
-          <sun_brightness>1</sun_brightness>
-          <sun_effect_type>0</sun_effect_type>
-          <sun_intensity>1</sun_intensity>
-          <sun_size>1</sun_size>
-          <type>0</type>
-        </technique>
-      </extra>
-    </light>
-  </library_lights>
   <library_images/>
   <library_effects>
     <effect id="Material-effect">
           </technique_common>
         </source>
         <source id="Cube-mesh-normals">
-          <float_array id="Cube-mesh-normals-array" count="36">0 0 -1 0 0 1 1 -5.66244e-7 3.27825e-7 -4.76837e-7 -1 0 -1 2.08616e-7 -1.19209e-7 2.08616e-7 1 1.78814e-7 0 0 -1 0 0 1 1 0 -2.38419e-7 0 -1 -2.98023e-7 -1 2.38419e-7 -1.49012e-7 2.68221e-7 1 2.38419e-7</float_array>
+          <float_array id="Cube-mesh-normals-array" count="36">0 0 -1 0 0 1 1 -5.66244e-7 3.27825e-7 -4.76837e-7 -1 0 -1 2.08616e-7 -1.19209e-7 2.08616e-7 1 2.38419e-7 0 0 -1 0 0 1 1 0 -2.38419e-7 0 -1 -2.98023e-7 -1 2.38419e-7 -1.49012e-7 2.68221e-7 1 1.78814e-7</float_array>
           <technique_common>
             <accessor source="#Cube-mesh-normals-array" count="12" stride="3">
               <param name="X" type="float"/>
           </technique_common>
         </source>
         <source id="Cube-mesh-map-0">
-          <float_array id="Cube-mesh-map-0-array" count="72">0.4162325 0.1289063 0.490885 0.1289063 0.490885 0.240885 0.2669275 0.1289063 0.34158 0.1289063 0.34158 0.240885 0.2669275 0.01692754 0.34158 0.01692748 0.34158 0.1289063 0.34158 0.01692754 0.4162325 0.01692748 0.4162325 0.1289063 0.4162325 0.01692754 0.490885 0.01692754 0.490885 0.1289063 0.4162325 0.1289063 0.4162325 0.240885 0.34158 0.240885 0.4162325 0.240885 0.4162325 0.1289063 0.490885 0.240885 0.2669275 0.240885 0.2669275 0.1289063 0.34158 0.240885 0.2669275 0.1289063 0.2669275 0.01692754 0.34158 0.1289063 0.34158 0.1289063 0.34158 0.01692754 0.4162325 0.1289063 0.4162325 0.1289063 0.4162325 0.01692754 0.490885 0.1289063 0.34158 0.1289063 0.4162325 0.1289063 0.34158 0.240885</float_array>
+          <float_array id="Cube-mesh-map-0-array" count="72">0.4162325 0.1289063 0.490885 0.1289063 0.490885 0.240885 0.2669275 0.1289063 0.34158 0.1289063 0.34158 0.240885 0.2669275 0.01692754 0.34158 0.01692748 0.34158 0.1289063 0.34158 0.01692754 0.4162325 0.01692748 0.4162325 0.1289063 0.4162325 0.01692754 0.490885 0.01692754 0.490885 0.1289063 0.34158 0.1289063 0.4162325 0.1289063 0.4162325 0.240885 0.4162325 0.240885 0.4162325 0.1289063 0.490885 0.240885 0.2669275 0.240885 0.2669275 0.1289063 0.34158 0.240885 0.2669275 0.1289063 0.2669275 0.01692754 0.34158 0.1289063 0.34158 0.1289063 0.34158 0.01692754 0.4162325 0.1289063 0.4162325 0.1289063 0.4162325 0.01692754 0.490885 0.1289063 0.34158 0.240885 0.34158 0.1289063 0.4162325 0.240885</float_array>
           <technique_common>
             <accessor source="#Cube-mesh-map-0-array" count="36" stride="2">
               <param name="S" type="float"/>
           <input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
           <input semantic="TEXCOORD" source="#Cube-mesh-map-0" offset="2" set="0"/>
           <vcount>3 3 3 3 3 3 3 3 3 3 3 3 </vcount>
-          <p>0 0 0 1 0 1 2 0 2 7 1 3 6 1 4 5 1 5 4 2 6 5 2 7 1 2 8 5 3 9 6 3 10 2 3 11 2 4 12 6 4 13 7 4 14 0 5 15 3 5 16 7 5 17 3 6 18 0 6 19 2 6 20 4 7 21 7 7 22 5 7 23 0 8 24 4 8 25 1 8 26 1 9 27 5 9 28 2 9 29 3 10 30 2 10 31 7 10 32 4 11 33 0 11 34 7 11 35</p>
+          <p>0 0 0 1 0 1 2 0 2 7 1 3 6 1 4 5 1 5 4 2 6 5 2 7 1 2 8 5 3 9 6 3 10 2 3 11 2 4 12 6 4 13 7 4 14 4 5 15 0 5 16 3 5 17 3 6 18 0 6 19 2 6 20 4 7 21 7 7 22 5 7 23 0 8 24 4 8 25 1 8 26 1 9 27 5 9 28 2 9 29 3 10 30 2 10 31 7 10 32 7 11 33 4 11 34 3 11 35</p>
         </polylist>
       </mesh>
     </geometry>
           </technique_common>
         </source>
         <source id="Cube_001-mesh-map-0">
-          <float_array id="Cube_001-mesh-map-0-array" count="72">0.4118204 0.617935 0.4118204 0.4367527 0.5930026 0.4367526 0.5930027 0.2555704 0.7741849 0.2555703 0.7741849 0.4367526 0.5930026 0.2555703 0.5930027 0.4367526 0.4118204 0.4367527 0.5930027 0.4367527 0.7741849 0.4367526 0.7741849 0.6179348 0.7741849 0.6179348 0.7741849 0.4367527 0.9553671 0.4367526 0.7741848 0.617935 0.7741849 0.799117 0.5930027 0.799117 0.5930026 0.6179348 0.4118204 0.617935 0.5930026 0.4367526 0.5930027 0.4367526 0.5930027 0.2555704 0.7741849 0.4367526 0.4118204 0.2555704 0.5930026 0.2555703 0.4118204 0.4367527 0.5930027 0.617935 0.5930027 0.4367527 0.7741849 0.6179348 0.9553671 0.6179348 0.7741849 0.6179348 0.9553671 0.4367526 0.5930026 0.617935 0.7741848 0.617935 0.5930027 0.799117</float_array>
+          <float_array id="Cube_001-mesh-map-0-array" count="72">0.5930026 0.6179348 0.4118204 0.617935 0.4118204 0.4367527 0.5930027 0.4367526 0.5930027 0.2555704 0.7741849 0.2555703 0.4118204 0.2555704 0.5930026 0.2555703 0.5930027 0.4367526 0.5930027 0.617935 0.5930027 0.4367527 0.7741849 0.4367526 0.9553671 0.6179348 0.7741849 0.6179348 0.7741849 0.4367527 0.5930026 0.617935 0.7741848 0.617935 0.7741849 0.799117 0.5930026 0.4367526 0.5930026 0.6179348 0.4118204 0.4367527 0.7741849 0.4367526 0.5930027 0.4367526 0.7741849 0.2555703 0.4118204 0.4367527 0.4118204 0.2555704 0.5930027 0.4367526 0.7741849 0.6179348 0.5930027 0.617935 0.7741849 0.4367526 0.9553671 0.4367526 0.9553671 0.6179348 0.7741849 0.4367527 0.5930027 0.799117 0.5930026 0.617935 0.7741849 0.799117</float_array>
           <technique_common>
             <accessor source="#Cube_001-mesh-map-0-array" count="36" stride="2">
               <param name="S" type="float"/>
           <input semantic="NORMAL" source="#Cube_001-mesh-normals" offset="1"/>
           <input semantic="TEXCOORD" source="#Cube_001-mesh-map-0" offset="2" set="0"/>
           <vcount>3 3 3 3 3 3 3 3 3 3 3 3 </vcount>
-          <p>5 0 0 1 0 1 0 0 2 6 1 3 2 1 4 1 1 5 7 2 6 3 2 7 2 2 8 4 3 9 0 3 10 3 3 11 1 4 12 2 4 13 3 4 14 6 5 15 5 5 16 4 5 17 4 6 18 5 6 19 0 6 20 5 7 21 6 7 22 1 7 23 6 8 24 7 8 25 2 8 26 7 9 27 4 9 28 3 9 29 0 10 30 1 10 31 3 10 32 7 11 33 6 11 34 4 11 35</p>
+          <p>4 0 0 5 0 1 1 0 2 5 1 3 6 1 4 2 1 5 6 2 6 7 2 7 3 2 8 7 3 9 4 3 10 0 3 11 0 4 12 1 4 13 2 4 14 7 5 15 6 5 16 5 5 17 0 6 18 4 6 19 1 6 20 1 7 21 5 7 22 2 7 23 2 8 24 6 8 25 3 8 26 3 9 27 7 9 28 0 9 29 3 10 30 0 10 31 2 10 32 4 11 33 7 11 34 5 11 35</p>
         </polylist>
       </mesh>
     </geometry>
           </technique_common>
         </source>
         <source id="Cube_002-mesh-map-0">
-          <float_array id="Cube_002-mesh-map-0-array" count="72">0.007611751 0.8255877 0.007611751 0.6665998 0.1665997 0.6665998 0.1665998 0.5076118 0.3255878 0.5076118 0.3255878 0.6665997 0.1665997 0.5076118 0.1665998 0.6665997 0.007611811 0.6665998 0.1665998 0.6665998 0.3255878 0.6665998 0.3255878 0.8255877 0.3255878 0.8255877 0.3255878 0.6665998 0.4845758 0.6665998 0.3255878 0.8255877 0.3255878 0.9845756 0.1665998 0.9845756 0.1665998 0.8255877 0.007611751 0.8255877 0.1665997 0.6665998 0.1665998 0.6665998 0.1665998 0.5076118 0.3255878 0.6665997 0.007611751 0.5076118 0.1665997 0.5076118 0.007611811 0.6665998 0.1665998 0.8255877 0.1665998 0.6665998 0.3255878 0.8255877 0.4845758 0.8255877 0.3255878 0.8255877 0.4845758 0.6665998 0.1665998 0.8255878 0.3255878 0.8255877 0.1665998 0.9845756</float_array>
+          <float_array id="Cube_002-mesh-map-0-array" count="72">0.1665998 0.8255877 0.007611751 0.8255877 0.007611751 0.6665998 0.1665998 0.6665998 0.1665998 0.5076118 0.3255878 0.5076118 0.007611751 0.5076118 0.1665997 0.5076118 0.1665998 0.6665997 0.1665998 0.8255877 0.1665998 0.6665998 0.3255878 0.6665998 0.4845758 0.8255877 0.3255878 0.8255877 0.3255878 0.6665998 0.1665998 0.8255878 0.3255878 0.8255877 0.3255878 0.9845756 0.1665997 0.6665998 0.1665998 0.8255877 0.007611751 0.6665998 0.3255878 0.6665997 0.1665998 0.6665998 0.3255878 0.5076118 0.007611811 0.6665998 0.007611751 0.5076118 0.1665998 0.6665997 0.3255878 0.8255877 0.1665998 0.8255877 0.3255878 0.6665998 0.4845758 0.6665998 0.4845758 0.8255877 0.3255878 0.6665998 0.1665998 0.9845756 0.1665998 0.8255878 0.3255878 0.9845756</float_array>
           <technique_common>
             <accessor source="#Cube_002-mesh-map-0-array" count="36" stride="2">
               <param name="S" type="float"/>
           <input semantic="NORMAL" source="#Cube_002-mesh-normals" offset="1"/>
           <input semantic="TEXCOORD" source="#Cube_002-mesh-map-0" offset="2" set="0"/>
           <vcount>3 3 3 3 3 3 3 3 3 3 3 3 </vcount>
-          <p>5 0 0 1 0 1 0 0 2 6 1 3 2 1 4 1 1 5 7 2 6 3 2 7 2 2 8 4 3 9 0 3 10 3 3 11 1 4 12 2 4 13 3 4 14 6 5 15 5 5 16 4 5 17 4 6 18 5 6 19 0 6 20 5 7 21 6 7 22 1 7 23 6 8 24 7 8 25 2 8 26 7 9 27 4 9 28 3 9 29 0 10 30 1 10 31 3 10 32 7 11 33 6 11 34 4 11 35</p>
+          <p>4 0 0 5 0 1 1 0 2 5 1 3 6 1 4 2 1 5 6 2 6 7 2 7 3 2 8 7 3 9 4 3 10 0 3 11 0 4 12 1 4 13 2 4 14 7 5 15 6 5 16 5 5 17 0 6 18 4 6 19 1 6 20 1 7 21 5 7 22 2 7 23 2 8 24 6 8 25 3 8 26 3 9 27 7 9 28 0 9 29 3 10 30 0 10 31 2 10 32 4 11 33 7 11 34 5 11 35</p>
         </polylist>
       </mesh>
     </geometry>
           </technique_common>
         </source>
         <source id="Cube_003-mesh-normals">
-          <float_array id="Cube_003-mesh-normals-array" count="36">0 0 -1 0 0 1 1 -5.66244e-7 3.27825e-7 -4.76837e-7 -1 0 -1 2.08616e-7 -1.19209e-7 2.08616e-7 1 1.78814e-7 0 0 -1 0 0 1 1 0 -2.38419e-7 0 -1 -2.98023e-7 -1 2.38419e-7 -1.49012e-7 2.68221e-7 1 2.38419e-7</float_array>
+          <float_array id="Cube_003-mesh-normals-array" count="36">0 0 -1 0 0 1 1 -5.66244e-7 3.27825e-7 -4.76837e-7 -1 0 -1 2.08616e-7 -1.19209e-7 2.08616e-7 1 2.38419e-7 0 0 -1 0 0 1 1 0 -2.38419e-7 0 -1 -2.98023e-7 -1 2.38419e-7 -1.49012e-7 2.68221e-7 1 1.78814e-7</float_array>
           <technique_common>
             <accessor source="#Cube_003-mesh-normals-array" count="12" stride="3">
               <param name="X" type="float"/>
           </technique_common>
         </source>
         <source id="Cube_003-mesh-map-0">
-          <float_array id="Cube_003-mesh-map-0-array" count="72">0.1748473 0.1367188 0.2511045 0.1367188 0.2511045 0.2511045 0.02233308 0.1367188 0.09859019 0.1367188 0.09859019 0.2511045 0.02233302 0.02233308 0.09859019 0.02233308 0.09859019 0.1367187 0.09859019 0.02233308 0.1748473 0.02233308 0.1748473 0.1367187 0.1748473 0.02233308 0.2511045 0.02233314 0.2511045 0.1367188 0.1748473 0.1367188 0.1748473 0.2511045 0.09859019 0.2511045 0.1748473 0.2511045 0.1748473 0.1367188 0.2511045 0.2511045 0.02233302 0.2511045 0.02233308 0.1367188 0.09859019 0.2511045 0.02233302 0.1367188 0.02233302 0.02233308 0.09859019 0.1367187 0.09859019 0.1367188 0.09859019 0.02233308 0.1748473 0.1367187 0.1748473 0.1367188 0.1748473 0.02233308 0.2511045 0.1367188 0.09859019 0.1367188 0.1748473 0.1367188 0.09859019 0.2511045</float_array>
+          <float_array id="Cube_003-mesh-map-0-array" count="72">0.1748473 0.1367188 0.2511045 0.1367188 0.2511045 0.2511045 0.02233308 0.1367188 0.09859019 0.1367188 0.09859019 0.2511045 0.02233302 0.02233308 0.09859019 0.02233308 0.09859019 0.1367187 0.09859019 0.02233308 0.1748473 0.02233308 0.1748473 0.1367187 0.1748473 0.02233308 0.2511045 0.02233314 0.2511045 0.1367188 0.09859019 0.1367188 0.1748473 0.1367188 0.1748473 0.2511045 0.1748473 0.2511045 0.1748473 0.1367188 0.2511045 0.2511045 0.02233302 0.2511045 0.02233308 0.1367188 0.09859019 0.2511045 0.02233302 0.1367188 0.02233302 0.02233308 0.09859019 0.1367187 0.09859019 0.1367188 0.09859019 0.02233308 0.1748473 0.1367187 0.1748473 0.1367188 0.1748473 0.02233308 0.2511045 0.1367188 0.09859019 0.2511045 0.09859019 0.1367188 0.1748473 0.2511045</float_array>
           <technique_common>
             <accessor source="#Cube_003-mesh-map-0-array" count="36" stride="2">
               <param name="S" type="float"/>
           <input semantic="NORMAL" source="#Cube_003-mesh-normals" offset="1"/>
           <input semantic="TEXCOORD" source="#Cube_003-mesh-map-0" offset="2" set="0"/>
           <vcount>3 3 3 3 3 3 3 3 3 3 3 3 </vcount>
-          <p>0 0 0 1 0 1 2 0 2 7 1 3 6 1 4 5 1 5 4 2 6 5 2 7 1 2 8 5 3 9 6 3 10 2 3 11 2 4 12 6 4 13 7 4 14 0 5 15 3 5 16 7 5 17 3 6 18 0 6 19 2 6 20 4 7 21 7 7 22 5 7 23 0 8 24 4 8 25 1 8 26 1 9 27 5 9 28 2 9 29 3 10 30 2 10 31 7 10 32 4 11 33 0 11 34 7 11 35</p>
+          <p>0 0 0 1 0 1 2 0 2 7 1 3 6 1 4 5 1 5 4 2 6 5 2 7 1 2 8 5 3 9 6 3 10 2 3 11 2 4 12 6 4 13 7 4 14 4 5 15 0 5 16 3 5 17 3 6 18 0 6 19 2 6 20 4 7 21 7 7 22 5 7 23 0 8 24 4 8 25 1 8 26 1 9 27 5 9 28 2 9 29 3 10 30 2 10 31 7 10 32 7 11 33 4 11 34 3 11 35</p>
         </polylist>
       </mesh>
     </geometry>
           </technique_common>
         </source>
         <source id="Cube_004-mesh-map-0">
-          <float_array id="Cube_004-mesh-map-0-array" count="72">0.760312 0.1671355 0.760312 0.0906769 0.8367707 0.0906769 0.8367707 0.01421821 0.9132293 0.01421821 0.9132294 0.09067684 0.8367707 0.01421821 0.8367707 0.09067684 0.760312 0.0906769 0.8367707 0.0906769 0.9132293 0.0906769 0.9132294 0.1671355 0.9132294 0.1671355 0.9132294 0.0906769 0.989688 0.0906769 0.9132293 0.1671355 0.9132293 0.2435942 0.8367707 0.2435942 0.8367707 0.1671355 0.760312 0.1671355 0.8367707 0.0906769 0.8367707 0.0906769 0.8367707 0.01421821 0.9132294 0.09067684 0.760312 0.01421827 0.8367707 0.01421821 0.760312 0.0906769 0.8367707 0.1671355 0.8367707 0.0906769 0.9132294 0.1671355 0.989688 0.1671355 0.9132294 0.1671355 0.989688 0.0906769 0.8367707 0.1671355 0.9132293 0.1671355 0.8367707 0.2435942</float_array>
+          <float_array id="Cube_004-mesh-map-0-array" count="72">0.8367707 0.1671355 0.760312 0.1671355 0.760312 0.0906769 0.8367707 0.0906769 0.8367707 0.01421821 0.9132293 0.01421821 0.760312 0.01421827 0.8367707 0.01421821 0.8367707 0.09067684 0.8367707 0.1671355 0.8367707 0.0906769 0.9132293 0.0906769 0.989688 0.1671355 0.9132294 0.1671355 0.9132294 0.0906769 0.8367707 0.1671355 0.9132293 0.1671355 0.9132293 0.2435942 0.8367707 0.0906769 0.8367707 0.1671355 0.760312 0.0906769 0.9132294 0.09067684 0.8367707 0.0906769 0.9132293 0.01421821 0.760312 0.0906769 0.760312 0.01421827 0.8367707 0.09067684 0.9132294 0.1671355 0.8367707 0.1671355 0.9132293 0.0906769 0.989688 0.0906769 0.989688 0.1671355 0.9132294 0.0906769 0.8367707 0.2435942 0.8367707 0.1671355 0.9132293 0.2435942</float_array>
           <technique_common>
             <accessor source="#Cube_004-mesh-map-0-array" count="36" stride="2">
               <param name="S" type="float"/>
           <input semantic="NORMAL" source="#Cube_004-mesh-normals" offset="1"/>
           <input semantic="TEXCOORD" source="#Cube_004-mesh-map-0" offset="2" set="0"/>
           <vcount>3 3 3 3 3 3 3 3 3 3 3 3 </vcount>
-          <p>5 0 0 1 0 1 0 0 2 6 1 3 2 1 4 1 1 5 7 2 6 3 2 7 2 2 8 4 3 9 0 3 10 3 3 11 1 4 12 2 4 13 3 4 14 6 5 15 5 5 16 4 5 17 4 6 18 5 6 19 0 6 20 5 7 21 6 7 22 1 7 23 6 8 24 7 8 25 2 8 26 7 9 27 4 9 28 3 9 29 0 10 30 1 10 31 3 10 32 7 11 33 6 11 34 4 11 35</p>
+          <p>4 0 0 5 0 1 1 0 2 5 1 3 6 1 4 2 1 5 6 2 6 7 2 7 3 2 8 7 3 9 4 3 10 0 3 11 0 4 12 1 4 13 2 4 14 7 5 15 6 5 16 5 5 17 0 6 18 4 6 19 1 6 20 1 7 21 5 7 22 2 7 23 2 8 24 6 8 25 3 8 26 3 9 27 7 9 28 0 9 29 3 10 30 0 10 31 2 10 32 4 11 33 7 11 34 5 11 35</p>
         </polylist>
       </mesh>
     </geometry>
           </technique_common>
         </source>
         <source id="Cube_005-mesh-map-0">
-          <float_array id="Cube_005-mesh-map-0-array" count="72">0.5100628 0.1685206 0.5100628 0.08929175 0.5892918 0.08929175 0.5892918 0.01006281 0.6685208 0.01006275 0.6685208 0.08929169 0.5892918 0.01006275 0.5892918 0.08929169 0.5100628 0.08929175 0.5892918 0.08929175 0.6685208 0.08929175 0.6685208 0.1685206 0.6685208 0.1685206 0.6685208 0.08929175 0.7477497 0.08929175 0.6685207 0.1685206 0.6685208 0.2477496 0.5892918 0.2477496 0.5892918 0.1685206 0.5100628 0.1685206 0.5892918 0.08929175 0.5892918 0.08929175 0.5892918 0.01006281 0.6685208 0.08929169 0.5100628 0.01006281 0.5892918 0.01006275 0.5100628 0.08929175 0.5892918 0.1685206 0.5892918 0.08929175 0.6685208 0.1685206 0.7477497 0.1685206 0.6685208 0.1685206 0.7477497 0.08929175 0.5892918 0.1685207 0.6685207 0.1685206 0.5892918 0.2477496</float_array>
+          <float_array id="Cube_005-mesh-map-0-array" count="72">0.5892918 0.1685206 0.5100628 0.1685206 0.5100628 0.08929175 0.5892918 0.08929175 0.5892918 0.01006281 0.6685208 0.01006275 0.5100628 0.01006281 0.5892918 0.01006275 0.5892918 0.08929169 0.5892918 0.1685206 0.5892918 0.08929175 0.6685208 0.08929175 0.7477497 0.1685206 0.6685208 0.1685206 0.6685208 0.08929175 0.5892918 0.1685207 0.6685207 0.1685206 0.6685208 0.2477496 0.5892918 0.08929175 0.5892918 0.1685206 0.5100628 0.08929175 0.6685208 0.08929169 0.5892918 0.08929175 0.6685208 0.01006275 0.5100628 0.08929175 0.5100628 0.01006281 0.5892918 0.08929169 0.6685208 0.1685206 0.5892918 0.1685206 0.6685208 0.08929175 0.7477497 0.08929175 0.7477497 0.1685206 0.6685208 0.08929175 0.5892918 0.2477496 0.5892918 0.1685207 0.6685208 0.2477496</float_array>
           <technique_common>
             <accessor source="#Cube_005-mesh-map-0-array" count="36" stride="2">
               <param name="S" type="float"/>
           <input semantic="NORMAL" source="#Cube_005-mesh-normals" offset="1"/>
           <input semantic="TEXCOORD" source="#Cube_005-mesh-map-0" offset="2" set="0"/>
           <vcount>3 3 3 3 3 3 3 3 3 3 3 3 </vcount>
-          <p>5 0 0 1 0 1 0 0 2 6 1 3 2 1 4 1 1 5 7 2 6 3 2 7 2 2 8 4 3 9 0 3 10 3 3 11 1 4 12 2 4 13 3 4 14 6 5 15 5 5 16 4 5 17 4 6 18 5 6 19 0 6 20 5 7 21 6 7 22 1 7 23 6 8 24 7 8 25 2 8 26 7 9 27 4 9 28 3 9 29 0 10 30 1 10 31 3 10 32 7 11 33 6 11 34 4 11 35</p>
+          <p>4 0 0 5 0 1 1 0 2 5 1 3 6 1 4 2 1 5 6 2 6 7 2 7 3 2 8 7 3 9 4 3 10 0 3 11 0 4 12 1 4 13 2 4 14 7 5 15 6 5 16 5 5 17 0 6 18 4 6 19 1 6 20 1 7 21 5 7 22 2 7 23 2 8 24 6 8 25 3 8 26 3 9 27 7 9 28 0 9 29 3 10 30 0 10 31 2 10 32 4 11 33 7 11 34 5 11 35</p>
         </polylist>
       </mesh>
     </geometry>
   <library_controllers/>
   <library_visual_scenes>
     <visual_scene id="Scene" name="Scene">
-      <node id="Camera" name="Camera" type="NODE">
-        <matrix sid="transform">0.6858805 -0.3173701 0.6548619 7.481132 0.7276338 0.3124686 -0.6106656 -6.50764 -0.01081678 0.8953432 0.4452454 5.343665 0 0 0 1</matrix>
-        <instance_camera url="#Camera-camera"/>
-      </node>
-      <node id="Lamp" name="Lamp" type="NODE">
-        <matrix sid="transform">-0.2908646 -0.7711008 0.5663932 4.076245 0.9551712 -0.1998834 0.2183912 1.005454 -0.05518906 0.6045247 0.7946723 5.903862 0 0 0 1</matrix>
-        <instance_light url="#Lamp-light"/>
-      </node>
       <node id="Left_Leg" name="Left_Leg" type="NODE">
         <matrix sid="transform">0.1035811 0 0 -0.147219 0 0.1001738 0 0 0 0 0.2933555 0.2979822 0 0 0 1</matrix>
         <instance_geometry url="#Cube-mesh">