| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316 |
- <?xml version="1.0" encoding="utf-8"?>
- <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
- <asset>
- <contributor>
- <author>kcunney</author>
- <authoring_tool>OpenCOLLADA2011 x64</authoring_tool>
- <comments>
- ColladaMaya export options:
- bakeTransforms=1;relativePaths=0;copyTextures=0;exportTriangles=1;exportCgfxFileReferences=0;
- isSampling=0;curveConstrainSampling=0;removeStaticCurves=1;exportPolygonMeshes=1;exportLights=1;
- exportCameras=1;exportJointsAndSkin=1;exportAnimations=1;exportInvisibleNodes=0;exportDefaultCameras=0;
- exportTexCoords=1;exportNormals=1;exportNormalsPerVertex=1;exportVertexColors=1;exportVertexColorsPerVertex=1;
- exportTexTangents=0;exportTangents=0;exportReferencedMaterials=0;exportMaterialsOnly=0;
- exportXRefs=1;dereferenceXRefs=1;exportCameraAsLookat=0;cameraXFov=0;cameraYFov=1;doublePrecision=0
- </comments>
- <source_data>file:///C:/code/git/GamePlay/gameplay-samples/sample05-lua/res/box.mb</source_data>
- </contributor>
- <created>2012-07-13T18:33:54</created>
- <modified>2012-07-13T18:33:54</modified>
- <unit name="centimeter" meter="0.01"/>
- <up_axis>Y_UP</up_axis>
- </asset>
- <library_lights>
- <light id="directionalLightShape1-lib" name="directionalLightShape1">
- <technique_common>
- <directional>
- <color>1 1 1</color>
- </directional>
- </technique_common>
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <originalMayaNodeId>directionalLightShape1</originalMayaNodeId>
- </technique>
- </extra>
- </light>
- </library_lights>
- <library_cameras>
- <camera id="cameraShape1" name="cameraShape1">
- <optics>
- <technique_common>
- <perspective>
- <yfov>45</yfov>
- <aspect_ratio>1.706667</aspect_ratio>
- <znear>1</znear>
- <zfar>10000</zfar>
- </perspective>
- </technique_common>
- </optics>
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <film_fit>1</film_fit>
- <film_fit_offset>0</film_fit_offset>
- <film_offsetX>0</film_offsetX>
- <film_offsetY>0</film_offsetY>
- <horizontal_aperture>4.095993</horizontal_aperture>
- <lens_squeeze>1</lens_squeeze>
- <originalMayaNodeId>cameraShape1</originalMayaNodeId>
- <vertical_aperture>2.399995</vertical_aperture>
- </technique>
- </extra>
- </camera>
- </library_cameras>
- <library_materials>
- <material id="lambert1" name="lambert1">
- <instance_effect url="#lambert1-fx"/>
- </material>
- <material id="blinn1" name="blinn1">
- <instance_effect url="#blinn1-fx"/>
- </material>
- </library_materials>
- <library_effects>
- <effect id="blinn1-fx">
- <profile_COMMON>
- <newparam sid="file2-surface">
- <surface type="2D">
- <init_from>file2</init_from>
- </surface>
- </newparam>
- <newparam sid="file2-sampler">
- <sampler2D>
- <source>file2-surface</source>
- </sampler2D>
- </newparam>
- <technique sid="common">
- <blinn>
- <emission>
- <color>0 0 0 1</color>
- </emission>
- <ambient>
- <color>0 0 0 1</color>
- </ambient>
- <diffuse>
- <texture texture="file2-sampler" texcoord="TEX0">
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <blend_mode>NONE</blend_mode>
- <coverageU>1</coverageU>
- <coverageV>1</coverageV>
- <fast>0</fast>
- <mirrorU>0</mirrorU>
- <mirrorV>0</mirrorV>
- <noiseU>0</noiseU>
- <noiseV>0</noiseV>
- <offsetU>0</offsetU>
- <offsetV>0</offsetV>
- <repeatU>1</repeatU>
- <repeatV>1</repeatV>
- <rotateFrame>0</rotateFrame>
- <rotateUV>0</rotateUV>
- <stagger>0</stagger>
- <translateFrameU>0</translateFrameU>
- <translateFrameV>0</translateFrameV>
- <wrapU>1</wrapU>
- <wrapV>1</wrapV>
- </technique>
- </extra>
- </texture>
- </diffuse>
- <specular>
- <color>0 0 0 1</color>
- </specular>
- <shininess>
- <float>0.3</float>
- </shininess>
- <reflective>
- <color>0 0 0 1</color>
- </reflective>
- <reflectivity>
- <float>0.5</float>
- </reflectivity>
- <transparent opaque="RGB_ZERO">
- <color>0 0 0 1</color>
- </transparent>
- <transparency>
- <float>1</float>
- </transparency>
- <index_of_refraction>
- <float>1</float>
- </index_of_refraction>
- </blinn>
- </technique>
- </profile_COMMON>
- </effect>
- <effect id="lambert1-fx">
- <profile_COMMON>
- <newparam sid="file3-surface">
- <surface type="2D">
- <init_from>file3</init_from>
- </surface>
- </newparam>
- <newparam sid="file3-sampler">
- <sampler2D>
- <source>file3-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="file3-sampler" texcoord="TEX0">
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <blend_mode>NONE</blend_mode>
- <coverageU>1</coverageU>
- <coverageV>1</coverageV>
- <fast>0</fast>
- <mirrorU>0</mirrorU>
- <mirrorV>0</mirrorV>
- <noiseU>0</noiseU>
- <noiseV>0</noiseV>
- <offsetU>0</offsetU>
- <offsetV>0</offsetV>
- <repeatU>1</repeatU>
- <repeatV>1</repeatV>
- <rotateFrame>0</rotateFrame>
- <rotateUV>0</rotateUV>
- <stagger>0</stagger>
- <translateFrameU>0</translateFrameU>
- <translateFrameV>0</translateFrameV>
- <wrapU>1</wrapU>
- <wrapV>1</wrapV>
- </technique>
- </extra>
- </texture>
- </diffuse>
- <transparent opaque="RGB_ZERO">
- <color>0 0 0 1</color>
- </transparent>
- <transparency>
- <float>1</float>
- </transparency>
- </lambert>
- </technique>
- </profile_COMMON>
- </effect>
- </library_effects>
- <library_images>
- <image id="file3" name="file3">
- <init_from>file:///C:/code/git/GamePlay/gameplay-samples/sample05-lua/res/box-diffuse.png</init_from>
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <dgnode_type>kFile</dgnode_type>
- <image_sequence>0</image_sequence>
- <originalMayaNodeId>file3</originalMayaNodeId>
- </technique>
- </extra>
- </image>
- <image id="file2" name="file2">
- <init_from>file:///C:/git/gameplay-public/gameplay-samples/sample00-mesh/res/duck-diffuse.png</init_from>
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <dgnode_type>kFile</dgnode_type>
- <image_sequence>0</image_sequence>
- <originalMayaNodeId>file2</originalMayaNodeId>
- </technique>
- </extra>
- </image>
- </library_images>
- <library_geometries>
- <geometry id="boxShape" name="boxShape">
- <mesh>
- <source id="boxShape-positions" name="boxShape-positions">
- <float_array id="boxShape-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 source="#boxShape-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="boxShape-normals" name="boxShape-normals">
- <float_array id="boxShape-normals-array" count="72">0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 0 0 -1 0 -1 0 0 -1 0 0 -1 0 0 -1 0 1 0 0 1 0 0 1 0 0 1 0 0 -1 0 0 -1 0 0 -1 0 0 -1 0 0</float_array>
- <technique_common>
- <accessor source="#boxShape-normals-array" count="24" stride="3">
- <param name="X" type="float"/>
- <param name="Y" type="float"/>
- <param name="Z" type="float"/>
- </accessor>
- </technique_common>
- </source>
- <source id="boxShape-map1" name="boxShape-map1">
- <float_array id="boxShape-map1-array" count="48">0 0 1 0 0 1 1 1 0 0 1 0 0 1 1 1 0 0 1 0 0 1 1 1 0 0 1 0 0 1 1 1 0 0 1 0 0 1 1 1 0 0 1 0 0 1 1 1</float_array>
- <technique_common>
- <accessor source="#boxShape-map1-array" count="24" stride="2">
- <param name="S" type="float"/>
- <param name="T" type="float"/>
- </accessor>
- </technique_common>
- </source>
- <vertices id="boxShape-vertices" name="boxShape-vertices">
- <input semantic="POSITION" source="#boxShape-positions"/>
- </vertices>
- <triangles material="initialShadingGroup" count="12">
- <input semantic="VERTEX" source="#boxShape-vertices" offset="0"/>
- <input semantic="NORMAL" source="#boxShape-normals" offset="1"/>
- <input semantic="TEXCOORD" source="#boxShape-map1" offset="2" set="0"/>
- <p>0 0 0 1 1 1 2 3 2 2 3 2 1 1 1 3 2 3 2 4 4 3 5 5 4 7 6 4 7 6 3 5 5 5 6 7 4 8 8 5 9 9 6 11 10 6 11 10 5 9 9 7 10 11 6 12 12 7 13 13 0 15 14 0 15 14 7 13 13 1 14 15 1 16 16 7 17 17 3 19 18 3 19 18 7 17 17 5 18 19 6 20 20 0 21 21 4 23 22 4 23 22 0 21 21 2 22 23</p>
- </triangles>
- </mesh>
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <originalMayaNodeId>boxShape</originalMayaNodeId>
- <double_sided>1</double_sided>
- </technique>
- </extra>
- </geometry>
- </library_geometries>
- <library_visual_scenes>
- <visual_scene id="VisualSceneNode" name="box">
- <node id="camera1" name="camera1" type="NODE">
- <matrix sid="transform">1 0 0 0 0 0.9807853 0.1950903 1 0 -0.1950903 0.9807853 5 0 0 0 1</matrix>
- <instance_camera url="#cameraShape1"/>
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <originalMayaNodeId>camera1</originalMayaNodeId>
- </technique>
- </extra>
- </node>
- <node id="directionalLight1" name="directionalLight1" type="NODE">
- <matrix sid="transform">0.9998477 -0.01745241 0 0 0.01745241 0.9998477 0 0 0 0 1 0 0 0 0 1</matrix>
- <instance_light url="#directionalLightShape1-lib"/>
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <originalMayaNodeId>directionalLight1</originalMayaNodeId>
- </technique>
- </extra>
- </node>
- <node id="box" name="box" type="NODE">
- <matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
- <instance_geometry url="#boxShape">
- <bind_material>
- <technique_common>
- <instance_material symbol="initialShadingGroup" target="#lambert1">
- <bind_vertex_input semantic="TEX0" input_semantic="TEXCOORD" input_set="0"/>
- </instance_material>
- </technique_common>
- </bind_material>
- </instance_geometry>
- <extra>
- <technique profile="OpenCOLLADAMaya">
- <originalMayaNodeId>box</originalMayaNodeId>
- </technique>
- </extra>
- </node>
- </visual_scene>
- </library_visual_scenes>
- <scene>
- <instance_visual_scene url="#VisualSceneNode"/>
- </scene>
- </COLLADA>
|