polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

cube.dae (9366B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      3   <asset>
      4     <contributor>
      5       <author>Blender User</author>
      6       <authoring_tool>Blender 2.79.0</authoring_tool>
      7     </contributor>
      8     <created>2019-07-09T06:11:23</created>
      9     <modified>2019-07-09T06:11:23</modified>
     10     <unit name="meter" meter="1"/>
     11     <up_axis>Z_UP</up_axis>
     12   </asset>
     13   <library_cameras>
     14     <camera id="Camera-camera" name="Camera">
     15       <optics>
     16         <technique_common>
     17           <perspective>
     18             <xfov sid="xfov">49.13434</xfov>
     19             <aspect_ratio>1.777778</aspect_ratio>
     20             <znear sid="znear">0.1</znear>
     21             <zfar sid="zfar">100</zfar>
     22           </perspective>
     23         </technique_common>
     24       </optics>
     25       <extra>
     26         <technique profile="blender">
     27           <shiftx sid="shiftx" type="float">0</shiftx>
     28           <shifty sid="shifty" type="float">0</shifty>
     29           <YF_dofdist sid="YF_dofdist" type="float">0</YF_dofdist>
     30         </technique>
     31       </extra>
     32     </camera>
     33   </library_cameras>
     34   <library_lights>
     35     <light id="Lamp-light" name="Lamp">
     36       <technique_common>
     37         <point>
     38           <color sid="color">1 1 1</color>
     39           <constant_attenuation>1</constant_attenuation>
     40           <linear_attenuation>0</linear_attenuation>
     41           <quadratic_attenuation>0.00111109</quadratic_attenuation>
     42         </point>
     43       </technique_common>
     44       <extra>
     45         <technique profile="blender">
     46           <type sid="type" type="int">0</type>
     47           <flag sid="flag" type="int">0</flag>
     48           <mode sid="mode" type="int">8192</mode>
     49           <gamma sid="blender_gamma" type="float">1</gamma>
     50           <red sid="red" type="float">1</red>
     51           <green sid="green" type="float">1</green>
     52           <blue sid="blue" type="float">1</blue>
     53           <shadow_r sid="blender_shadow_r" type="float">0</shadow_r>
     54           <shadow_g sid="blender_shadow_g" type="float">0</shadow_g>
     55           <shadow_b sid="blender_shadow_b" type="float">0</shadow_b>
     56           <energy sid="blender_energy" type="float">1</energy>
     57           <dist sid="blender_dist" type="float">29.99998</dist>
     58           <spotsize sid="spotsize" type="float">75</spotsize>
     59           <spotblend sid="spotblend" type="float">0.15</spotblend>
     60           <halo_intensity sid="blnder_halo_intensity" type="float">1</halo_intensity>
     61           <att1 sid="att1" type="float">0</att1>
     62           <att2 sid="att2" type="float">1</att2>
     63           <falloff_type sid="falloff_type" type="int">2</falloff_type>
     64           <clipsta sid="clipsta" type="float">1.000799</clipsta>
     65           <clipend sid="clipend" type="float">30.002</clipend>
     66           <bias sid="bias" type="float">1</bias>
     67           <soft sid="soft" type="float">3</soft>
     68           <compressthresh sid="compressthresh" type="float">0.04999995</compressthresh>
     69           <bufsize sid="bufsize" type="int">2880</bufsize>
     70           <samp sid="samp" type="int">3</samp>
     71           <buffers sid="buffers" type="int">1</buffers>
     72           <filtertype sid="filtertype" type="int">0</filtertype>
     73           <bufflag sid="bufflag" type="int">0</bufflag>
     74           <buftype sid="buftype" type="int">2</buftype>
     75           <ray_samp sid="ray_samp" type="int">1</ray_samp>
     76           <ray_sampy sid="ray_sampy" type="int">1</ray_sampy>
     77           <ray_sampz sid="ray_sampz" type="int">1</ray_sampz>
     78           <ray_samp_type sid="ray_samp_type" type="int">0</ray_samp_type>
     79           <area_shape sid="area_shape" type="int">1</area_shape>
     80           <area_size sid="area_size" type="float">0.1</area_size>
     81           <area_sizey sid="area_sizey" type="float">0.1</area_sizey>
     82           <area_sizez sid="area_sizez" type="float">1</area_sizez>
     83           <adapt_thresh sid="adapt_thresh" type="float">0.000999987</adapt_thresh>
     84           <ray_samp_method sid="ray_samp_method" type="int">1</ray_samp_method>
     85           <shadhalostep sid="shadhalostep" type="int">0</shadhalostep>
     86           <sun_effect_type sid="sun_effect_type" type="int">0</sun_effect_type>
     87           <skyblendtype sid="skyblendtype" type="int">1</skyblendtype>
     88           <horizon_brightness sid="horizon_brightness" type="float">1</horizon_brightness>
     89           <spread sid="spread" type="float">1</spread>
     90           <sun_brightness sid="sun_brightness" type="float">1</sun_brightness>
     91           <sun_size sid="sun_size" type="float">1</sun_size>
     92           <backscattered_light sid="backscattered_light" type="float">1</backscattered_light>
     93           <sun_intensity sid="sun_intensity" type="float">1</sun_intensity>
     94           <atm_turbidity sid="atm_turbidity" type="float">2</atm_turbidity>
     95           <atm_extinction_factor sid="atm_extinction_factor" type="float">1</atm_extinction_factor>
     96           <atm_distance_factor sid="atm_distance_factor" type="float">1</atm_distance_factor>
     97           <skyblendfac sid="skyblendfac" type="float">1</skyblendfac>
     98           <sky_exposure sid="sky_exposure" type="float">1</sky_exposure>
     99           <sky_colorspace sid="sky_colorspace" type="int">0</sky_colorspace>
    100         </technique>
    101       </extra>
    102     </light>
    103   </library_lights>
    104   <library_images/>
    105   <library_geometries>
    106     <geometry id="Cube_001-mesh" name="Cube.001">
    107       <mesh>
    108         <source id="Cube_001-mesh-positions">
    109           <float_array id="Cube_001-mesh-positions-array" count="24">-1 -1 0 -1 -1 2 -1 1 0 -1 1 2 1 -1 0 1 -1 2 1 1 0 1 1 2</float_array>
    110           <technique_common>
    111             <accessor source="#Cube_001-mesh-positions-array" count="8" stride="3">
    112               <param name="X" type="float"/>
    113               <param name="Y" type="float"/>
    114               <param name="Z" type="float"/>
    115             </accessor>
    116           </technique_common>
    117         </source>
    118         <source id="Cube_001-mesh-normals">
    119           <float_array id="Cube_001-mesh-normals-array" count="18">-1 0 0 0 1 0 1 0 0 0 -1 0 0 0 -1 0 0 1</float_array>
    120           <technique_common>
    121             <accessor source="#Cube_001-mesh-normals-array" count="6" stride="3">
    122               <param name="X" type="float"/>
    123               <param name="Y" type="float"/>
    124               <param name="Z" type="float"/>
    125             </accessor>
    126           </technique_common>
    127         </source>
    128         <source id="Cube_001-mesh-colors-Col" name="Col">
    129           <float_array id="Cube_001-mesh-colors-Col-array" count="108">1 0.6901961 0.4823529 1 0.2392157 0.8941177 0.3921568 0.6196079 1 1 0.9450981 0.7137255 0.9764706 0.1333333 0.8941177 1 0.2901961 0.7764706 1 0.5686275 0.9450981 1 0.2156863 0.9019608 0.5176471 0.8470588 0.6313726 0.6235294 0.5960785 0.6901961 0.3921568 0.6196079 1 0.9607843 0.1921569 0.9098039 0.5176471 0.8470588 0.6313726 1 0.4 0.654902 0.372549 0.9960784 0.5490196 1 0.6862745 0.5529412 0.6352941 0.6039216 0.6901961 0.8039216 0.5215687 0.9450981 1 0.6901961 0.4823529 0.9882353 0.5921569 0.3294118 1 0.2392157 0.8941177 1 0.9450981 0.7137255 0.8039216 0.9803922 1 0.9764706 0.1333333 0.8941177 1 0.5686275 0.9450981 1 0.6039216 0.9490196 1 0.2156863 0.9019608 0.6235294 0.5960785 0.6901961 1 0.6901961 0.4823529 0.3921568 0.6196079 1 0.5176471 0.8470588 0.6313726 1 0.1607843 0.8980392 1 0.4 0.654902 1 0.6862745 0.5529412 1 0.7137255 0.4823529 0.6352941 0.6039216 0.6901961</float_array>
    130           <technique_common>
    131             <accessor source="#Cube_001-mesh-colors-Col-array" count="36" stride="3">
    132               <param name="R" type="float"/>
    133               <param name="G" type="float"/>
    134               <param name="B" type="float"/>
    135             </accessor>
    136           </technique_common>
    137         </source>
    138         <vertices id="Cube_001-mesh-vertices">
    139           <input semantic="POSITION" source="#Cube_001-mesh-positions"/>
    140         </vertices>
    141         <triangles count="12">
    142           <input semantic="VERTEX" source="#Cube_001-mesh-vertices" offset="0"/>
    143           <input semantic="NORMAL" source="#Cube_001-mesh-normals" offset="1"/>
    144           <input semantic="COLOR" source="#Cube_001-mesh-colors-Col" offset="2" set="0"/>
    145           <p>1 0 0 2 0 1 0 0 2 3 1 3 6 1 4 2 1 5 7 2 6 4 2 7 6 2 8 5 3 9 0 3 10 4 3 11 6 4 12 0 4 13 2 4 14 3 5 15 5 5 16 7 5 17 1 0 18 3 0 19 2 0 20 3 1 21 7 1 22 6 1 23 7 2 24 5 2 25 4 2 26 5 3 27 1 3 28 0 3 29 6 4 30 4 4 31 0 4 32 3 5 33 1 5 34 5 5 35</p>
    146         </triangles>
    147       </mesh>
    148     </geometry>
    149   </library_geometries>
    150   <library_controllers/>
    151   <library_visual_scenes>
    152     <visual_scene id="Scene" name="Scene">
    153       <node id="Camera" name="Camera" type="NODE">
    154         <matrix sid="transform">0.6859207 -0.3240135 0.6515582 7.481132 0.7276763 0.3054208 -0.6141704 -6.50764 0 0.8953956 0.4452714 5.343665 0 0 0 1</matrix>
    155         <instance_camera url="#Camera-camera"/>
    156       </node>
    157       <node id="Lamp" name="Lamp" type="NODE">
    158         <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>
    159         <instance_light url="#Lamp-light"/>
    160       </node>
    161       <node id="Cube" name="Cube" type="NODE">
    162         <matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
    163         <instance_geometry url="#Cube_001-mesh" name="Cube"/>
    164       </node>
    165     </visual_scene>
    166   </library_visual_scenes>
    167   <scene>
    168     <instance_visual_scene url="#Scene"/>
    169   </scene>
    170 </COLLADA>