cube_xmlspecialchars.dae 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?xml version="1.0"?>
  2. <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
  3. <asset>
  4. <contributor>
  5. <author>alorino</author>
  6. <authoring_tool>Maya 7.0 | ColladaMaya v2.01 Jun 9 2006 at 16:08:19 | FCollada v1.11</authoring_tool>
  7. <comments>Collada Maya Export Options: bakeTransforms=0;exportPolygonMeshes=1;bakeLighting=0;isSampling=0;
  8. curveConstrainSampling=0;exportCameraAsLookat=0;
  9. exportLights=1;exportCameras=1;exportJointsAndSkin=1;
  10. exportAnimations=1;exportTriangles=0;exportInvisibleNodes=0;
  11. exportNormals=1;exportTexCoords=1;exportVertexColors=1;exportTangents=0;
  12. exportTexTangents=0;exportConstraints=0;exportPhysics=0;exportXRefs=1;
  13. dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>
  14. <copyright>
  15. Copyright 2006 Sony Computer Entertainment Inc.
  16. Licensed under the SCEA Shared Source License, Version 1.0 (the
  17. &quot;License&quot;); you may not use this file except in compliance with the
  18. License. You may obtain a copy of the License at:
  19. http://research.scea.com/scea_shared_source_license.html
  20. Unless required by applicable law or agreed to in writing, software
  21. distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
  22. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. See the License for the specific language governing permissions and
  24. limitations under the License.
  25. </copyright>
  26. </contributor>
  27. <created>2006-06-21T21:23:22Z</created>
  28. <modified>2006-06-21T21:23:22Z</modified>
  29. <unit meter="0.01" name="centimeter"/>
  30. <up_axis>Y_UP</up_axis>
  31. </asset>
  32. <library_cameras>
  33. <camera id="PerspCamera" name="PerspCamera">
  34. <optics>
  35. <technique_common>
  36. <perspective>
  37. <yfov>37.8493</yfov>
  38. <aspect_ratio>1</aspect_ratio>
  39. <znear>10</znear>
  40. <zfar>1000</zfar>
  41. </perspective>
  42. </technique_common>
  43. </optics>
  44. </camera>
  45. <camera id="testCameraShape" name="testCameraShape">
  46. <optics>
  47. <technique_common>
  48. <perspective>
  49. <yfov>37.8501</yfov>
  50. <aspect_ratio>1</aspect_ratio>
  51. <znear>0.01</znear>
  52. <zfar>1000</zfar>
  53. </perspective>
  54. </technique_common>
  55. </optics>
  56. </camera>
  57. </library_cameras>
  58. <library_lights>
  59. <light id="light-lib" name="light">
  60. <technique_common>
  61. <point>
  62. <color>1 1 1</color>
  63. <constant_attenuation>1</constant_attenuation>
  64. <linear_attenuation>0</linear_attenuation>
  65. <quadratic_attenuation>0</quadratic_attenuation>
  66. </point>
  67. </technique_common>
  68. <technique profile="MAX3D">
  69. <intensity>1.000000</intensity>
  70. </technique>
  71. </light>
  72. <light id="pointLightShape1-lib" name="pointLightShape1">
  73. <technique_common>
  74. <point>
  75. <color>1 1 1</color>
  76. <constant_attenuation>1</constant_attenuation>
  77. <linear_attenuation>0</linear_attenuation>
  78. <quadratic_attenuation>0</quadratic_attenuation>
  79. </point>
  80. </technique_common>
  81. </light>
  82. </library_lights>
  83. <library_materials>
  84. <material id="Blue" name="Blue">
  85. <instance_effect url="#Blue-fx"/>
  86. </material>
  87. </library_materials>
  88. <library_effects>
  89. <effect id="Blue-fx">
  90. <profile_COMMON>
  91. <technique sid="common">
  92. <phong>
  93. <emission>
  94. <color>0 0 0 1</color>
  95. </emission>
  96. <ambient>
  97. <color>0 0 0 1</color>
  98. </ambient>
  99. <diffuse>
  100. <color>0.137255 0.403922 0.870588 1</color>
  101. </diffuse>
  102. <specular>
  103. <color>0.5 0.5 0.5 1</color>
  104. </specular>
  105. <shininess>
  106. <float>16</float>
  107. </shininess>
  108. <reflective>
  109. <color>0 0 0 1</color>
  110. </reflective>
  111. <reflectivity>
  112. <float>0.5</float>
  113. </reflectivity>
  114. <transparent>
  115. <color>0 0 0 1</color>
  116. </transparent>
  117. <transparency>
  118. <float>1</float>
  119. </transparency>
  120. <index_of_refraction>
  121. <float>0</float>
  122. </index_of_refraction>
  123. </phong>
  124. </technique>
  125. </profile_COMMON>
  126. </effect>
  127. </library_effects>
  128. <library_geometries>
  129. <geometry id="&quot;&amp;&lt;box-lib&gt;&amp;&quot;" name="&quot;&amp;&lt;box&gt;&amp;&quot;">
  130. <mesh>
  131. <source id="&quot;&amp;&lt;box-lib-positions&gt;&amp;&quot;" name="position">
  132. <float_array id="box-lib-positions-array" count="24">-50 50 50 50 50 50 -50 -50 50 50 -50 50 -50 50 -50 50 50 -50 -50 -50 -50 50 -50 -50</float_array>
  133. <technique_common>
  134. <accessor count="8" offset="0" source="#box-lib-positions-array" stride="3">
  135. <param name="X" type="float"></param>
  136. <param name="Y" type="float"></param>
  137. <param name="Z" type="float"></param>
  138. </accessor>
  139. </technique_common>
  140. </source>
  141. <source id="&quot;&amp;&lt;box-lib-normals&gt;&amp;&quot;" name="normal">
  142. <float_array id="box-lib-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 -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 0 0 -1 0 0 -1 0 0 -1 0 0 -1</float_array>
  143. <technique_common>
  144. <accessor count="24" offset="0" source="#box-lib-normals-array" stride="3">
  145. <param name="X" type="float"></param>
  146. <param name="Y" type="float"></param>
  147. <param name="Z" type="float"></param>
  148. </accessor>
  149. </technique_common>
  150. </source>
  151. <vertices id="&quot;&amp;&lt;box-lib-vertices&gt;&amp;&quot;">
  152. <input semantic="POSITION" source="#&quot;&amp;&lt;box-lib-positions&gt;&amp;&quot;"/>
  153. </vertices>
  154. <polylist count="6" material="BlueSG">
  155. <input offset="0" semantic="VERTEX" source="#&quot;&amp;&lt;box-lib-vertices&gt;&amp;&quot;"/>
  156. <input offset="1" semantic="NORMAL" source="#&quot;&amp;&lt;box-lib-normals&gt;&amp;&quot;"/>
  157. <vcount>4 4 4 4 4 4</vcount>
  158. <p>0 0 2 1 3 2 1 3 0 4 1 5 5 6 4 7 6 8 7 9 3 10 2 11 0 12 4 13 6 14 2 15 3 16 7 17 5 18 1 19 5 20 7 21 6 22 4 23</p>
  159. </polylist>
  160. </mesh>
  161. </geometry>
  162. </library_geometries>
  163. <library_visual_scenes>
  164. <visual_scene id="&quot;&amp;&lt;VisualSceneNode&gt;&amp;&quot;" name="untitled">
  165. <node id="Camera" name="Camera">
  166. <translate sid="translate">-427.749 333.855 655.017</translate>
  167. <rotate sid="rotateY">0 1 0 -33</rotate>
  168. <rotate sid="rotateX">1 0 0 -22.1954</rotate>
  169. <rotate sid="rotateZ">0 0 1 0</rotate>
  170. <instance_camera url="#PerspCamera"/>
  171. </node>
  172. <node id="Light" name="Light">
  173. <translate sid="translate">-500 1000 400</translate>
  174. <rotate sid="rotateZ">0 0 1 0</rotate>
  175. <rotate sid="rotateY">0 1 0 0</rotate>
  176. <rotate sid="rotateX">1 0 0 0</rotate>
  177. <instance_light url="#light-lib"/>
  178. </node>
  179. <node id="Box" name="&quot;&amp;&lt;Box&gt;&amp;&quot;">
  180. <rotate sid="rotateZ">0 0 1 0</rotate>
  181. <rotate sid="rotateY">0 1 0 0</rotate>
  182. <rotate sid="rotateX">1 0 0 0</rotate>
  183. <instance_geometry url="#&quot;&amp;&lt;box-lib&gt;&amp;&quot;">
  184. <bind_material>
  185. <technique_common>
  186. <instance_material symbol="BlueSG" target="#Blue"/>
  187. </technique_common>
  188. </bind_material>
  189. </instance_geometry>
  190. </node>
  191. <node id="testCamera" name="testCamera">
  192. <translate sid="translate">-427.749 333.855 655.017</translate>
  193. <rotate sid="rotateY">0 1 0 -33</rotate>
  194. <rotate sid="rotateX">1 0 0 -22.1954</rotate>
  195. <rotate sid="rotateZ">0 0 1 0</rotate>
  196. <instance_camera url="#testCameraShape"/>
  197. </node>
  198. <node id="pointLight1" name="pointLight1">
  199. <translate sid="translate">3 4 10</translate>
  200. <rotate sid="rotateZ">0 0 1 0</rotate>
  201. <rotate sid="rotateY">0 1 0 0</rotate>
  202. <rotate sid="rotateX">1 0 0 0</rotate>
  203. <instance_light url="#pointLightShape1-lib"/>
  204. </node>
  205. </visual_scene>
  206. </library_visual_scenes>
  207. <scene>
  208. <instance_visual_scene url="#&quot;&amp;&lt;VisualSceneNode&gt;&amp;&quot;"/>
  209. </scene>
  210. </COLLADA>