Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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">
- <asset>
- <unit meter="0.01" name="centimeter"/>
- <up_axis>Y_UP</up_axis>
- </asset>
- <library_materials>
- <material id="Material" name="Material">
- <instance_effect url="#Material-fx"/>
- </material>
- </library_materials>
- <library_effects>
- <effect id="Material-fx">
- <profile_COMMON>
- <technique sid="common">
- <phong>
- <emission>
- <color>0.0 0.0 0.0 1.0</color>
- </emission>
- <ambient>
- <color>0.0 0.0 0.0 1.0</color>
- </ambient>
- <diffuse>
- <color>0.137255 0.403922 0.870588 1.0</color>
- </diffuse>
- <specular>
- <color>0.5 0.5 0.5 1.0</color>
- </specular>
- <shininess>
- <float>16.0</float>
- </shininess>
- <reflective>
- <color>0.0 0.0 0.0 1.0</color>
- </reflective>
- <reflectivity>
- <float>0.5</float>
- </reflectivity>
- <transparent>
- <color>0.0 0.0 0.0 1.0</color>
- </transparent>
- <transparency>
- <float>1.0</float>
- </transparency>
- <index_of_refraction>
- <float>0.0</float>
- </index_of_refraction>
- </phong>
- </technique>
- </profile_COMMON>
- </effect>
- </library_effects>
- <library_geometries>
- <geometry id="mesh" name="mesh">
- <mesh>
- <source id="positions" name="position">
- <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>
- <technique_common>
- <accessor count="8" offset="0" source="#positions-array" stride="3">
- <param name="X" type="float"/>
- <param name="Y" type="float"/>
- <param name="Z" type="float"/>
- </accessor>
- </technique_common>
- </source>
- <source id="normals" name="normal">
- <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>
- <technique_common>
- <accessor count="24" offset="0" source="#normals-array" stride="3">
- <param name="X" type="float"/>
- <param name="Y" type="float"/>
- <param name="Z" type="float"/>
- </accessor>
- </technique_common>
- </source>
- <vertices id="vertices">
- <input semantic="POSITION" source="#positions"/>
- </vertices>
- <polylist count="6" material="MaterialSG">
- <input offset="0" semantic="VERTEX" source="#vertices"/>
- <input offset="1" semantic="NORMAL" source="#normals"/>
- <vcount>4 4 4 4 4 4</vcount>
- <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>
- </polylist>
- </mesh>
- </geometry>
- </library_geometries>
- <library_visual_scenes>
- <visual_scene id="VisualSceneNode" name="untitled">
- <node id="Mesh" name="Mesh">
- <rotate>0.0 0.0 1.0 0.0</rotate>
- <rotate>0.0 1.0 0.0 0.0</rotate>
- <rotate>1.0 0.0 0.0 0.0</rotate>
- <instance_geometry url="#mesh">
- <bind_material>
- <technique_common>
- <instance_material symbol="MaterialSG" target="#Material"/>
- </technique_common>
- </bind_material>
- </instance_geometry>
- </node>
- </visual_scene>
- </library_visual_scenes>
- <scene>
- <instance_visual_scene url="#VisualSceneNode"/>
- </scene>
- </COLLADA>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement