/
stud_22-365
/
GLXEngine
Обзор
Документация
Войти
/
stud_22-365
/
GLXEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Assets/ModelExt/duck.dae
184 строки
322 KB
GLScene
Upgraded examples for c++ builder
04 янв 2023, 14:52
04 янв 2023, 14:52
aa09793
Код
Авторство
О чём код?
<?xml version="1.0"?> <!-- Copyright 2006 Sony Computer Entertainment Inc. Licensed under the SCEA Shared Source License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://research.scea.com/scea_shared_source_license.html Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1"> <asset> <contributor> <author>gcorson</author> <authoring_tool>Maya 7.0 | ColladaMaya v2.03b Jul 27 2006 at 18:43:34 | FCollada v1.13</authoring_tool> <comments>Collada Maya Export Options: bakeTransforms=0;exportPolygonMeshes=1;bakeLighting=0;isSampling=0; curveConstrainSampling=0;exportCameraAsLookat=0; exportLights=1;exportCameras=1;exportJointsAndSkin=1; exportAnimations=1;exportTriangles=0;exportInvisibleNodes=0; exportNormals=1;exportTexCoords=1;exportVertexColors=1;exportTangents=0; exportTexTangents=0;exportConstraints=1;exportPhysics=1;exportXRefs=1; dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments> <source_data>file:///C:/Documents%20and%20Settings/gcorson/My%20Documents/maya/projects/default/untitled</source_data> </contributor> <created>2006-08-23T22:29:59Z</created> <modified>2006-08-23T22:30:00Z</modified> <unit meter="0.01" name="centimeter"/> <up_axis>Y_UP</up_axis> </asset> <library_physics_scenes> <physics_scene id="MayaNativePhysicsScene"> <technique_common> <gravity>0 -980 0 </gravity> <time_step>0.083</time_step> </technique_common> </physics_scene> </library_physics_scenes> <library_images> <image id="file2" name="file2"> <init_from>images/duckCM.jpg</init_from> </image> </library_images> <library_materials> <material id="blinn3" name="blinn3"> <instance_effect url="#blinn3-fx"/> </material> </library_materials> <library_effects> <effect id="blinn3-fx"> <profile_COMMON> <newparam sid="file2-surface"> <surface type="2D"> <init_from>file2</init_from> <format>A8R8G8B8</format> </surface> </newparam> <newparam sid="file2-sampler"> <sampler2D> <source>file2-surface</source> <minfilter>LINEAR_MIPMAP_LINEAR</minfilter> <magfilter>LINEAR</magfilter> </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="UVSET0"/> </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> <color>0 0 0 1 </color> </transparent> <transparency> <float>0</float> </transparency> <index_of_refraction> <float>0</float> </index_of_refraction> </blinn> </technique> </profile_COMMON> </effect> </library_effects> <library_geometries> <geometry id="LOD3spShape-lib" name="LOD3spShape"> <mesh> <source id="LOD3spShape-lib-positions" name="position"> <float_array id="LOD3spShape-lib-positions-array" count="6324">315.16 849.43 386.38 106.71 853.88 374.44 -32.73 878.5 301.82 -98.8 840.17 132.87 450.5 849.84 338.51 -568.84 -199.36 … [Строка слишком длинная. Вы можете скачать файл] <technique_common> <accessor count="2108" source="#LOD3spShape-lib-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="LOD3spShape-lib-normals" name="normal"> <float_array id="LOD3spShape-lib-normals-array" count="6870">-0.192105 -0.934574 0.299444 -0.063137 -0.993627 0.093379 -0.038768 -0.993008 0.1115 -0.116943 -0.921307 0.370834 -0.08 … [Строка слишком длинная. Вы можете скачать файл] <technique_common> <accessor count="2290" source="#LOD3spShape-lib-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="LOD3spShape-lib-map1" name="map1"> <float_array id="LOD3spShape-lib-map1-array" count="4554">0.245158 0.423975 0.25011 0.468112 0.150442 0.543685 0.148569 0.498875 0.302841 0.416173 0.345064 0.636086 0.339502 0.6732 … [Строка слишком длинная. Вы можете скачать файл] <technique_common> <accessor count="2277" source="#LOD3spShape-lib-map1-array" stride="2"> <param name="S" type="float"/> <param name="T" type="float"/> </accessor> </technique_common> </source> <vertices id="LOD3spShape-lib-vertices"> <input semantic="POSITION" source="#LOD3spShape-lib-positions"/> </vertices> <triangles count="4212" material="blinn3SG"> <input offset="0" semantic="VERTEX" source="#LOD3spShape-lib-vertices"/> <input offset="1" semantic="NORMAL" source="#LOD3spShape-lib-normals"/> <input offset="2" semantic="TEXCOORD" source="#LOD3spShape-lib-map1"/> 89 0 23 243 1 26 90 2 28 89 0 23 90 2 28 6 3 29 91 4 30 243 1 26 89 0 23 91 4 30 89 0 23 5 5 31 92 6 33 244 7 35 91 4 30 92 6 33 91 4 30 5 5 31 299 8 36 244 7 35 92 6 33 299 8 36 9 … [Строка слишком длинная. Вы можете скачать файл] </triangles> </mesh> </geometry> </library_geometries> <library_visual_scenes> <visual_scene id="VisualSceneNode" name="untitled"> <node id="___DummyTransform___1" name="___DummyTransform___1"> <rotate sid="rotateZ">0 0 1 0 </rotate> <rotate sid="rotateY">0 1 0 0 </rotate> <rotate sid="rotateX">1 0 0 0 </rotate> </node> <node id="___DummyTransform___2" name="___DummyTransform___2"> <rotate sid="rotateZ">0 0 1 0 </rotate> <rotate sid="rotateY">0 1 0 0 </rotate> <rotate sid="rotateX">1 0 0 0 </rotate> </node> <node id="LOD3sp" name="LOD3sp"> <translate sid="rotatePivot">20.63 815.2 21.21 </translate> <rotate sid="rotateZ">0 0 1 0 </rotate> <rotate sid="rotateY">0 1 0 0 </rotate> <rotate sid="rotateX">1 0 0 0 </rotate> <translate sid="rotatePivotInverse">-20.63 -815.2 -21.21 </translate> <translate sid="scalePivot">20.63 815.2 21.21 </translate> <translate sid="scalePivotInverse">-20.63 -815.2 -21.21 </translate> <instance_geometry url="#LOD3spShape-lib"> <bind_material> <technique_common> <instance_material symbol="blinn3SG" target="#blinn3"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> </technique_common> </bind_material> </instance_geometry> </node> </visual_scene> </library_visual_scenes> <scene> <instance_physics_scene url="#MayaNativePhysicsScene"/> <instance_visual_scene url="#VisualSceneNode"/> </scene> </COLLADA>