|
@@ -0,0 +1,394 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
|
|
|
+ <asset>
|
|
|
+ <contributor>
|
|
|
+ <author>JWatte</author>
|
|
|
+ <authoring_tool>3dsMax 11 - Feeling ColladaMax v3.05B.</authoring_tool>
|
|
|
+ <comments>ColladaMax Export Options: ExportNormals=1;ExportEPolyAsTriangles=1;ExportXRefs=0;ExportSelected=0;ExportTangents=0;ExportAnimations=0;SampleAnim=1;ExportAnimClip=0;BakeMatrices=0;ExportRelativePaths=1;AnimStart=1.36667;AnimEnd=2.16667;</comments>
|
|
|
+ <source_data>file:///c:/code/sourceforge/kwxport/trunkMerged/test/data/cube.max</source_data>
|
|
|
+ </contributor>
|
|
|
+ <created>2008-05-15T20:41:01Z</created>
|
|
|
+ <modified>2008-05-15T20:41:03Z</modified>
|
|
|
+ <unit meter="0.0254" name="inch"/>
|
|
|
+ <up_axis>Z_UP</up_axis>
|
|
|
+ </asset>
|
|
|
+ <library_images>
|
|
|
+ <image id="top.tga" name="top_tga">
|
|
|
+ <init_from>./../X/top.tga</init_from>
|
|
|
+ </image>
|
|
|
+ <image id="bottom.tga" name="bottom_tga">
|
|
|
+ <init_from>./../X/bottom.tga</init_from>
|
|
|
+ </image>
|
|
|
+ <image id="updown.tga" name="updown_tga">
|
|
|
+ <init_from>./../X/updown.tga</init_from>
|
|
|
+ </image>
|
|
|
+ </library_images>
|
|
|
+ <library_materials>
|
|
|
+ <material id="top" name="top">
|
|
|
+ <instance_effect url="#top-fx"/>
|
|
|
+ </material>
|
|
|
+ <material id="bottom" name="bottom">
|
|
|
+ <instance_effect url="#bottom-fx"/>
|
|
|
+ </material>
|
|
|
+ <material id="side" name="side">
|
|
|
+ <instance_effect url="#side-fx"/>
|
|
|
+ </material>
|
|
|
+ </library_materials>
|
|
|
+ <library_effects>
|
|
|
+ <effect id="top-fx" name="top">
|
|
|
+ <profile_COMMON>
|
|
|
+ <newparam sid="top_tga-surface">
|
|
|
+ <surface type="2D">
|
|
|
+ <init_from>top.tga</init_from>
|
|
|
+ <format>A8R8G8B8</format>
|
|
|
+ </surface>
|
|
|
+ </newparam>
|
|
|
+ <newparam sid="top_tga-sampler">
|
|
|
+ <sampler2D>
|
|
|
+ <source>top_tga-surface</source>
|
|
|
+ <wrap_s>WRAP</wrap_s>
|
|
|
+ <wrap_t>WRAP</wrap_t>
|
|
|
+ <minfilter>NONE</minfilter>
|
|
|
+ <magfilter>NONE</magfilter>
|
|
|
+ <mipfilter>NONE</mipfilter>
|
|
|
+ </sampler2D>
|
|
|
+ </newparam>
|
|
|
+ <technique sid="common">
|
|
|
+ <blinn>
|
|
|
+ <ambient>
|
|
|
+ <color>0.588235 0.588235 0.588235 1</color>
|
|
|
+ </ambient>
|
|
|
+ <diffuse>
|
|
|
+ <texture texture="top_tga-sampler" texcoord="CHANNEL1">
|
|
|
+ <extra>
|
|
|
+ <technique profile="MAYA">
|
|
|
+ <mirrorU>0</mirrorU>
|
|
|
+ <mirrorV>0</mirrorV>
|
|
|
+ <wrapU>1</wrapU>
|
|
|
+ <wrapV>1</wrapV>
|
|
|
+ <repeatU>1</repeatU>
|
|
|
+ <repeatV>1</repeatV>
|
|
|
+ <offsetU>0</offsetU>
|
|
|
+ <offsetV>0</offsetV>
|
|
|
+ <rotateUV>0</rotateUV>
|
|
|
+ </technique>
|
|
|
+ <technique profile="MAX3D">
|
|
|
+ <amount>1</amount>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </texture>
|
|
|
+ </diffuse>
|
|
|
+ <specular>
|
|
|
+ <color>0.9 0.9 0.9 1</color>
|
|
|
+ </specular>
|
|
|
+ <shininess>
|
|
|
+ <float>0.109283</float>
|
|
|
+ </shininess>
|
|
|
+ <reflective>
|
|
|
+ <color>0 0 0 1</color>
|
|
|
+ </reflective>
|
|
|
+ <reflectivity>
|
|
|
+ <float>1</float>
|
|
|
+ </reflectivity>
|
|
|
+ <transparent opaque="A_ONE">
|
|
|
+ <color>1 1 1 1</color>
|
|
|
+ </transparent>
|
|
|
+ <transparency>
|
|
|
+ <float>1</float>
|
|
|
+ </transparency>
|
|
|
+ </blinn>
|
|
|
+ <extra>
|
|
|
+ <technique profile="FCOLLADA">
|
|
|
+ <spec_level>
|
|
|
+ <float>0.78</float>
|
|
|
+ </spec_level>
|
|
|
+ <emission_level>
|
|
|
+ <float>0</float>
|
|
|
+ </emission_level>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </technique>
|
|
|
+ </profile_COMMON>
|
|
|
+ <extra>
|
|
|
+ <technique profile="MAX3D">
|
|
|
+ <faceted>0</faceted>
|
|
|
+ <double_sided>0</double_sided>
|
|
|
+ <wireframe>0</wireframe>
|
|
|
+ <face_map>0</face_map>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </effect>
|
|
|
+ <effect id="bottom-fx" name="bottom">
|
|
|
+ <profile_COMMON>
|
|
|
+ <newparam sid="bottom_tga-surface">
|
|
|
+ <surface type="2D">
|
|
|
+ <init_from>bottom.tga</init_from>
|
|
|
+ <format>A8R8G8B8</format>
|
|
|
+ </surface>
|
|
|
+ </newparam>
|
|
|
+ <newparam sid="bottom_tga-sampler">
|
|
|
+ <sampler2D>
|
|
|
+ <source>bottom_tga-surface</source>
|
|
|
+ <wrap_s>WRAP</wrap_s>
|
|
|
+ <wrap_t>WRAP</wrap_t>
|
|
|
+ <minfilter>NONE</minfilter>
|
|
|
+ <magfilter>NONE</magfilter>
|
|
|
+ <mipfilter>NONE</mipfilter>
|
|
|
+ </sampler2D>
|
|
|
+ </newparam>
|
|
|
+ <technique sid="common">
|
|
|
+ <blinn>
|
|
|
+ <ambient>
|
|
|
+ <color>0.588 0.588 0.588 1</color>
|
|
|
+ </ambient>
|
|
|
+ <diffuse>
|
|
|
+ <texture texture="bottom_tga-sampler" texcoord="CHANNEL1">
|
|
|
+ <extra>
|
|
|
+ <technique profile="MAYA">
|
|
|
+ <mirrorU>0</mirrorU>
|
|
|
+ <mirrorV>0</mirrorV>
|
|
|
+ <wrapU>1</wrapU>
|
|
|
+ <wrapV>1</wrapV>
|
|
|
+ <repeatU>1</repeatU>
|
|
|
+ <repeatV>1</repeatV>
|
|
|
+ <offsetU>0</offsetU>
|
|
|
+ <offsetV>0</offsetV>
|
|
|
+ <rotateUV>0</rotateUV>
|
|
|
+ </technique>
|
|
|
+ <technique profile="MAX3D">
|
|
|
+ <amount>1</amount>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </texture>
|
|
|
+ </diffuse>
|
|
|
+ <specular>
|
|
|
+ <color>0.9 0.9 0.9 1</color>
|
|
|
+ </specular>
|
|
|
+ <shininess>
|
|
|
+ <float>0.228923</float>
|
|
|
+ </shininess>
|
|
|
+ <reflective>
|
|
|
+ <color>0 0 0 1</color>
|
|
|
+ </reflective>
|
|
|
+ <reflectivity>
|
|
|
+ <float>1</float>
|
|
|
+ </reflectivity>
|
|
|
+ <transparent opaque="A_ONE">
|
|
|
+ <color>1 1 1 1</color>
|
|
|
+ </transparent>
|
|
|
+ <transparency>
|
|
|
+ <float>1</float>
|
|
|
+ </transparency>
|
|
|
+ </blinn>
|
|
|
+ <extra>
|
|
|
+ <technique profile="FCOLLADA">
|
|
|
+ <spec_level>
|
|
|
+ <float>0.38</float>
|
|
|
+ </spec_level>
|
|
|
+ <emission_level>
|
|
|
+ <float>0</float>
|
|
|
+ </emission_level>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </technique>
|
|
|
+ </profile_COMMON>
|
|
|
+ <extra>
|
|
|
+ <technique profile="MAX3D">
|
|
|
+ <faceted>0</faceted>
|
|
|
+ <double_sided>0</double_sided>
|
|
|
+ <wireframe>0</wireframe>
|
|
|
+ <face_map>0</face_map>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </effect>
|
|
|
+ <effect id="side-fx" name="side">
|
|
|
+ <profile_COMMON>
|
|
|
+ <newparam sid="updown_tga-surface">
|
|
|
+ <surface type="2D">
|
|
|
+ <init_from>updown.tga</init_from>
|
|
|
+ <format>A8R8G8B8</format>
|
|
|
+ </surface>
|
|
|
+ </newparam>
|
|
|
+ <newparam sid="updown_tga-sampler">
|
|
|
+ <sampler2D>
|
|
|
+ <source>updown_tga-surface</source>
|
|
|
+ <wrap_s>WRAP</wrap_s>
|
|
|
+ <wrap_t>WRAP</wrap_t>
|
|
|
+ <minfilter>NONE</minfilter>
|
|
|
+ <magfilter>NONE</magfilter>
|
|
|
+ <mipfilter>NONE</mipfilter>
|
|
|
+ </sampler2D>
|
|
|
+ </newparam>
|
|
|
+ <technique sid="common">
|
|
|
+ <blinn>
|
|
|
+ <ambient>
|
|
|
+ <color>0.588 0.588 0.588 1</color>
|
|
|
+ </ambient>
|
|
|
+ <diffuse>
|
|
|
+ <texture texture="updown_tga-sampler" texcoord="CHANNEL1">
|
|
|
+ <extra>
|
|
|
+ <technique profile="MAYA">
|
|
|
+ <mirrorU>0</mirrorU>
|
|
|
+ <mirrorV>0</mirrorV>
|
|
|
+ <wrapU>1</wrapU>
|
|
|
+ <wrapV>1</wrapV>
|
|
|
+ <repeatU>1</repeatU>
|
|
|
+ <repeatV>1</repeatV>
|
|
|
+ <offsetU>0</offsetU>
|
|
|
+ <offsetV>0</offsetV>
|
|
|
+ <rotateUV>0</rotateUV>
|
|
|
+ </technique>
|
|
|
+ <technique profile="MAX3D">
|
|
|
+ <amount>1</amount>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </texture>
|
|
|
+ </diffuse>
|
|
|
+ <specular>
|
|
|
+ <color>0.9 0.9 0.9 1</color>
|
|
|
+ </specular>
|
|
|
+ <shininess>
|
|
|
+ <float>0.095535</float>
|
|
|
+ </shininess>
|
|
|
+ <reflective>
|
|
|
+ <color>0 0 0 1</color>
|
|
|
+ </reflective>
|
|
|
+ <reflectivity>
|
|
|
+ <float>1</float>
|
|
|
+ </reflectivity>
|
|
|
+ <transparent opaque="A_ONE">
|
|
|
+ <color>1 1 1 1</color>
|
|
|
+ </transparent>
|
|
|
+ <transparency>
|
|
|
+ <float>1</float>
|
|
|
+ </transparency>
|
|
|
+ </blinn>
|
|
|
+ <extra>
|
|
|
+ <technique profile="FCOLLADA">
|
|
|
+ <spec_level>
|
|
|
+ <float>0.7</float>
|
|
|
+ </spec_level>
|
|
|
+ <emission_level>
|
|
|
+ <float>0</float>
|
|
|
+ </emission_level>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </technique>
|
|
|
+ </profile_COMMON>
|
|
|
+ <extra>
|
|
|
+ <technique profile="MAX3D">
|
|
|
+ <faceted>0</faceted>
|
|
|
+ <double_sided>0</double_sided>
|
|
|
+ <wireframe>0</wireframe>
|
|
|
+ <face_map>0</face_map>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </effect>
|
|
|
+ </library_effects>
|
|
|
+ <library_geometries>
|
|
|
+ <geometry id="Box01-mesh" name="Box01">
|
|
|
+ <mesh>
|
|
|
+ <source id="Box01-mesh-positions">
|
|
|
+ <float_array id="Box01-mesh-positions-array" count="24">-19.685 -19.685 0 19.685 -19.685 0 -19.685 19.685 0 19.685 19.685 0 -19.685 -19.685 39.3701 19.685 -19.685 39.3701 -19.685 19.685 39.3701 19.685 19.685 39.3701</float_array>
|
|
|
+ <technique_common>
|
|
|
+ <accessor source="#Box01-mesh-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="Box01-mesh-normals">
|
|
|
+ <float_array id="Box01-mesh-normals-array" count="72">0 0 -1 0 0 -1 0 0 -1 0 0 -1 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 0 1 0 0 1 0 0 1 0 0 1 0 -1 0 0 -1 0 0 -1 0 0 -1 0 0</float_array>
|
|
|
+ <technique_common>
|
|
|
+ <accessor source="#Box01-mesh-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="Box01-mesh-map-channel0">
|
|
|
+ <float_array id="Box01-mesh-map-channel0-array" count="24">1 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0</float_array>
|
|
|
+ <technique_common>
|
|
|
+ <accessor source="#Box01-mesh-map-channel0-array" count="8" stride="3">
|
|
|
+ <param name="R" type="float"/>
|
|
|
+ <param name="G" type="float"/>
|
|
|
+ <param name="B" type="float"/>
|
|
|
+ </accessor>
|
|
|
+ </technique_common>
|
|
|
+ </source>
|
|
|
+ <source id="Box01-mesh-map-channel1">
|
|
|
+ <float_array id="Box01-mesh-map-channel1-array" count="48">0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 1 0 1 1 0 1 1 0 0 1 0 1 -0.000000 0 -0.000000 0.000000 0 0 0 0 1 0 0 1 1 0 0 1 0</float_array>
|
|
|
+ <technique_common>
|
|
|
+ <accessor source="#Box01-mesh-map-channel1-array" count="16" stride="3">
|
|
|
+ <param name="S" type="float"/>
|
|
|
+ <param name="T" type="float"/>
|
|
|
+ <param name="P" type="float"/>
|
|
|
+ </accessor>
|
|
|
+ </technique_common>
|
|
|
+ </source>
|
|
|
+ <vertices id="Box01-mesh-vertices">
|
|
|
+ <input semantic="POSITION" source="#Box01-mesh-positions"/>
|
|
|
+ </vertices>
|
|
|
+ <triangles material="bottom" count="2">
|
|
|
+ <input semantic="VERTEX" source="#Box01-mesh-vertices" offset="0"/>
|
|
|
+ <input semantic="NORMAL" source="#Box01-mesh-normals" offset="1"/>
|
|
|
+ <input semantic="COLOR" source="#Box01-mesh-map-channel0" offset="2" set="0"/>
|
|
|
+ <input semantic="TEXCOORD" source="#Box01-mesh-map-channel1" offset="3" set="1"/>
|
|
|
+ <p>0 0 0 9 2 1 2 11 3 2 3 10 3 2 3 10 1 3 1 8 0 0 0 9</p>
|
|
|
+ </triangles>
|
|
|
+ <triangles material="top" count="2">
|
|
|
+ <input semantic="VERTEX" source="#Box01-mesh-vertices" offset="0"/>
|
|
|
+ <input semantic="NORMAL" source="#Box01-mesh-normals" offset="1"/>
|
|
|
+ <input semantic="COLOR" source="#Box01-mesh-map-channel0" offset="2" set="0"/>
|
|
|
+ <input semantic="TEXCOORD" source="#Box01-mesh-map-channel1" offset="3" set="1"/>
|
|
|
+ <p>4 4 4 12 5 5 5 13 7 6 7 14 7 6 7 14 6 7 6 15 4 4 4 12</p>
|
|
|
+ </triangles>
|
|
|
+ <triangles material="side" count="8">
|
|
|
+ <input semantic="VERTEX" source="#Box01-mesh-vertices" offset="0"/>
|
|
|
+ <input semantic="NORMAL" source="#Box01-mesh-normals" offset="1"/>
|
|
|
+ <input semantic="COLOR" source="#Box01-mesh-map-channel0" offset="2" set="0"/>
|
|
|
+ <input semantic="TEXCOORD" source="#Box01-mesh-map-channel1" offset="3" set="1"/>
|
|
|
+ <p>0 8 0 4 1 9 1 5 5 10 5 7 5 10 5 7 4 11 4 6 0 8 0 4 1 12 1 0 3 13 3 1 7 14 7 3 7 14 7 3 5 15 5 2 1 12 1 0 3 16 3 4 2 17 2 5 6 18 6 7 6 18 6 7 7 19 7 6 3 16 3 4 2 20 2 0 0 21 0 1 4 22 4 3 4 22 4 3 6 23 6 2 2 20 2 0</p>
|
|
|
+ </triangles>
|
|
|
+ </mesh>
|
|
|
+ </geometry>
|
|
|
+ </library_geometries>
|
|
|
+ <library_visual_scenes>
|
|
|
+ <visual_scene id="cube.max" name="cube_max">
|
|
|
+ <node id="Box01-node" name="Box01" type="NODE">
|
|
|
+ <translate>0 0 -19.685</translate>
|
|
|
+ <instance_geometry url="#Box01-mesh">
|
|
|
+ <bind_material>
|
|
|
+ <technique_common>
|
|
|
+ <instance_material symbol="bottom" target="#bottom">
|
|
|
+ <bind_vertex_input semantic="CHANNEL1" input_semantic="TEXCOORD" input_set="1"/>
|
|
|
+ </instance_material>
|
|
|
+ <instance_material symbol="top" target="#top">
|
|
|
+ <bind_vertex_input semantic="CHANNEL1" input_semantic="TEXCOORD" input_set="1"/>
|
|
|
+ </instance_material>
|
|
|
+ <instance_material symbol="side" target="#side">
|
|
|
+ <bind_vertex_input semantic="CHANNEL1" input_semantic="TEXCOORD" input_set="1"/>
|
|
|
+ </instance_material>
|
|
|
+ </technique_common>
|
|
|
+ </bind_material>
|
|
|
+ </instance_geometry>
|
|
|
+ </node>
|
|
|
+ <extra>
|
|
|
+ <technique profile="FCOLLADA">
|
|
|
+ <start_time>1.36667</start_time>
|
|
|
+ <end_time>2.16667</end_time>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ <extra>
|
|
|
+ <technique profile="MAX3D">
|
|
|
+ <frame_rate>30</frame_rate>
|
|
|
+ </technique>
|
|
|
+ </extra>
|
|
|
+ </visual_scene>
|
|
|
+ </library_visual_scenes>
|
|
|
+ <scene>
|
|
|
+ <instance_visual_scene url="#cube.max"/>
|
|
|
+ </scene>
|
|
|
+</COLLADA>
|