mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 17:43:44 +00:00
186 lines
7 KiB
Text
186 lines
7 KiB
Text
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
|
||
|
|
<asset>
|
||
|
|
<contributor>
|
||
|
|
<author>Matt</author>
|
||
|
|
<authoring_tool>3dsMax 10 - Feeling ColladaMax v3.05B.</authoring_tool>
|
||
|
|
<comments>ColladaMax Export Options: ExportNormals=1;ExportEPolyAsTriangles=1;ExportXRefs=1;ExportSelected=0;ExportTangents=0;ExportAnimations=0;SampleAnim=1;ExportAnimClip=1;BakeMatrices=1;ExportRelativePaths=1;AnimStart=0;AnimEnd=3.33333;</comments>
|
||
|
|
<source_data>cube.max</source_data>
|
||
|
|
</contributor>
|
||
|
|
<created>2009-09-09T07:28:49Z</created>
|
||
|
|
<modified>2009-09-09T07:28:53Z</modified>
|
||
|
|
<unit meter="1" name="meter"/>
|
||
|
|
<up_axis>Z_UP</up_axis>
|
||
|
|
</asset>
|
||
|
|
<library_images>
|
||
|
|
<image id="grid.dds" name="grid_dds">
|
||
|
|
<init_from>./grid.dds</init_from>
|
||
|
|
</image>
|
||
|
|
</library_images>
|
||
|
|
<library_materials>
|
||
|
|
<material id="GridMaterial" name="GridMaterial">
|
||
|
|
<instance_effect url="#GridMaterial-fx"/>
|
||
|
|
</material>
|
||
|
|
</library_materials>
|
||
|
|
<library_effects>
|
||
|
|
<effect id="GridMaterial-fx" name="GridMaterial">
|
||
|
|
<profile_COMMON>
|
||
|
|
<newparam sid="grid_dds-surface">
|
||
|
|
<surface type="2D">
|
||
|
|
<init_from>grid.dds</init_from>
|
||
|
|
<format>A8R8G8B8</format>
|
||
|
|
</surface>
|
||
|
|
</newparam>
|
||
|
|
<newparam sid="grid_dds-sampler">
|
||
|
|
<sampler2D>
|
||
|
|
<source>grid_dds-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="grid_dds-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.415939</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</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="cube-mesh" name="cube">
|
||
|
|
<mesh>
|
||
|
|
<source id="cube-mesh-positions">
|
||
|
|
<float_array id="cube-mesh-positions-array" count="24">-0.5 -0.5 0 0.5 -0.5 0 -0.5 0.5 0 0.5 0.5 0 -0.5 -0.5 1 0.5 -0.5 1 -0.5 0.5 1 0.5 0.5 1</float_array>
|
||
|
|
<technique_common>
|
||
|
|
<accessor source="#cube-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="cube-mesh-normals">
|
||
|
|
<float_array id="cube-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="#cube-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="cube-mesh-map-channel1">
|
||
|
|
<float_array id="cube-mesh-map-channel1-array" count="36">0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 1 0 1 1 0</float_array>
|
||
|
|
<technique_common>
|
||
|
|
<accessor source="#cube-mesh-map-channel1-array" count="12" stride="3">
|
||
|
|
<param name="S" type="float"/>
|
||
|
|
<param name="T" type="float"/>
|
||
|
|
<param name="P" type="float"/>
|
||
|
|
</accessor>
|
||
|
|
</technique_common>
|
||
|
|
</source>
|
||
|
|
<vertices id="cube-mesh-vertices">
|
||
|
|
<input semantic="POSITION" source="#cube-mesh-positions"/>
|
||
|
|
</vertices>
|
||
|
|
<triangles material="GridMaterial" count="12">
|
||
|
|
<input semantic="VERTEX" source="#cube-mesh-vertices" offset="0"/>
|
||
|
|
<input semantic="NORMAL" source="#cube-mesh-normals" offset="1"/>
|
||
|
|
<input semantic="TEXCOORD" source="#cube-mesh-map-channel1" offset="2" set="1"/>
|
||
|
|
<p>0 0 9 2 1 11 3 2 10 3 2 10 1 3 8 0 0 9 4 4 8 5 5 9 7 6 11 7 6 11 6 7 10 4 4 8 0 8 4 1 9 5 5 10 7 5 10 7 4 11 6 0 8 4 1 12 0 3 13 1 7 14 3 7 14 3 5 15 2 1 12 0 3 16 4 2 17 5 6 18 7 6 18 7 7 19 6 3 16 4 2 20 0 0 21 1 4 22 3 4 22 3 6 23 2 2 20 0</p>
|
||
|
|
</triangles>
|
||
|
|
</mesh>
|
||
|
|
</geometry>
|
||
|
|
</library_geometries>
|
||
|
|
<library_visual_scenes>
|
||
|
|
<visual_scene id="cube.max" name="cube_max">
|
||
|
|
<node id="cube-node" name="cube" type="NODE">
|
||
|
|
<matrix>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
|
||
|
|
<instance_geometry url="#cube-mesh">
|
||
|
|
<bind_material>
|
||
|
|
<technique_common>
|
||
|
|
<instance_material symbol="GridMaterial" target="#GridMaterial">
|
||
|
|
<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>0</start_time>
|
||
|
|
<end_time>3.33333</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>
|