Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.01 KB | None | 0 0
  1. <COLLADA xmlns="http://www.collada.org/2008/03/COLLADASchema" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns:ns3="http://www.w3.org/1998/Math/MathML">
  2.     <asset>
  3.         <unit meter="0.01" name="centimeter"/>
  4.         <up_axis>Y_UP</up_axis>
  5.     </asset>
  6.     <library_materials>
  7.         <material id="Material" name="Material">
  8.             <instance_effect url="#Material-fx"/>
  9.         </material>
  10.     </library_materials>
  11.     <library_effects>
  12.         <effect id="Material-fx">
  13.             <profile_COMMON>
  14.                 <technique sid="common">
  15.                     <phong>
  16.                         <emission>
  17.                             <color>0.0 0.0 0.0 1.0</color>
  18.                         </emission>
  19.                         <ambient>
  20.                             <color>0.0 0.0 0.0 1.0</color>
  21.                         </ambient>
  22.                         <diffuse>
  23.                             <color>0.137255 0.403922 0.870588 1.0</color>
  24.                         </diffuse>
  25.                         <specular>
  26.                             <color>0.5 0.5 0.5 1.0</color>
  27.                         </specular>
  28.                         <shininess>
  29.                             <float>16.0</float>
  30.                         </shininess>
  31.                         <reflective>
  32.                             <color>0.0 0.0 0.0 1.0</color>
  33.                         </reflective>
  34.                         <reflectivity>
  35.                             <float>0.5</float>
  36.                         </reflectivity>
  37.                         <transparent>
  38.                             <color>0.0 0.0 0.0 1.0</color>
  39.                         </transparent>
  40.                         <transparency>
  41.                             <float>1.0</float>
  42.                         </transparency>
  43.                         <index_of_refraction>
  44.                             <float>0.0</float>
  45.                         </index_of_refraction>
  46.                     </phong>
  47.                 </technique>
  48.             </profile_COMMON>
  49.         </effect>
  50.     </library_effects>
  51.     <library_geometries>
  52.         <geometry id="mesh" name="mesh">
  53.             <mesh>
  54.                 <source id="positions" name="position">
  55.                     <float_array id="positions-array" count="24">-50.0 50.0 50.0 50.0 50.0 50.0 -50.0 -50.0 50.0 50.0 -50.0 50.0 -50.0 50.0 -50.0 50.0 50.0 -50.0 -50.0 -50.0 -50.0 50.0 -50.0 -50.0</float_array>
  56.                     <technique_common>
  57.                         <accessor count="8" offset="0" source="#positions-array" stride="3">
  58.                             <param name="X" type="float"/>
  59.                             <param name="Y" type="float"/>
  60.                             <param name="Z" type="float"/>
  61.                         </accessor>
  62.                     </technique_common>
  63.                 </source>
  64.                 <source id="normals" name="normal">
  65.                     <float_array id="normals-array" count="72">0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0</float_array>
  66.                     <technique_common>
  67.                         <accessor count="24" offset="0" source="#normals-array" stride="3">
  68.                             <param name="X" type="float"/>
  69.                             <param name="Y" type="float"/>
  70.                             <param name="Z" type="float"/>
  71.                         </accessor>
  72.                     </technique_common>
  73.                 </source>
  74.                 <vertices id="vertices">
  75.                     <input semantic="POSITION" source="#positions"/>
  76.                 </vertices>
  77.                 <polylist count="6" material="MaterialSG">
  78.                     <input offset="0" semantic="VERTEX" source="#vertices"/>
  79.                     <input offset="1" semantic="NORMAL" source="#normals"/>
  80.                     <vcount>4 4 4 4 4 4</vcount>
  81.                     <p>0 0 2 1 3 2 1 3 0 4 1 5 5 6 4 7 6 8 7 9 3 10 2 11 0 12 4 13 6 14 2 15 3 16 7 17 5 18 1 19 5 20 7 21 6 22 4 23</p>
  82.                 </polylist>
  83.             </mesh>
  84.         </geometry>
  85.     </library_geometries>
  86.     <library_visual_scenes>
  87.         <visual_scene id="VisualSceneNode" name="untitled">
  88.             <node id="Mesh" name="Mesh">
  89.                 <rotate>0.0 0.0 1.0 0.0</rotate>
  90.                 <rotate>0.0 1.0 0.0 0.0</rotate>
  91.                 <rotate>1.0 0.0 0.0 0.0</rotate>
  92.                 <instance_geometry url="#mesh">
  93.                     <bind_material>
  94.                         <technique_common>
  95.                             <instance_material symbol="MaterialSG" target="#Material"/>
  96.                         </technique_common>
  97.                     </bind_material>
  98.                 </instance_geometry>
  99.             </node>
  100.         </visual_scene>
  101.     </library_visual_scenes>
  102.     <scene>
  103.         <instance_visual_scene url="#VisualSceneNode"/>
  104.     </scene>
  105. </COLLADA>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement