FUtils/FUDaeSyntax.h

00001 /*
00002     Copyright (C) 2005-2006 Feeling Software Inc.
00003     MIT License: http://www.opensource.org/licenses/mit-license.php
00004 */
00005 /*
00006     Based on the FS Import classes:
00007     Copyright (C) 2005-2006 Feeling Software Inc
00008     Copyright (C) 2005-2006 Autodesk Media Entertainment
00009     MIT License: http://www.opensource.org/licenses/mit-license.php
00010 */
00011 
00012 #ifndef _DAE_SYNTAX_H_
00013 #define _DAE_SYNTAX_H_
00014 
00015 // COLLADA Versioning information
00016 #define DAE_NAMESPACE_ATTRIBUTE                     "xmlns"
00017 #define DAE_SCHEMA_LOCATION                         "http://www.collada.org/2005/11/COLLADASchema"
00018 #define DAE_VERSION_ATTRIBUTE                       "version"
00019 #define DAE_SCHEMA_VERSION                          "1.4.0"
00020 
00021 // COLLADA 1.4 elements
00022 #define DAE_LIBRARY_ANIMATION_ELEMENT               "library_animations"
00023 #define DAE_LIBRARY_ANIMATION_CLIP_ELEMENT          "library_animation_clips"
00024 #define DAE_LIBRARY_CAMERA_ELEMENT                  "library_cameras"
00025 #define DAE_LIBRARY_CONTROLLER_ELEMENT              "library_controllers"
00026 #define DAE_LIBRARY_EFFECT_ELEMENT                  "library_effects"
00027 #define DAE_LIBRARY_FFIELDS_ELEMENT                 "library_force_fields"
00028 #define DAE_LIBRARY_GEOMETRY_ELEMENT                "library_geometries"
00029 #define DAE_LIBRARY_IMAGE_ELEMENT                   "library_images"
00030 #define DAE_LIBRARY_LIGHT_ELEMENT                   "library_lights"
00031 #define DAE_LIBRARY_MATERIAL_ELEMENT                "library_materials"
00032 #define DAE_LIBRARY_NODE_ELEMENT                    "library_nodes"
00033 #define DAE_LIBRARY_PMATERIAL_ELEMENT               "library_physics_materials"
00034 #define DAE_LIBRARY_PMODEL_ELEMENT                  "library_physics_models"
00035 #define DAE_LIBRARY_PSCENE_ELEMENT                  "library_physics_scenes"
00036 #define DAE_LIBRARY_VSCENE_ELEMENT                  "library_visual_scenes"
00037 
00038 #define DAE_INSTANCE_ANIMATION_ELEMENT              "instance_animation"
00039 #define DAE_INSTANCE_CAMERA_ELEMENT                 "instance_camera"
00040 #define DAE_INSTANCE_CONTROLLER_ELEMENT             "instance_controller"
00041 #define DAE_INSTANCE_EFFECT_ELEMENT                 "instance_effect"
00042 #define DAE_INSTANCE_GEOMETRY_ELEMENT               "instance_geometry"
00043 #define DAE_INSTANCE_LIGHT_ELEMENT                  "instance_light"
00044 #define DAE_INSTANCE_MATERIAL_ELEMENT               "instance_material"
00045 #define DAE_INSTANCE_NODE_ELEMENT                   "instance_node"
00046 #define DAE_INSTANCE_VSCENE_ELEMENT                 "instance_visual_scene"
00047 
00048 #define DAE_ANIMCLIP_ELEMENT                        "animation_clip"
00049 #define DAE_BIND_ELEMENT                            "bind"
00050 #define DAE_BINDMATERIAL_ELEMENT                    "bind_material"
00051 #define DAE_COLOR_ELEMENT                           "color"
00052 #define DAE_CONTROL_VERTICES_ELEMENT                "control_vertices"
00053 #define DAE_EFFECT_ELEMENT                          "effect"
00054 #define DAE_MIP_LEVELS                              "mip_levels"
00055 #define DAE_MIPMAP_GENERATE                         "mipmap_generate"
00056 #define DAE_SAMPLER_ELEMENT                         "sampler"
00057 #define DAE_SKELETON_ELEMENT                        "skeleton"
00058 #define DAE_TARGETS_ELEMENT                         "targets"
00059 #define DAE_TECHNIQUE_COMMON_ELEMENT                "technique_common"
00060 #define DAE_VIEWPORT_RATIO                          "viewport_ratio"
00061 #define DAE_VSCENE_ELEMENT                          "visual_scene"
00062 #define DAE_WEIGHTS_ELEMENT                         "vertex_weights"
00063 #define DAE_VERTEXCOUNT_ELEMENT                     "vcount"
00064 
00065 #define DAE_INITASNULL_ELEMENT                      "init_as_null"
00066 #define DAE_INITASTARGET_ELEMENT                    "init_as_target"
00067 #define DAE_INITCUBE_ELEMENT                        "init_cube"
00068 #define DAE_INITVOLUME_ELEMENT                      "init_volume"
00069 #define DAE_INITPLANAR_ELEMENT                      "init_planar"
00070 #define DAE_INITFROM_ELEMENT                        "init_from"
00071 #define DAE_ALL_ELEMENT                             "all"
00072 #define DAE_PRIMARY_ELEMENT                         "primary"
00073 #define DAE_FACE_ELEMENT                            "face"
00074 #define DAE_ORDER_ELEMENT                           "order"
00075 
00076 #define DAE_FX_PROFILE_COMMON_ELEMENT               "profile_COMMON"
00077 #define DAE_FX_PROFILE_CG_ELEMENT                   "profile_CG"
00078 #define DAE_FX_PROFILE_HLSL_ELEMENT                 "profile_HLSL"
00079 #define DAE_FX_PROFILE_GLSL_ELEMENT                 "profile_GLSL"
00080 #define DAE_FX_PROFILE_GLES_ELEMENT                 "profile_GLES"
00081 
00082 #define DAE_FXCMN_ANNOTATE_ELEMENT                  "annotate"
00083 #define DAE_FXCMN_BIND_ELEMENT                      "bind"
00084 #define DAE_FXCMN_BOOL_ELEMENT                      "bool"
00085 #define DAE_FXCMN_CODE_ELEMENT                      "code"
00086 #define DAE_FXCMN_COMPILERTARGET_ELEMENT            "compiler_target"
00087 #define DAE_FXCMN_COMPILEROPTIONS_ELEMENT           "compiler_options"
00088 #define DAE_FXCMN_INT_ELEMENT                       "int"
00089 #define DAE_FXCMN_HALF_ELEMENT                      "half"
00090 #define DAE_FXCMN_HALF2_ELEMENT                     "half2"
00091 #define DAE_FXCMN_HALF3_ELEMENT                     "half3"
00092 #define DAE_FXCMN_HALF4_ELEMENT                     "half4"
00093 #define DAE_FXCMN_HALF4X4_ELEMENT                   "half4x4"
00094 #define DAE_FXCMN_FLOAT_ELEMENT                     "float"
00095 #define DAE_FXCMN_FLOAT2_ELEMENT                    "float2"
00096 #define DAE_FXCMN_FLOAT3_ELEMENT                    "float3"
00097 #define DAE_FXCMN_FLOAT4_ELEMENT                    "float4"
00098 #define DAE_FXCMN_FLOAT4X4_ELEMENT                  "float4x4"
00099 #define DAE_FXCMN_HINT_ELEMENT                      "technique_hint"
00100 #define DAE_FXCMN_INCLUDE_ELEMENT                   "include"
00101 #define DAE_FXCMN_SURFACE_ELEMENT                   "surface"
00102 #define DAE_FXCMN_SAMPLER1D_ELEMENT                 "sampler1D"
00103 #define DAE_FXCMN_SAMPLER2D_ELEMENT                 "sampler2D"
00104 #define DAE_FXCMN_SAMPLER3D_ELEMENT                 "sampler3D"
00105 #define DAE_FXCMN_SAMPLERCUBE_ELEMENT               "samplerCUBE"
00106 #define DAE_FXCMN_SEMANTIC_ELEMENT                  "semantic"
00107 #define DAE_FXCMN_SETPARAM_ELEMENT                  "setparam"
00108 #define DAE_FXCMN_NEWPARAM_ELEMENT                  "newparam"
00109 #define DAE_FXCMN_STRING_ELEMENT                    "string"
00110 #define DAE_FXCMN_NAME_ELEMENT                      "name"
00111 
00112 #define DAE_FXCMN_VERTEX_SHADER                     "VERTEX"
00113 #define DAE_FXCMN_FRAGMENT_SHADER                   "FRAGMENT"
00114 
00115 #define DAE_FXSTD_CONSTANT_ELEMENT                  "constant"
00116 #define DAE_FXSTD_LAMBERT_ELEMENT                   "lambert"
00117 #define DAE_FXSTD_PHONG_ELEMENT                     "phong"
00118 #define DAE_FXSTD_BLINN_ELEMENT                     "blinn"
00119 #define DAE_FXSTD_COLOR_ELEMENT                     "color"
00120 #define DAE_FXSTD_FLOAT_ELEMENT                     "float"
00121 #define DAE_FXSTD_SAMPLER_ELEMENT                   "texture"
00122 #define DAE_FXSTD_TEXTURE_ATTRIBUTE                 "texture"
00123 #define DAE_FXSTD_TEXTURESET_ATTRIBUTE              "texcoord"
00124 
00125 #define DAE_CONTROLLER_SKIN_ELEMENT                 "skin"
00126 #define DAE_CONTROLLER_MORPH_ELEMENT                "morph"
00127 
00128 #define DAE_CAMERA_PERSP_ELEMENT                    "perspective"
00129 #define DAE_CAMERA_ORTHO_ELEMENT                    "orthographic"
00130 
00131 #define DAE_ASPECT_CAMERA_PARAMETER                 "aspect_ratio"
00132 #define DAE_XFOV_CAMERA_PARAMETER                   "xfov"  
00133 #define DAE_YFOV_CAMERA_PARAMETER                   "yfov"  
00134 #define DAE_ZNEAR_CAMERA_PARAMETER                  "znear" 
00135 #define DAE_ZFAR_CAMERA_PARAMETER                   "zfar"  
00136 #define DAE_XMAG_CAMERA_PARAMETER                   "xmag"  
00137 #define DAE_YMAG_CAMERA_PARAMETER                   "ymag"
00138 
00139 #define DAE_AMBIENT_MATERIAL_PARAMETER              "ambient"
00140 #define DAE_BUMP_MATERIAL_PARAMETER                 "bump"
00141 #define DAE_DIFFUSE_MATERIAL_PARAMETER              "diffuse"
00142 #define DAE_EMISSION_MATERIAL_PARAMETER             "emission"
00143 #define DAE_TRANSPARENCY_MATERIAL_PARAMETER         "transparency"
00144 #define DAE_TRANSPARENT_MATERIAL_PARAMETER          "transparent"
00145 #define DAE_REFLECTIVE_MATERIAL_PARAMETER           "reflective"
00146 #define DAE_REFLECTIVITY_MATERIAL_PARAMETER         "reflectivity"
00147 #define DAE_SHININESS_MATERIAL_PARAMETER            "shininess"
00148 #define DAE_SPECULAR_MATERIAL_PARAMETER             "specular"
00149 
00150 #define DAE_LIGHT_AMBIENT_ELEMENT                   "ambient"       
00151 #define DAE_LIGHT_POINT_ELEMENT                     "point"
00152 #define DAE_LIGHT_DIRECTIONAL_ELEMENT               "directional"
00153 #define DAE_LIGHT_SPOT_ELEMENT                      "spot"
00154 
00155 #define DAE_COLOR_LIGHT_PARAMETER                   "color"
00156 #define DAE_CONST_ATTENUATION_LIGHT_PARAMETER       "constant_attenuation"
00157 #define DAE_LIN_ATTENUATION_LIGHT_PARAMETER         "linear_attenuation"
00158 #define DAE_QUAD_ATTENUATION_LIGHT_PARAMETER        "quadratic_attenuation"
00159 #define DAE_FALLOFFEXPONENT_LIGHT_PARAMETER         "falloff_exponent"
00160 #define DAE_FALLOFFANGLE_LIGHT_PARAMETER            "falloff_angle"
00161 
00162 #define DAE_BINDSHAPEMX_SKIN_PARAMETER              "bind_shape_matrix"
00163 
00164 #define DAE_CONTRIBUTOR_ASSET_ELEMENT               "contributor"
00165 #define DAE_AUTHOR_ASSET_PARAMETER                  "author"
00166 #define DAE_AUTHORINGTOOL_ASSET_PARAMETER           "authoring_tool"
00167 #define DAE_CREATED_ASSET_PARAMETER                 "created"
00168 #define DAE_COMMENTS_ASSET_PARAMETER                "comments"
00169 #define DAE_COPYRIGHT_ASSET_PARAMETER               "copyright"
00170 #define DAE_KEYWORDS_ASSET_PARAMETER                "keywords"
00171 #define DAE_MODIFIED_ASSET_PARAMETER                "modified"
00172 #define DAE_REVISION_ASSET_PARAMETER                "revision"
00173 #define DAE_SOURCEDATA_ASSET_PARAMETER              "source_data"
00174 #define DAE_SUBJECT_ASSET_PARAMETER                 "subject"
00175 #define DAE_TITLE_ASSET_PARAMETER                   "title"
00176 #define DAE_UNITS_ASSET_PARAMETER                   "unit"
00177 #define DAE_UPAXIS_ASSET_PARAMETER                  "up_axis"
00178 
00179 #define DAE_PHYSICS_STATIC_FRICTION                 "static_friction"
00180 #define DAE_PHYSICS_DYNAMIC_FRICTION                "dynamic_friction"
00181 #define DAE_PHYSICS_RESTITUTION                     "restitution"
00182 
00183 // COLLADA 1.4 attributes
00184 #define DAE_CLOSED_ATTRIBUTE                        "closed"
00185 #define DAE_COUNT_ATTRIBUTE                         "count"
00186 #define DAE_END_ATTRIBUTE                           "end"
00187 #define DAE_ID_ATTRIBUTE                            "id"
00188 #define DAE_MATERIAL_ATTRIBUTE                      "material"
00189 #define DAE_METERS_ATTRIBUTE                        "meter"
00190 #define DAE_METHOD_ATTRIBUTE                        "method"
00191 #define DAE_NAME_ATTRIBUTE                          "name"
00192 #define DAE_OFFSET_ATTRIBUTE                        "offset"
00193 #define DAE_PLATFORM_ATTRIBUTE                      "platform"
00194 #define DAE_PROFILE_ATTRIBUTE                       "profile"
00195 #define DAE_REF_ATTRIBUTE                           "ref"
00196 #define DAE_SEMANTIC_ATTRIBUTE                      "semantic"
00197 #define DAE_SET_ATTRIBUTE                           "set"
00198 #define DAE_SID_ATTRIBUTE                           "sid"
00199 #define DAE_START_ATTRIBUTE                         "start"
00200 #define DAE_STRIDE_ATTRIBUTE                        "stride"
00201 #define DAE_SOURCE_ATTRIBUTE                        "source"
00202 #define DAE_SYMBOL_ATTRIBUTE                        "symbol"
00203 #define DAE_TARGET_ATTRIBUTE                        "target"
00204 #define DAE_URL_ATTRIBUTE                           "url"
00205 #define DAE_STAGE_ATTRIBUTE                         "stage"
00206 
00207 #define DAE_MIP_ATTRIBUTE                           "mip"
00208 #define DAE_SLICE_ATTRIBUTE                         "slice"
00209 #define DAE_FACE_ATTRIBUTE                          "face"
00210 
00211 // COLLADA 1.4 types
00212 #define DAE_FLOAT_TYPE                              "float"
00213 #define DAE_IDREF_TYPE                              "IDREF"
00214 #define DAE_MATRIX_TYPE                             "float4x4"
00215 #define DAE_NAME_TYPE                               "Name"
00216 
00217 // COLLADA 1.4 enumerations
00218 #define DAE_AMBIENT_TEXTURE_CHANNEL                 "AMBIENT"
00219 #define DAE_BUMP_TEXTURE_CHANNEL                    "BUMP"
00220 #define DAE_DIFFUSE_TEXTURE_CHANNEL                 "DIFFUSE"
00221 #define DAE_DISPLACEMENT_TEXTURE_CHANNEL            "DISPLACEMENT"
00222 #define DAE_EMISSION_TEXTURE_CHANNEL                "GLOW"
00223 #define DAE_FILTER_TEXTURE_CHANNEL                  "FILTER"
00224 #define DAE_OPACITY_TEXTURE_CHANNEL                 "OPACITY"
00225 #define DAE_REFLECTION_TEXTURE_CHANNEL              "REFLECTION"
00226 #define DAE_REFRACTION_TEXTURE_CHANNEL              "REFRACTION"
00227 #define DAE_SHININESS_TEXTURE_CHANNEL               "SHININESS"
00228 #define DAE_SPECULAR_TEXTURE_CHANNEL                "SPECULAR"
00229 #define DAE_SPECULARLEVEL_TEXTURE_CHANNEL           "SPECULAR-LEVEL"
00230 #define DAE_TRANSPARENT_TEXTURE_CHANNEL             "TRANSPARENT"
00231 
00232 #define DAE_NORMALIZED_MORPH_METHOD                 "NORMALIZED"
00233 #define DAE_RELATIVE_MORPH_METHOD                   "RELATIVE"
00234 
00235 #define DAE_WEIGHT_MORPH_INPUT                      "MORPH_WEIGHT"
00236 #define DAE_WEIGHT_MORPH_INPUT_DEPRECATED           "WEIGHT"
00237 #define DAE_TARGET_MORPH_INPUT                      "MORPH_TARGET"
00238 #define DAE_TARGET_MORPH_INPUT_DEPRECATED           "TARGET"
00239 
00240 #define DAE_TIME_TARGET                             "TIME"
00241 
00242 #define DAE_JOINT_NODE_TYPE                         "JOINT"
00243 #define DAE_NODE_NODE_TYPE                          "NODE"
00244 
00245 #define DAE_POSITION_SPLINE_INPUT                   "POSITION"
00246 #define DAE_KNOT_SPLINE_INPUT                       "KNOTSEQUENCES"
00247 
00248 // Collada 1.4 physics
00249 #define DAE_PHYSICS_MATERIAL_ELEMENT                "physics_material"
00250 #define DAE_PHYSICS_MODEL_ELEMENT                   "physics_model"
00251 #define DAE_PHYSICS_SCENE_ELEMENT                   "physics_scene"
00252 #define DAE_INSTANCE_PHYSICS_MATERIAL_ELEMENT       "instance_physics_material"
00253 #define DAE_INSTANCE_PHYSICS_MODEL_ELEMENT          "instance_physics_model"
00254 #define DAE_INSTANCE_PHYSICS_SCENE_ELEMENT          "instance_physics_scene"
00255 #define DAE_INSTANCE_RIGID_BODY_ELEMENT             "instance_rigid_body"
00256 #define DAE_INSTANCE_RIGID_CONSTRAINT_ELEMENT       "instance_rigid_constraint"
00257 #define DAE_INSTANCE_FORCE_FIELD_ELEMENT            "instance_force_field"
00258 #define DAE_TIME_STEP_ATTRIBUTE                     "time_step"
00259 #define DAE_GRAVITY_ATTRIBUTE                       "gravity"
00260 #define DAE_RESTITUTION_ATTRIBUTE                   "restitution"
00261 #define DAE_STATIC_FRICTION_ATTRIBUTE               "static_friction"
00262 #define DAE_DYNAMIC_FRICTION_ATTRIBUTE              "dynamic_friction"
00263 #define DAE_VELOCITY_ELEMENT                        "velocity"
00264 #define DAE_ANGULAR_VELOCITY_ELEMENT                "angular_velocity"
00265 #define DAE_BODY_ATTRIBUTE                          "body"
00266 #define DAE_CONSTRAINT_ATTRIBUTE                    "constraint"
00267 #define DAE_MASS_FRAME_ELEMENT                      "mass_frame"
00268 #define DAE_LIMITS_ELEMENT                          "limits"
00269 #define DAE_LINEAR_ELEMENT                          "linear"
00270 #define DAE_ANGULAR_ELEMENT                         "angular"
00271 #define DAE_SWING_CONE_AND_TWIST_ELEMENT            "swing_cone_and_twist"
00272 #define DAE_CONVEX_HULL_OF_ATTRIBUTE                "convex_hull_of"
00273 #define DAE_HEIGHT_ELEMENT                          "height"
00274 
00275 // Physics extension. Currently in prototype phase.
00276 #define DAE_MIN_ELEMENT                             "min"
00277 #define DAE_MAX_ELEMENT                             "max"
00278 #define DAE_SHAPE_ELEMENT                           "shape"
00279 #define DAE_RIGID_BODY_ELEMENT                      "rigid_body"
00280 #define DAE_DYNAMIC_ELEMENT                         "dynamic"
00281 #define DAE_HOLLOW_ELEMENT                          "hollow"
00282 #define DAE_MASS_ELEMENT                            "mass"
00283 #define DAE_BOX_ELEMENT                             "box"
00284 #define DAE_SPHERE_ELEMENT                          "sphere"
00285 #define DAE_CAPSULE_ELEMENT                         "capsule"
00286 #define DAE_CYLINDER_ELEMENT                        "cylinder"
00287 #define DAE_ELLIPSOID_ELEMENT                       "ellipsoid"
00288 #define DAE_TAPERED_CAPSULE_ELEMENT                 "tapered_capsule"
00289 #define DAE_TAPERED_CYLINDER_ELEMENT                "tapered_cylinder"
00290 #define DAE_PLANE_ELEMENT                           "plane"
00291 #define DAE_FORMAT_ELEMENT                          "format"
00292 #define DAE_FORMAT_HINT_ELEMENT                         "format_hint"
00293 #define DAE_HALF_EXTENTS_ELEMENT                    "half_extents"
00294 #define DAE_EQUATION_ELEMENT                        "equation"
00295 #define DAE_SIZE_ELEMENT                            "size"
00296 #define DAE_RADIUS_ELEMENT                          "radius"
00297 #define DAE_RADIUS1_ELEMENT                         "radius1"
00298 #define DAE_RADIUS2_ELEMENT                         "radius2"
00299 #define DAE_CONVEX_MESH_ELEMENT                     "convex_mesh"
00300 #define DAE_INERTIA_ELEMENT                         "inertia"
00301 #define DAE_DENSITY_ELEMENT                         "density"
00302 #define DAE_CENTER_OF_MASS_ELEMENT                  "center_of_mass"
00303 #define DAE_DYNAMICS_ELEMENT                        "dynamics"
00304 #define DAE_RIGID_CONSTRAINT_ELEMENT                "rigid_constraint"
00305 #define DAE_FORCE_FIELD_ELEMENT                     "force_field"
00306 #define DAE_ATTACHMENT_ELEMENT                      "attachment"
00307 #define DAE_REF_ATTACHMENT_ELEMENT                  "ref_attachment"
00308 #define DAE_ROT_LIMIT_MIN_ELEMENT                   "rot_limit_min"
00309 #define DAE_ROT_LIMIT_MAX_ELEMENT                   "rot_limit_max"
00310 #define DAE_TRANS_LIMIT_MIN_ELEMENT                 "trans_limit_min"
00311 #define DAE_TRANS_LIMIT_MAX_ELEMENT                 "trans_limit_max"
00312 #define DAE_ENABLED_ELEMENT                         "enabled"
00313 #define DAE_INTERPENETRATE_ELEMENT                  "interpenetrate"
00314 #define DAE_SPRING_ELEMENT                          "spring"
00315 #define DAE_STIFFNESS_ELEMENT                       "stiffness"
00316 #define DAE_DAMPING_ELEMENT                         "damping"
00317 #define DAE_TARGET_VALUE_ELEMENT                    "target_value"
00318 #define DAE_REST_LENGTH_ELEMENT                     "rest_length"
00319 #define DAE_ANNOTATE_ELEMENT                        "annotate"
00320 #define DAE_TRUE_KEYWORD                            "true"
00321 #define DAE_FALSE_KEYWORD                           "false"
00322 
00323 // COLLADA 1.3 elements
00324 #define DAE_ACCESSOR_ELEMENT                        "accessor"
00325 #define DAE_ANIMATION_ELEMENT                       "animation"
00326 #define DAE_ASSET_ELEMENT                           "asset"
00327 #define DAE_CAMERA_ELEMENT                          "camera"
00328 #define DAE_CHANNEL_ELEMENT                         "channel"
00329 #define DAE_CHANNELS_ELEMENT                            "channels"
00330 #define DAE_COLLADA_ELEMENT                         "COLLADA"
00331 #define DAE_COMBINER_ELEMENT                        "combiner"              // [Deprecated 1.4]
00332 #define DAE_CONTROLLER_ELEMENT                      "controller"
00333 #define DAE_DEPTH_ELEMENT                           "depth"
00334 #define DAE_EXTRA_ELEMENT                           "extra"
00335 #define DAE_RANGE_ELEMENT                           "range"
00336 #define DAE_FLOAT_ARRAY_ELEMENT                     "float_array"
00337 #define DAE_GEOMETRY_ELEMENT                        "geometry"
00338 #define DAE_HOLE_ELEMENT                            "h"
00339 #define DAE_IDREF_ARRAY_ELEMENT                     "IDREF_array"
00340 #define DAE_IMAGE_ELEMENT                           "image"
00341 #define DAE_INPUT_ELEMENT                           "input"
00342 #define DAE_INT_ARRAY_ELEMENT                       "int_array"
00343 #define DAE_INSTANCE_ELEMENT                        "instance"              // [Deprecated 1.4]
00344 #define DAE_JOINTS_ELEMENT                          "joints"
00345 #define DAE_LIBRARY_ELEMENT                         "library"               // [Deprecated 1.4]
00346 #define DAE_LIGHT_ELEMENT                           "light"
00347 #define DAE_LOOKAT_ELEMENT                          "lookat"
00348 #define DAE_MATERIAL_ELEMENT                        "material"
00349 #define DAE_MATRIX_ELEMENT                          "matrix"
00350 #define DAE_MESH_ELEMENT                            "mesh"
00351 #define DAE_NAME_ARRAY_ELEMENT                      "Name_array"
00352 #define DAE_NODE_ELEMENT                            "node"
00353 #define DAE_OPTICS_ELEMENT                          "optics"
00354 #define DAE_PARAMETER_ELEMENT                       "param"
00355 #define DAE_PASS_ELEMENT                            "pass"
00356 #define DAE_POLYGON_ELEMENT                         "p"
00357 #define DAE_POLYGONHOLED_ELEMENT                    "ph"
00358 #define DAE_POLYGONS_ELEMENT                        "polygons"
00359 #define DAE_POLYLIST_ELEMENT                        "polylist"
00360 #define DAE_PROGRAM_ELEMENT                         "program"               // [Deprecated 1.4]
00361 #define DAE_ROTATE_ELEMENT                          "rotate"
00362 #define DAE_SCALE_ELEMENT                           "scale"
00363 #define DAE_SCENE_ELEMENT                           "scene"
00364 #define DAE_SHADER_ELEMENT                          "shader"
00365 #define DAE_SOURCE_ELEMENT                          "source"
00366 #define DAE_SPLINE_ELEMENT                          "spline"
00367 #define DAE_SKEW_ELEMENT                            "skew"
00368 #define DAE_TECHNIQUE_ELEMENT                       "technique"
00369 #define DAE_TEXTURE_ELEMENT                         "texture"
00370 #define DAE_TRANSLATE_ELEMENT                       "translate"
00371 #define DAE_TRIANGLES_ELEMENT                       "triangles"
00372 #define DAE_VERTEX_ELEMENT                          "v"
00373 #define DAE_VERTICES_ELEMENT                        "vertices"
00374 #define DAE_WIDTH_ELEMENT                           "width"
00375 
00376 // COLLADA 1.3 attributes
00377 #define DAE_IDX_ATTRIBUTE                           "idx"                   // [Deprecated 1.4] - Replaced by 'offset'
00378 #define DAE_TYPE_ATTRIBUTE                          "type"                  // [Deprecated 1.4]
00379 
00380 // COLLADA 1.3 enumerations
00381 #define DAE_COMMON_PROFILE                          "COMMON"                // [Deprecated 1.4] - Replaced by the <technique_common> element
00382 
00383 #define DAE_COLOR_INPUT                             "COLOR"
00384 #define DAE_GEOBINORMAL_INPUT                       "BINORMAL"
00385 #define DAE_GEOTANGENT_INPUT                        "TANGENT"
00386 #define DAE_IMAGE_INPUT                             "IMAGE"
00387 #define DAE_MAPPING_INPUT                           "UV"
00388 #define DAE_NORMAL_INPUT                            "NORMAL"
00389 #define DAE_POSITION_INPUT                          "POSITION"
00390 #define DAE_TEXCOORD_INPUT                          "TEXCOORD"
00391 #define DAE_TEXBINORMAL_INPUT                       "TEXBINORMAL"
00392 #define DAE_TEXTANGENT_INPUT                        "TEXTANGENT"
00393 #define DAE_TEXTURE_INPUT                           "TEXTURE"
00394 #define DAE_VERTEX_INPUT                            "VERTEX"
00395 #define DAE_BINDMATRIX_SKIN_INPUT                   "INV_BIND_MATRIX"
00396 #define DAE_BINDNORMAL_SKIN_INPUT                   "BIND_SHAPE_NORMAL"     // [Deprecated 1.4]
00397 #define DAE_BINDPOS_SKIN_INPUT                      "BIND_SHAPE_POSITION"   // [Deprecated 1.4]
00398 #define DAE_JOINT_SKIN_INPUT                        "JOINT"
00399 #define DAE_JOINTWEIGHT_SKIN_INPUT                  "JOINTS_AND_WEIGHTS"    // [Deprecated 1.4]
00400 #define DAE_WEIGHT_SKIN_INPUT                       "WEIGHT"
00401 
00402 #define DAE_INPUT_ANIMATION_INPUT                   "INPUT"
00403 #define DAE_OUTPUT_ANIMATION_INPUT                  "OUTPUT"
00404 #define DAE_INTANGENT_ANIMATION_INPUT               "IN_TANGENT"
00405 #define DAE_OUTTANGENT_ANIMATION_INPUT              "OUT_TANGENT"
00406 #define DAE_INTERPOLATION_ANIMATION_INPUT           "INTERPOLATION"
00407 
00408 #define DAE_ANIMATION_TYPE                          "ANIMATION"         // [Deprecated 1.4]
00409 #define DAE_CAMERA_TYPE                             "CAMERA"            // [Deprecated 1.4]
00410 #define DAE_CONTROLLER_TYPE                         "CONTROLLER"        // [Deprecated 1.4]
00411 #define DAE_EFFECT_TYPE                             "EFFECT"            // [Deprecated 1.4]
00412 #define DAE_IMAGE_TYPE                              "IMAGE"             // [Deprecated 1.4]
00413 #define DAE_GEOMETRY_TYPE                           "GEOMETRY"          // [Deprecated 1.4]
00414 #define DAE_LIGHT_TYPE                              "LIGHT"             // [Deprecated 1.4]
00415 #define DAE_MATERIAL_TYPE                           "MATERIAL"          // [Deprecated 1.4]
00416 #define DAE_TEXTURE_TYPE                            "TEXTURE"           // [Deprecated 1.4]
00417 
00418 #define DAE_PERSPECTIVE_CAMERA_TYPE                 "PERSPECTIVE"       // [Deprecated 1.4]
00419 #define DAE_ORTHOGRAPHIC_CAMERA_TYPE                "ORTHOGRAPHIC"      // [Deprecated 1.4]
00420 
00421 #define DAE_XFOV_CAMERA_PARAMETER1_3                "XFOV"              // [Deprecated 1.4]
00422 #define DAE_YFOV_CAMERA_PARAMETER1_3                "YFOV"              // [Deprecated 1.4]
00423 #define DAE_ZNEAR_CAMERA_PARAMETER1_3               "ZNEAR"             // [Deprecated 1.4]
00424 #define DAE_ZFAR_CAMERA_PARAMETER1_3                "ZFAR"              // [Deprecated 1.4]
00425 #define DAE_LEFT_CAMERA_PARAMETER1_3                "LEFT"              // [Deprecated 1.4]
00426 #define DAE_RIGHT_CAMERA_PARAMETER1_3               "RIGHT"             // [Deprecated 1.4]
00427 #define DAE_TOP_CAMERA_PARAMETER1_3                 "TOP"               // [Deprecated 1.4]
00428 #define DAE_BOTTOM_CAMERA_PARAMETER1_3              "BOTTOM"            // [Deprecated 1.4]
00429 
00430 #define DAE_AMBIENT_LIGHT_TYPE                      "AMBIENT"           // [Deprecated 1.4]         
00431 #define DAE_POINT_LIGHT_TYPE                        "POINT"             // [Deprecated 1.4]
00432 #define DAE_DIRECTIONAL_LIGHT_TYPE                  "DIRECTIONAL"       // [Deprecated 1.4]
00433 #define DAE_SPOT_LIGHT_TYPE                         "SPOT"              // [Deprecated 1.4]
00434 
00435 #define DAE_COLOR_LIGHT_PARAMETER1_3                "COLOR"             // [Deprecated 1.4]
00436 #define DAE_ATTENUATION_LIGHT_PARAMETER1_3          "ATTENUATION"       // [Deprecated 1.4]
00437 #define DAE_ATTENUATIONSCALE_LIGHT_PARAMETER1_3     "ATTENUATION_SCALE" // [Deprecated 1.4]
00438 #define DAE_FALLOFF_LIGHT_PARAMETER1_3              "FALLOFF"           // [Deprecated 1.4]
00439 #define DAE_FALLOFFSCALE_LIGHT_PARAMETER1_3         "FALLOFF_SCALE"     // [Deprecated 1.4]
00440 #define DAE_ANGLE_LIGHT_PARAMETER1_3                "ANGLE"             // [Deprecated 1.4]
00441 
00442 #define DAE_X_UP                                    "X_UP"
00443 #define DAE_Y_UP                                    "Y_UP"
00444 #define DAE_Z_UP                                    "Z_UP"
00445 
00446 #define DAE_NONE_INTERPOLATION                      "NONE"              // [Deprecated 1.3] ColladaMaya exported this until September 2005
00447 #define DAE_STEP_INTERPOLATION                      "STEP"
00448 #define DAE_LINEAR_INTERPOLATION                    "LINEAR"
00449 #define DAE_BEZIER_INTERPOLATION                    "BEZIER"
00450 
00451 #define DAE_CONSTANT_FUNCTION                       "CONSTANT"
00452 #define DAE_LINEAR_FUNCTION                         "LINEAR"
00453 #define DAE_QUADRATIC_FUNCTION                      "QUADRATIC"
00454 
00455 #define DAE_CONSTANT_MATERIAL_PROGRAM               "CONSTANT"          // [Deprecated 1.4]
00456 #define DAE_LAMBERT_MATERIAL_PROGRAM                "LAMBERT"           // [Deprecated 1.4]
00457 #define DAE_PHONG_MATERIAL_PROGRAM                  "PHONG"             // [Deprecated 1.4]
00458 
00459 #define DAE_AMBIENT_MATERIAL_PARAMETER1_3           "AMBIENT"           // [Deprecated 1.4]
00460 #define DAE_DIFFUSE_MATERIAL_PARAMETER1_3           "DIFFUSE"           // [Deprecated 1.4]
00461 #define DAE_EMISSION_MATERIAL_PARAMETER1_3          "EMISSION"          // [Deprecated 1.4]
00462 #define DAE_TRANSPARENCY_MATERIAL_PARAMETER1_3      "TRANSPARENCY"      // [Deprecated 1.4]
00463 #define DAE_TRANSPARENT_MATERIAL_PARAMETER1_3       "TRANSPARENT"       // [Deprecated 1.4]
00464 #define DAE_REFLECTIVE_MATERIAL_PARAMETER1_3        "REFLECTIVE"        // [Deprecated 1.4]
00465 #define DAE_REFLECTIVITY_MATERIAL_PARAMETER1_3      "REFLECTIVITY"      // [Deprecated 1.4]
00466 #define DAE_SHININESS_MATERIAL_PARAMETER1_3         "SHININESS"         // [Deprecated 1.4]
00467 #define DAE_SPECULAR_MATERIAL_PARAMETER1_3          "SPECULAR"          // [Deprecated 1.4]
00468 
00469 // COLLADA 1.2 elements
00470 #define DAE_ARRAY_ELEMENT                           "array"             // [Deprecated 1.3]
00471 
00472 // COLLADA 1.4 Shared elements
00473 #define DAESHD_DOUBLESIDED_PARAMETER                "double_sided"
00474 #define DAESHD_INTENSITY_LIGHT_PARAMETER            "intensity"
00475 
00476 // COLLADA 1.3 Shared elements
00477 #define DAESHD_INTENSITY_LIGHT_PARAMETER1_3         "INTENSITY"         // [Deprecated 1.4]
00478 
00479 // COLLADA 1.4 Max-specific profile
00480 #define DAEMAX_MAX_PROFILE                          "MAX3D"
00481 
00482 #define DAEMAX_TARGET_CAMERA_PARAMETER              "target"
00483 #define DAEMAX_ASPECTRATIO_LIGHT_PARAMETER          "aspect_ratio"
00484 #define DAEMAX_TARGET_LIGHT_PARAMETER               "target"
00485 #define DAEMAX_OUTERCONE_LIGHT_PARAMETER            "outer_cone"
00486 #define DAEMAX_OVERSHOOT_LIGHT_PARAMETER            "overshoot"
00487 #define DAEMAX_SPECLEVEL_MATERIAL_PARAMETER         "spec_level"
00488 #define DAEMAX_DISPLACEMENT_MATERIAL_PARAMETER      "displacement"
00489 #define DAEMAX_EMISSIONLEVEL_MATERIAL_PARAMETER     "emission_level"
00490 #define DAEMAX_FACETED_MATERIAL_PARAMETER           "faceted"
00491 #define DAEMAX_FILTERCOLOR_MATERIAL_PARAMETER       "filter_color"
00492 #define DAEMAX_INDEXOFREFRACTION_MATERIAL_PARAMETER "index_of_refraction"
00493 #define DAEMAX_USERPROPERTIES_NODE_PARAMETER        "user_properties"
00494 #define DAEMAX_WIREFRAME_MATERIAL_PARAMETER         "wireframe"
00495 #define DAEMAX_FACEMAP_MATERIAL_PARAMETER           "face_map"
00496 #define DAEMAX_AMOUNT_TEXTURE_PARAMETER             "amount"
00497 
00498 // COLLADA 1.3 Max-specific profile
00499 #define DAEMAX_TARGET_CAMERA_PARAMETER1_3           "TARGET"            // [Deprecated 1.4]
00500 #define DAEMAX_ASPECTRATIO_LIGHT_PARAMETER1_3       "ASPECT_RATIO"      // [Deprecated 1.4]
00501 #define DAEMAX_TARGET_LIGHT_PARAMETER1_3            "TARGET"            // [Deprecated 1.4]
00502 #define DAEMAX_OUTERCONE_LIGHT_PARAMETER1_3         "OUTERCONE"         // [Deprecated 1.4]
00503 #define DAEMAX_OVERSHOOT_LIGHT_PARAMETER1_3         "OVERSHOOT"         // [Deprecated 1.4]
00504 #define DAEMAX_SPECLEVEL_MATERIAL_PARAMETER1_3      "SPEC_LEVEL"        // [Deprecated 1.4]
00505 #define DAEMAX_EMISSIONLEVEL_MATERIAL_PARAMETER1_3  "EMISSION_LEVEL"    // [Deprecated 1.4]
00506 #define DAEMAX_FACETED_MATERIAL_PARAMETER1_3        "FACETED"           // [Deprecated 1.4]
00507 #define DAEMAX_USERPROPERTIES_NODE_PARAMETER1_3     "USER_PROPERTIES"   // [Deprecated 1.4]
00508 
00509 // MAYA Profile Syntax Definitions
00510 
00511 // COLLADA 1.4 Maya-specific definitions
00512 #define DAEMAYA_MAYA_PROFILE                            "MAYA"
00513 
00514 #define DAEMAYA_VAPERTURE_PARAMETER                     "vertical_aperture"
00515 #define DAEMAYA_HAPERTURE_PARAMETER                     "horizontal_aperture"
00516 #define DAEMAYA_LENSSQUEEZE_PARAMETER                   "lens_squeeze"
00517 
00518 #define DAEMAYA_PENUMBRA_LIGHT_PARAMETER                "penumbra_angle"
00519 #define DAEMAYA_DROPOFF_LIGHT_PARAMETER                 "dropoff"
00520 
00521 #define DAEMAYA_NOTE_PARAMETER                          "note"
00522 #define DAEMAYA_VISIBILITY_PARAMETER                    "visibility"
00523 #define DAEMAYA_ENDTIME_PARAMETER                       "end_time"
00524 #define DAEMAYA_STARTTIME_PARAMETER                     "start_time"
00525 
00526 #define DAEMAYA_DRIVER_INPUT                            "DRIVER"
00527 #define DAEMAYA_EXTRA_INPUT                             "EXTRA"
00528 #define DAEMAYA_WEIGHT_INPUT                            "WEIGHT"
00529 #define DAEMAYA_INTANGENTWEIGHT_ANIMATION_INPUT         "IN_TANGENT_WEIGHT"
00530 #define DAEMAYA_OUTTANGENTWEIGHT_ANIMATION_INPUT        "OUT_TANGENT_WEIGHT"
00531 
00532 // COLLADA 1.3 Maya-specific definitions
00533 #define DAEMAYA_BLINDNAME_PARAMETER                     "BLINDNAME"
00534 #define DAEMAYA_BLINDTYPEID_PARAMETER                   "BLINDTYPEID"
00535 #define DAEMAYA_DOUBLE_SIDED_PARAMETER                  "DOUBLE_SIDED"
00536 #define DAEMAYA_LAYER_PARAMETER                         "layer"
00537 #define DAEMAYA_LONGNAME_PARAMETER                      "long_name"
00538 #define DAEMAYA_PREINFINITY_PARAMETER                   "pre_infinity"
00539 #define DAEMAYA_POSTINFINITY_PARAMETER                  "post_infinity"
00540 #define DAEMAYA_PREINFINITY_PARAMETER1_3                "PRE_INFINITY"
00541 #define DAEMAYA_POSTINFINITY_PARAMETER1_3               "POST_INFINITY"
00542 #define DAEMAYA_SHORTNAME_PARAMETER                     "short_name"
00543 
00544 #define DAEMAYA_MAYA_NOTE_PARAMETER1_3                  "MAYA_NOTE"                 // [Deprecated 1.4]
00545 #define DAEMAYA_VISIBILITY_PARAMETER1_3                 "VISIBILITY"                // [Deprecated 1.4]
00546 #define DAEMAYA_ENDTIME_PARAMETER1_3                    "END_TIME"                  // [Deprecated 1.4]
00547 #define DAEMAYA_STARTTIME_PARAMETER1_3                  "START_TIME"                // [Deprecated 1.4]
00548 
00549 #define DAEMAYA_VAPERTURE_PARAMETER1_3                  "VERTICAL_APERTURE"         // [Deprecated 1.4]
00550 #define DAEMAYA_HAPERTURE_PARAMETER1_3                  "HORIZONTAL_APERTURE"       // [Deprecated 1.4]
00551 #define DAEMAYA_LENSSQUEEZE_PARAMETER1_3                "LENS_SQUEEZE"              // [Deprecated 1.4]
00552 
00553 #define DAEMAYA_TEXTURE_WRAPU_PARAMETER                 "wrapU"
00554 #define DAEMAYA_TEXTURE_WRAPV_PARAMETER                 "wrapV"
00555 #define DAEMAYA_TEXTURE_MIRRORU_PARAMETER               "mirrorU"
00556 #define DAEMAYA_TEXTURE_MIRRORV_PARAMETER               "mirrorV"
00557 #define DAEMAYA_TEXTURE_COVERAGEU_PARAMETER             "coverageU"
00558 #define DAEMAYA_TEXTURE_COVERAGEV_PARAMETER             "coverageV"
00559 #define DAEMAYA_TEXTURE_TRANSFRAMEU_PARAMETER           "translateFrameU"
00560 #define DAEMAYA_TEXTURE_TRANSFRAMEV_PARAMETER           "translateFrameV"
00561 #define DAEMAYA_TEXTURE_ROTFRAME_PARAMETER              "rotateFrame"
00562 #define DAEMAYA_TEXTURE_STAGGER_PARAMETER               "stagger"
00563 #define DAEMAYA_TEXTURE_REPEATU_PARAMETER               "repeatU"
00564 #define DAEMAYA_TEXTURE_REPEATV_PARAMETER               "repeatV"
00565 #define DAEMAYA_TEXTURE_OFFSETU_PARAMETER               "offsetU"
00566 #define DAEMAYA_TEXTURE_OFFSETV_PARAMETER               "offsetV"
00567 #define DAEMAYA_TEXTURE_ROTATEUV_PARAMETER              "rotateUV"
00568 #define DAEMAYA_TEXTURE_NOISEU_PARAMETER                "noiseU"
00569 #define DAEMAYA_TEXTURE_NOISEV_PARAMETER                "noiseV"
00570 #define DAEMAYA_TEXTURE_FAST_PARAMETER                  "fast"
00571 #define DAEMAYA_TEXTURE_BLENDMODE_PARAMETER             "blend_mode"
00572 #define DAEMAYA_TEXTURE_BLENDMODE_PARAMETER1_3          "BLEND_MODE"
00573 
00574 #define DAEMAYA_PENUMBRA_LIGHT_PARAMETER1_3             "PENUMBRA_ANGLE"            // [Deprecated 1.4]
00575 
00576 #define DAEMAYA_CONSTANT_INFINITY                       "CONSTANT"          
00577 #define DAEMAYA_LINEAR_INFINITY                         "LINEAR"            
00578 #define DAEMAYA_CYCLE_INFINITY                          "CYCLE"             
00579 #define DAEMAYA_CYCLE_RELATIVE_INFINITY                 "CYCLE_RELATIVE"    
00580 #define DAEMAYA_OSCILLATE_INFINITY                      "OSCILLATE"         
00581 
00582 #define DAEMAYA_NONE_BLENDMODE                          "NONE"
00583 #define DAEMAYA_OVER_BLENDMODE                          "OVER"
00584 #define DAEMAYA_IN_BLENDMODE                            "IN"
00585 #define DAEMAYA_OUT_BLENDMODE                           "OUT"
00586 #define DAEMAYA_ADD_BLENDMODE                           "ADD"
00587 #define DAEMAYA_SUBSTRACT_BLENDMODE                     "SUBSTRACT"
00588 #define DAEMAYA_MULTIPLY_BLENDMODE                      "MULTIPLY"
00589 #define DAEMAYA_DIFFERENCE_BLENDMODE                    "DIFFERENCE"
00590 #define DAEMAYA_LIGHTEN_BLENDMODE                       "LIGHTEN"
00591 #define DAEMAYA_DARKEN_BLENDMODE                        "DARKEN"
00592 #define DAEMAYA_SATURATE_BLENDMODE                      "SATURATE"
00593 #define DAEMAYA_DESATURATE_BLENDMODE                    "DESATURATE"
00594 #define DAEMAYA_ILLUMINATE_BLENDMODE                    "ILLUMINATE"
00595 
00596 #define DAEMAYA_PROJECTION_ELEMENT                      "projection"
00597 #define DAEMAYA_PROJECTION_TYPE_PARAMETER               "type"
00598 #define DAEMAYA_PROJECTION_MATRIX_PARAMETER             "matrix"
00599 
00600 #define DAEMAYA_PROJECTION_PROGRAM                      "PROJECTION"                // [Deprecated 1.4]
00601 #define DAEMAYA_PROJECTION_TYPE_PARAMETER1_3            "TYPE"                      // [Deprecated 1.4]
00602 #define DAEMAYA_PROJECTION_MATRIX_PARAMETER1_3          "MATRIX"                    // [Deprecated 1.4]
00603 
00604 // COLLADA Error export syntax
00605 
00606 #define DAEERR_UNKNOWN_ELEMENT                          "unknown"
00607 #define DAEERR_UNKNOWN_IDREF                            "UNKNOWN_IDREF"
00608 #define DAEERR_UNKNOWN_INPUT                            "UNKNOWN"
00609 #define DAEERR_UNKNOWN_MORPH_METHOD                     "UNKNOWN"
00610 
00611 #endif // _DAE_SYNTAX_H_

Generated on Fri May 12 16:44:39 2006 for FCollada by  doxygen 1.4.6-NO