Source

pyGAP / game / assets / common / geometries / object.dae

Full commit
<?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.56.0 r34074</authoring_tool>
    </contributor>
    <created>2011-02-11T16:48:20</created>
    <modified>2011-02-11T16:48:20</modified>
    <unit name="meter" meter="1"/>
    <up_axis>Z_UP</up_axis>
  </asset>
  <library_cameras>
    <camera id="Camera_001-camera" name="Camera.001">
      <optics>
        <technique_common>
          <perspective>
            <xfov>49.13434</xfov>
            <aspect_ratio>1.777778</aspect_ratio>
            <znear>0.1</znear>
            <zfar>100</zfar>
          </perspective>
        </technique_common>
      </optics>
    </camera>
    <camera id="Camera-camera" name="Camera">
      <optics>
        <technique_common>
          <perspective>
            <xfov>49.13434</xfov>
            <aspect_ratio>1.777778</aspect_ratio>
            <znear>0.1</znear>
            <zfar>100</zfar>
          </perspective>
        </technique_common>
      </optics>
    </camera>
  </library_cameras>
  <library_lights>
    <light id="Lamp_001-light" name="Lamp.001">
      <technique_common>
        <point>
          <color>1 1 1</color>
          <constant_attenuation>1</constant_attenuation>
          <linear_attenuation>0</linear_attenuation>
          <quadratic_attenuation>5.55556e-4</quadratic_attenuation>
        </point>
      </technique_common>
    </light>
    <light id="Lamp-light" name="Lamp">
      <technique_common>
        <point>
          <color>1 1 1</color>
          <constant_attenuation>1</constant_attenuation>
          <linear_attenuation>0</linear_attenuation>
          <quadratic_attenuation>5.55556e-4</quadratic_attenuation>
        </point>
      </technique_common>
    </light>
  </library_lights>
  <library_images>
    <image id="m00_obj_omake1_png" name="m00_obj_omake1_png">
      <init_from>m00_obj_omake1.png</init_from>
    </image>
  </library_images>
  <library_effects>
    <effect id="crate-effect">
      <profile_COMMON>
        <newparam sid="m00_obj_omake1_png-surface">
          <surface type="2D">
            <init_from>m00_obj_omake1_png</init_from>
          </surface>
        </newparam>
        <newparam sid="m00_obj_omake1_png-sampler">
          <sampler2D>
            <source>m00_obj_omake1_png-surface</source>
          </sampler2D>
        </newparam>
        <technique sid="common">
          <lambert>
            <emission>
              <color>0 0 0 1</color>
            </emission>
            <ambient>
              <color>0 0 0 1</color>
            </ambient>
            <diffuse>
              <texture texture="m00_obj_omake1_png-sampler" texcoord="UVTex"/>
            </diffuse>
            <index_of_refraction>
              <float>1</float>
            </index_of_refraction>
          </lambert>
        </technique>
        <extra>
          <technique profile="GOOGLEEARTH">
            <show_double_sided>1</show_double_sided>
          </technique>
        </extra>
      </profile_COMMON>
      <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
    </effect>
  </library_effects>
  <library_materials>
    <material id="crate" name="crate">
      <instance_effect url="#crate-effect"/>
    </material>
  </library_materials>
  <library_geometries>
    <geometry id="Cube-mesh">
      <mesh>
        <source id="Cube-mesh-positions">
          <float_array id="Cube-mesh-positions-array" count="24">1 1 -1 1 -1 -1 -1 -0.9999998 -1 -0.9999997 1 -1 1 0.9999995 1 0.9999994 -1.000001 1 -1 -0.9999997 1 -1 1 1</float_array>
          <technique_common>
            <accessor source="#Cube-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="Cube-mesh-normals">
          <float_array id="Cube-mesh-normals-array" count="18">0 0 -1 0 0 1 1 -1.49012e-7 1.49012e-7 -3.57628e-7 -1 -2.08616e-7 -1 0 0 1.19209e-7 1 1.19209e-7</float_array>
          <technique_common>
            <accessor source="#Cube-mesh-normals-array" count="6" stride="3">
              <param name="X" type="float"/>
              <param name="Y" type="float"/>
              <param name="Z" type="float"/>
            </accessor>
          </technique_common>
        </source>
        <source id="Cube-mesh-map-0">
          <float_array id="Cube-mesh-map-0-array" count="48">0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1</float_array>
          <technique_common>
            <accessor source="#Cube-mesh-map-0-array" count="24" stride="2">
              <param name="S" type="float"/>
              <param name="T" type="float"/>
            </accessor>
          </technique_common>
        </source>
        <vertices id="Cube-mesh-vertices">
          <input semantic="POSITION" source="#Cube-mesh-positions"/>
        </vertices>
        <polylist material="crate" count="6">
          <input semantic="VERTEX" source="#Cube-mesh-vertices" offset="0"/>
          <input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
          <input semantic="TEXCOORD" source="#Cube-mesh-map-0" offset="2" set="0"/>
          <vcount>4 4 4 4 4 4 </vcount>
          <p>0 0 0 1 0 1 2 0 2 3 0 3 4 1 4 7 1 5 6 1 6 5 1 7 0 2 8 4 2 9 5 2 10 1 2 11 1 3 12 5 3 13 6 3 14 2 3 15 2 4 16 6 4 17 7 4 18 3 4 19 4 5 20 0 5 21 3 5 22 7 5 23</p>
        </polylist>
      </mesh>
    </geometry>
  </library_geometries>
  <library_animations>
    <animation id="Cube_location_X">
      <source id="Cube_location_X-input">
        <float_array id="Cube_location_X-input-array" count="3">0.04166656 2.125 4.208333</float_array>
        <technique_common>
          <accessor source="#Cube_location_X-input-array" count="3" stride="1">
            <param name="TIME" type="float"/>
          </accessor>
        </technique_common>
      </source>
      <source id="Cube_location_X-output">
        <float_array id="Cube_location_X-output-array" count="3">0 -0.6732897 -0.5740851</float_array>
        <technique_common>
          <accessor source="#Cube_location_X-output-array" count="3" stride="1">
            <param name="X" type="float"/>
          </accessor>
        </technique_common>
      </source>
      <source id="Cube_location_X-interpolation">
        <Name_array id="Cube_location_X-interpolation-array" count="3">LINEAR LINEAR LINEAR</Name_array>
        <technique_common>
          <accessor source="#Cube_location_X-interpolation-array" count="3" stride="1">
            <param name="INTERPOLATION" type="name"/>
          </accessor>
        </technique_common>
      </source>
      <sampler id="Cube_location_X-sampler">
        <input semantic="INPUT" source="#Cube_location_X-input"/>
        <input semantic="OUTPUT" source="#Cube_location_X-output"/>
        <input semantic="INTERPOLATION" source="#Cube_location_X-interpolation"/>
      </sampler>
      <channel source="#Cube_location_X-sampler" target="Cube/location.X"/>
    </animation>
    <animation id="Cube_location_Y">
      <source id="Cube_location_Y-input">
        <float_array id="Cube_location_Y-input-array" count="3">0.04166656 2.125 4.208333</float_array>
        <technique_common>
          <accessor source="#Cube_location_Y-input-array" count="3" stride="1">
            <param name="TIME" type="float"/>
          </accessor>
        </technique_common>
      </source>
      <source id="Cube_location_Y-output">
        <float_array id="Cube_location_Y-output-array" count="3">0 4.126082 -4.319929</float_array>
        <technique_common>
          <accessor source="#Cube_location_Y-output-array" count="3" stride="1">
            <param name="Y" type="float"/>
          </accessor>
        </technique_common>
      </source>
      <source id="Cube_location_Y-interpolation">
        <Name_array id="Cube_location_Y-interpolation-array" count="3">LINEAR LINEAR LINEAR</Name_array>
        <technique_common>
          <accessor source="#Cube_location_Y-interpolation-array" count="3" stride="1">
            <param name="INTERPOLATION" type="name"/>
          </accessor>
        </technique_common>
      </source>
      <sampler id="Cube_location_Y-sampler">
        <input semantic="INPUT" source="#Cube_location_Y-input"/>
        <input semantic="OUTPUT" source="#Cube_location_Y-output"/>
        <input semantic="INTERPOLATION" source="#Cube_location_Y-interpolation"/>
      </sampler>
      <channel source="#Cube_location_Y-sampler" target="Cube/location.Y"/>
    </animation>
    <animation id="Cube_location_Z">
      <source id="Cube_location_Z-input">
        <float_array id="Cube_location_Z-input-array" count="3">0.04166656 2.125 4.208333</float_array>
        <technique_common>
          <accessor source="#Cube_location_Z-input-array" count="3" stride="1">
            <param name="TIME" type="float"/>
          </accessor>
        </technique_common>
      </source>
      <source id="Cube_location_Z-output">
        <float_array id="Cube_location_Z-output-array" count="3">0 4.58427 -2.450306</float_array>
        <technique_common>
          <accessor source="#Cube_location_Z-output-array" count="3" stride="1">
            <param name="Z" type="float"/>
          </accessor>
        </technique_common>
      </source>
      <source id="Cube_location_Z-interpolation">
        <Name_array id="Cube_location_Z-interpolation-array" count="3">LINEAR LINEAR LINEAR</Name_array>
        <technique_common>
          <accessor source="#Cube_location_Z-interpolation-array" count="3" stride="1">
            <param name="INTERPOLATION" type="name"/>
          </accessor>
        </technique_common>
      </source>
      <sampler id="Cube_location_Z-sampler">
        <input semantic="INPUT" source="#Cube_location_Z-input"/>
        <input semantic="OUTPUT" source="#Cube_location_Z-output"/>
        <input semantic="INTERPOLATION" source="#Cube_location_Z-interpolation"/>
      </sampler>
      <channel source="#Cube_location_Z-sampler" target="Cube/location.Z"/>
    </animation>
  </library_animations>
  <library_controllers/>
  <library_visual_scenes>
    <visual_scene id="Scene" name="Scene">
      <node id="Camera_001" type="NODE">
        <translate sid="location">7.481132 -6.50764 5.343665</translate>
        <rotate sid="rotationZ">0 0 1 46.69194</rotate>
        <rotate sid="rotationY">0 1 0 0.6197679</rotate>
        <rotate sid="rotationX">1 0 0 63.55929</rotate>
        <scale sid="scale">0.9999999 0.9999999 0.9999999</scale>
        <instance_camera url="#Camera_001-camera"/>
      </node>
      <node id="Lamp_001" type="NODE">
        <translate sid="location">4.076245 1.005454 5.903862</translate>
        <rotate sid="rotationZ">0 0 1 106.9363</rotate>
        <rotate sid="rotationY">0 1 0 3.163707</rotate>
        <rotate sid="rotationX">1 0 0 37.26105</rotate>
        <scale sid="scale">1 1 1</scale>
        <instance_light url="#Lamp_001-light"/>
      </node>
      <node id="Cube" type="NODE">
        <translate sid="location">0 0 0</translate>
        <rotate sid="rotationZ">0 0 1 0</rotate>
        <rotate sid="rotationY">0 1 0 0</rotate>
        <rotate sid="rotationX">1 0 0 0</rotate>
        <scale sid="scale">1 1 1</scale>
        <instance_geometry url="#Cube-mesh">
          <bind_material>
            <technique_common>
              <instance_material symbol="crate" target="#crate">
                <bind_vertex_input semantic="UVTex" input_semantic="TEXCOORD" input_set="0"/>
              </instance_material>
            </technique_common>
          </bind_material>
        </instance_geometry>
      </node>
      <node id="Lamp" type="NODE">
        <translate sid="location">4.076245 1.005454 5.903862</translate>
        <rotate sid="rotationZ">0 0 1 106.9363</rotate>
        <rotate sid="rotationY">0 1 0 3.163707</rotate>
        <rotate sid="rotationX">1 0 0 37.26105</rotate>
        <scale sid="scale">1 1 1</scale>
        <instance_light url="#Lamp-light"/>
      </node>
      <node id="Camera" type="NODE">
        <translate sid="location">7.481132 -6.50764 5.343665</translate>
        <rotate sid="rotationZ">0 0 1 46.69194</rotate>
        <rotate sid="rotationY">0 1 0 0.6197679</rotate>
        <rotate sid="rotationX">1 0 0 63.55929</rotate>
        <scale sid="scale">1 1 1</scale>
        <instance_camera url="#Camera-camera"/>
      </node>
    </visual_scene>
  </library_visual_scenes>
  <scene>
    <instance_visual_scene url="#Scene"/>
  </scene>
</COLLADA>