BoxDirectionalLight.dae 7.21 KB
Newer Older
Manggar Mahardhika's avatar
Manggar Mahardhika committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
<?xml version="1.0" encoding="utf-8" ?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
    <asset>
        <contributor>
            <authoring_tool>modo 801 [Build 77509], Microsoft Windows 7 Service Pack 1 (6.1.7601 Service Pack 1)</authoring_tool>
            <comments>Plug-in: [Build 77509]; Use Absolute Path: No; Merge Reference Items: No; Save Hidden Items: No; Save Cameras: No; Save Lights: No; Save Locators: Yes; Save Triangles as Triangles: Yes; Order Vertex Maps Alphabetically: Yes; Bake Matrices: No; Save Vertex Normals: Yes; Save UV Texture Coordinates: Yes; Save Vertex Colors: No; Save Vertex Weights: No; Save Animation: Yes; Sample Animation: No; Sample Animation Start: 0; Sample Animation End: 120; Save modo Profile: No; Save Maya Profile: No; Save 3ds Max Profile: No; Formatted Arrays: No;</comments>
            <source_data>file:///C:/Users/Branden/Creative%20Cloud%20Files/03-2015%20Cesium%20Test%20Models/CesiumTexturedBoxTest.lxo</source_data>
        </contributor>
        <created>2015-03-04T16:58:00Z</created>
        <modified>2015-03-04T16:58:00Z</modified>
        <up_axis>Z_UP</up_axis>
    </asset>
    <library_images>
        <image id="Image0001" name="Image0001">
            <init_from>Cesium_Logo_Flat.png</init_from>
        </image>
    </library_images>
    <library_materials>
        <material id="Material-Texture" name="Texture">
            <instance_effect url="#Effect-Texture" />
        </material>
    </library_materials>
    <library_lights>
        <light id="ambient_light">
            <technique_common>
                <ambient>
                    <color>0 0 0</color>
                </ambient>
            </technique_common>
        </light>
        <light id="directional_light">
            <technique_common>
                <directional>
                    <color>1 1 1</color>
                </directional>
            </technique_common>
        </light>
    </library_lights>
    <library_effects>
        <effect id="Effect-Texture" name="Texture">
            <profile_COMMON>
                <newparam sid="Image0001-surface">
                    <surface type="2D">
                        <init_from>Image0001</init_from>
                        <format>A8R8G8B8</format>
                    </surface>
                </newparam>
                <newparam sid="Image0001-sampler">
                    <sampler2D>
                        <source>Image0001-surface</source>
                        <minfilter>LINEAR_MIPMAP_LINEAR</minfilter>
                        <magfilter>LINEAR</magfilter>
                    </sampler2D>
                </newparam>
                <technique sid="common">
                    <phong>
                        <diffuse>
                            <texture texture="Image0001-sampler" texcoord="Texture" />
                        </diffuse>
                        <specular>
                            <color sid="specular_effect_rgb">0.2 0.2 0.2 1</color>
                        </specular>
                        <shininess>
                            <float sid="specular_effect_rgb">256</float>
                        </shininess>
                    </phong>
                </technique>
            </profile_COMMON>
        </effect>
    </library_effects>
    <library_geometries>
        <geometry id="Geometry-mesh002" name="Mesh">
            <mesh>
                <source id="Geometry-mesh002-positions" name="positions">
                    <float_array id="Geometry-mesh002-positions-array" count="24">-0.5 -0.5 -0.5 -0.5 0.5 -0.5 0.5 0.5 -0.5 0.5 -0.5 -0.5 -0.5 -0.5 0.5 -0.5 0.5 0.5 0.5 -0.5 0.5 0.5 0.5 0.5</float_array>
                    <technique_common>
                        <accessor count="8" source="#Geometry-mesh002-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="Geometry-mesh002-normals" name="normals">
                    <float_array id="Geometry-mesh002-normals-array" count="18">0 0 1 1 0 0 0 1 0 0 -1 0 -1 0 0 0 0 -1</float_array>
                    <technique_common>
                        <accessor count="6" source="#Geometry-mesh002-normals-array" stride="3">
                            <param name="X" type="float" />
                            <param name="Y" type="float" />
                            <param name="Z" type="float" />
                        </accessor>
                    </technique_common>
                </source>
                <source id="Geometry-mesh002-Texture" name="Texture">
                    <float_array id="Geometry-mesh002-Texture-array" count="36">6 1 5 1 6 1.09011e-007 5 1.09011e-007 4 1 5 1 4 1.02033e-008 5 1.02033e-008 2 1 1 1 2 1.02033e-008 1 1.02033e-008 3 1 3 1.02033e-008 0 1 0 1.09011e-007 1 1 1 1.09011e-007</float_array>
                    <technique_common>
                        <accessor count="18" source="#Geometry-mesh002-Texture-array" stride="2">
                            <param name="S" type="float" />
                            <param name="T" type="float" />
                        </accessor>
                    </technique_common>
                </source>
                <vertices id="Geometry-mesh002-vertices">
                    <input semantic="POSITION" source="#Geometry-mesh002-positions" />
                </vertices>
                <triangles count="12" material="Material-Texture">
                    <input semantic="VERTEX" source="#Geometry-mesh002-vertices" offset="0" />
                    <input semantic="NORMAL" source="#Geometry-mesh002-normals" offset="1" />
                    <input semantic="TEXCOORD" source="#Geometry-mesh002-Texture" offset="2" set="0" />
                    <p>4 0 0 6 0 1 5 0 2 7 0 3 5 0 2 6 0 1 7 1 4 6 1 5 2 1 6 3 1 7 2 1 6 6 1 5 5 2 8 7 2 9 1 2 10 2 2 11 1 2 10 7 2 9 6 3 12 4 3 4 3 3 13 0 3 6 3 3 13 4 3 4 4 4 12 5 4 8 0 4 13 1 4 10 0 4 13 5 4 8 0 5 14 1 5 15 3 5 16 2 5 17 3 5 16 1 5 15</p>
                </triangles>
            </mesh>
        </geometry>
    </library_geometries>
    <library_visual_scenes>
        <visual_scene id="DefaultScene">
            <node id="Geometry-mesh002Node" name="Mesh" type="NODE">
                <instance_geometry url="#Geometry-mesh002">
                    <bind_material>
                        <technique_common>
                            <instance_material symbol="Material-Texture" target="#Material-Texture">
                                <bind_vertex_input semantic="Texture" input_semantic="TEXCOORD" input_set="0" />
                            </instance_material>
                        </technique_common>
                    </bind_material>
                </instance_geometry>
            </node>
            <node>
                <rotate>1 0 0 90</rotate>
                <instance_light url="#directional_light"/>
            </node>
            <node>
                <instance_light url="#ambient_light"/>
            </node>
        </visual_scene>
    </library_visual_scenes>
    <scene>
        <instance_visual_scene url="#DefaultScene" />
    </scene>
</COLLADA>