COLLADA Schema
Version 1.5.0 (August 6, 2008)
Copyright (C) 2008 The Khronos Group Inc., Sony Computer Entertainment Inc.
All Rights Reserved.
Khronos is a trademark of The Khronos Group Inc.
COLLADA is a trademark of Sony Computer Entertainment Inc. used by permission by Khronos.
Note that this software document is distributed on an "AS IS" basis, with ALL EXPRESS AND
IMPLIED WARRANTIES AND CONDITIONS DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED
WARRANTIES AND CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR
PURPOSE, AND NON-INFRINGEMENT.
An enumuerated type specifying the acceptable morph methods.
An enumerated type specifying the acceptable node types.
An enumerated type specifying the acceptable sampler pre and post behavior attribute types.
This urifragment_type element is used for URI reference which can only reference a resource declared within it's same document.
An enumerated type specifying the acceptable up-axis values.
An enumerated type specifying the acceptable document versions.
The input_global_type element is used to represent inputs that can reference external resources.
The semantic attribute is the user-defined meaning of the input connection. Required attribute.
The source attribute indicates the location of the data source. Required attribute.
The input_local_type element is used to represent inputs that can only reference resources declared in the same document.
The semantic attribute is the user-defined meaning of the input connection. Required attribute.
The source attribute indicates the location of the data source. Required attribute.
The input_local_offset_type element is used to represent indexed inputs that can only reference resources declared in the same document.
The offset attribute represents the offset into the list of indices. If two input elements share
the same offset, they will be indexed the same. This works as a simple form of compression for the
list of indices as well as defining the order the inputs should be used in. Required attribute.
The semantic attribute is the user-defined meaning of the input connection. Required attribute.
The source attribute indicates the location of the data source. Required attribute.
The set attribute indicates which inputs should be grouped together as a single set. This is helpful
when multiple inputs share the same semantics.
The targetable_float_type element is used to represent elements which contain a single float value which can
be targeted for animation.
The sid attribute is a text string value containing the sub-identifier of this element. This
value must be unique within the scope of the parent element. Optional attribute.
The targetable_float3_type element is used to represent elements which contain a float3 value which can
be targeted for animation.
The sid attribute is a text string value containing the sub-identifier of this element.
This value must be unique within the scope of the parent element. Optional attribute.
The token_array_type element declares the storage for a homogenous array of xs:token string values.
The id attribute is a text string containing the unique identifier of this element.
This value must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of values in the array. Required attribute.
The IDREF_array element declares the storage for a homogenous array of ID reference values.
The id attribute is a text string containing the unique identifier of this element. This value
must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of values in the array. Required attribute.
The Name_array element declares the storage for a homogenous array of Name string values.
The id attribute is a text string containing the unique identifier of this element.
This value must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of values in the array. Required attribute.
The bool_array element declares the storage for a homogenous array of boolean values.
The id attribute is a text string containing the unique identifier of this element.
This value must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of values in the array. Required attribute.
The float_array element declares the storage for a homogenous array of floating point values.
The id attribute is a text string containing the unique identifier of this element. This value
must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of values in the array. Required attribute.
The digits attribute indicates the number of significant decimal digits of the float values that
can be contained in the array. The default value is 6. Optional attribute.
The magnitude attribute indicates the largest exponent of the float values that can be contained
in the array. The default value is 38. Optional attribute.
The int_array element declares the storage for a homogenous array of integer values.
The id attribute is a text string containing the unique identifier of this element.
This value must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of values in the array. Required attribute.
The minInclusive attribute indicates the smallest integer value that can be contained in
the array. The default value is -2147483648. Optional attribute.
The maxInclusive attribute indicates the largest integer value that can be contained in
the array. The default value is 2147483647. Optional attribute.
The param element declares parametric information regarding its parent element.
The name attribute is the text string name of this element. Optional attribute.
The sid attribute is a text string value containing the sub-identifier of this element.
This value must be unique within the scope of the parent element. Optional attribute.
The semantic attribute is the user-defined meaning of the parameter. Optional attribute.
The type attribute indicates the type of the value data. This text string must be understood
by the application. Required attribute.
The accessor element declares an access pattern to one of the array elements: float_array,
int_array, Name_array, bool_array, token_array, and IDREF_array. The accessor element describes access
to arrays that are organized in either an interleaved or non-interleaved manner, depending
on the offset and stride attributes.
The accessor element may have any number of param elements.
The count attribute indicates the number of times the array is accessed. Required attribute.
The offset attribute indicates the index of the first value to be read from the array.
The default value is 0. Optional attribute.
The source attribute indicates the location of the array to access using a URL expression. Required attribute.
The stride attribute indicates number of values to be considered a unit during each access to
the array. The default value is 1, indicating that a single value is accessed. Optional attribute.
The p element represents primitive data for the primitive types (lines, linestrips, polygons,
polylist, triangles, trifans, tristrips). The p element contains indices that reference into
the parent's source elements referenced by the input elements.
The lookat element contains a position and orientation transformation suitable for aiming a camera.
The lookat element contains three mathematical vectors within it that describe:
1. The position of the object;
2. The position of the interest point;
3. The direction that points up.
The sid attribute is a text string value containing the sub-identifier of this element.
This value must be unique within the scope of the parent element. Optional attribute.
Matrix transformations embody mathematical changes to points within a coordinate systems or the
coordinate system itself. The matrix element contains a 4-by-4 matrix of floating-point values.
The sid attribute is a text string value containing the sub-identifier of this element.
This value must be unique within the scope of the parent element. Optional attribute.
The scale element contains a mathematical vector that represents the relative proportions of the
X, Y and Z axes of a coordinated system.
The skew element contains an angle and two mathematical vectors that represent the axis of
rotation and the axis of translation.
The sid attribute is a text string value containing the sub-identifier of this element.
This value must be unique within the scope of the parent element. Optional attribute.
The translate element contains a mathematical vector that represents the distance along the
X, Y and Z-axes.
Initialize purely from a file. Assume the characteristics of the file. If it is a complex format like DDS this may include cube maps, volumes, mips, etc.
The data element contains a sequence of hexadecimal encoded binary octets representing the embedded image data. The format attribute is use the determine which codec decodes the image's descriptions and data.
The format attribute is a text string value that indicates the image format. Examples include "DDS", "EXR", "BMP", "JPG", and "PNG". Note that all of these formats have internal descriptors of size, bpp, etc.
Zero is max levels = 1 + floor(log2(max(w, h, d)))
in both OpenGL and DirectX. One is no mips.
regenerate the mipmaps based on information loaded into mip0
The per-texel layout of the format. The length of the string indicate how many channels there are and the letter respresents the name of the channel. There are typically 0 to 4 channels.
RGB color map
RGB color + Alpha map often used for color + transparency or other things packed into channel A like specular power
RGB color + shared exponent for HDR
Luminance map often used for light mapping
Luminance+Alpha map often used for light mapping
Depth map often used for displacement, parellax, relief, or shadow mapping. Depth is depth seperate from Luminace to make special hardware considerations
Each channel of the texel has a precision. Typically these are all linked together. An exact format lay lower the precision of an individual channel but applying a higher precision by linking the channels together may still convey the same information.
Designer does not care as long as it provides "reasonable" percision and performance
For integers this typically represents 8 bits. For floats typically 16 bits.
For integers this typically represents 8 to 24 bits. For floats typically 16 to 32 bits.
For integers this typically represents 16 to 32 bits. For floats typically 24 to 32 bits.
Typically 32 bits or 64 bits if available. 64 bit has been seperated into it's own catagory beyond HIGH because it typically has significant performance impact and is beyond what non CAD software considers high percision.
Each channel represents a range of values. Some example ranges are signed or unsigned integers, or between between a clamped range such as 0.0f to 1.0f, or high dynamic range via floating point
Format is representing a decimal value that remains within the -1 to 1 range. Implimentation could be integer-fixedpoint or floats.
Format is representing a decimal value that remains within the 0 to 1 range. Implimentation could be integer-fixedpoint or floats.
Format is representing signed integer numbers. (ex. 8bits = -128 to 127)
Format is representing unsigned integer numbers. (ex. 8bits = 0 to 255)
Format should support full floating point ranges. High precision is expected to be 32bit. Mid precision may be 16 to 32 bit. Low precision is expected to be 16 bit.
The channel element declares an output channel of an animation.
The source attribute indicates the location of the sampler using a URL expression.
The sampler must be declared within the same document. Required attribute.
The target attribute indicates the location of the element bound to the output of the sampler.
This text string is a path-name following a simple syntax described in Address Syntax.
Required attribute.
The sampler element declares an N-dimensional function used for animation. Animation function curves
are represented by 1-D sampler elements in COLLADA. The sampler defines sampling points and how to
interpolate between them.
The input element must occur at least one time. These inputs are local inputs.
The id attribute is a text string containing the unique identifier of this element. This value
must be unique within the instance document. Optional attribute.
Indicates what the sampled value should be before the first key.
Indicates what the sampled value should be after the last key.
The legal values for the mode attribute on the altitute element in a
geographic_location element.
enable-xmlns
The technique element declares the information used to process some portion of the content. Each
technique conforms to an associated profile. Techniques generally act as a "switch". If more than
one is present for a particular portion of content, on import, one or the other is picked, but
usually not both. Selection should be based on which profile the importing application can support.
Techniques contain application data and programs, making them assets that can be managed as a unit.
The profile attribute indicates the type of profile. This is a vendor defined character
string that indicates the platform or capability target for the technique. Required attribute.
The extra element declares additional information regarding its parent element.
The extra element may contain an asset element.
This element must contain at least one non-common profile technique.
The id attribute is a text string containing the unique identifier of this element. This value
must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The type attribute indicates the type of the value data. This text string must be understood by
the application. Optional attribute.
The polylist element provides the information needed to bind vertex attributes together and
then organize those vertices into individual polygons. The polygons described in polylist can
contain arbitrary numbers of vertices. Unlike the polygons element, the polylist element cannot
contain polygons with holes.
The input element may occur any number of times. This input is a local input with the
offset and set attributes.
The vcount element contains a list of integers describing the number of sides for each polygon
described by the polylist element. The vcount element may occur once.
The polylist element may have zero or one p element.
The extra element may appear any number of times.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of polygon primitives. Required attribute.
The material attribute declares a symbol for a material. This symbol is bound to a material at
the time of instantiation. If the material attribute is not specified then the lighting and
shading results are application defined. Optional attribute.
The polygons element provides the information needed to bind vertex attributes together and
then organize those vertices into individual polygons. The polygons described can contain
arbitrary numbers of vertices. These polygons may be self intersecting and may also contain holes.
The input element may occur any number of times. This input is a local input with the
offset and set attributes.
The p element may occur any number of times.
The ph element may occur any number of times. It describes a polygon with holes.
There may only be one p element.
The h element represents a hole in the polygon specified. There must be at least one h element.
The extra element may appear any number of times.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of polygon primitives. Required attribute.
The material attribute declares a symbol for a material. This symbol is bound to a material
at the time of instantiation. If the material attribute is not specified then the lighting
and shading results are application defined. Optional attribute.
The linestrips element provides the information needed to bind vertex attributes together and
then organize those vertices into connected line-strips. Each line-strip described by the mesh
has an arbitrary number of vertices. Each line segment within the line-strip is formed from the
current vertex and the preceding vertex.
The input element may occur any number of times. This input is a local input with the offset
and set attributes.
The linestrips element may have any number of p elements.
The extra element may appear any number of times.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of linestrip primitives. Required attribute.
The material attribute declares a symbol for a material. This symbol is bound to a material
at the time of instantiation. If the material attribute is not specified then the lighting
and shading results are application defined. Optional attribute.
The tristrips element provides the information needed to bind vertex attributes together and then
organize those vertices into connected triangles. Each triangle described by the mesh has three
vertices. The first triangle is formed from first, second, and third vertices. Each subsequent
triangle is formed from the current vertex, reusing the previous two vertices.
The input element may occur any number of times. This input is a local input with the offset
and set attributes.
The tristrips element may have any number of p elements.
The extra element may appear any number of times.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of triangle strip primitives. Required attribute.
The material attribute declares a symbol for a material. This symbol is bound to a material
at the time of instantiation. If the material attribute is not specified then the lighting
and shading results are application defined. Optional attribute.
The lines element provides the information needed to bind vertex attributes together and then
organize those vertices into individual lines. Each line described by the mesh has two vertices.
The first line is formed from first and second vertices. The second line is formed from the
third and fourth vertices and so on.
The input element may occur any number of times. This input is a local input with the offset
and set attributes.
The lines element may have zero or one p element.
The extra element may appear any number of times.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of line primitives. Required attribute.
The material attribute declares a symbol for a material. This symbol is bound to a material at
the time of instantiation. If the material attribute is not specified then the lighting and
shading results are application defined. Optional attribute.
The triangles element provides the information needed to bind vertex attributes together and
then organize those vertices into individual triangles. Each triangle described by the mesh has
three vertices. The first triangle is formed from the first, second, and third vertices. The
second triangle is formed from the fourth, fifth, and sixth vertices, and so on.
The input element may occur any number of times. This input is a local input with the
offset and set attributes.
The triangles element may have zero or one p element.
The extra element may appear any number of times.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of triangle primitives. Required attribute.
The material attribute declares a symbol for a material. This symbol is bound to a material at
the time of instantiation. Optional attribute. If the material attribute is not specified then
the lighting and shading results are application defined.
The trifans element provides the information needed to bind vertex attributes together and then
organize those vertices into connected triangles. Each triangle described by the mesh has three
vertices. The first triangle is formed from first, second, and third vertices. Each subsequent
triangle is formed from the current vertex, reusing the first and the previous vertices.
The input element may occur any number of times. This input is a local input with the
offset and set attributes.
The trifans element may have any number of p elements.
The extra element may appear any number of times.
The name attribute is the text string name of this element. Optional attribute.
The count attribute indicates the number of triangle fan primitives. Required attribute.
The material attribute declares a symbol for a material. This symbol is bound to a material
at the time of instantiation. If the material attribute is not specified then the lighting
and shading results are application defined. Optional attribute.
The vertices element declares the attributes and identity of mesh-vertices. The vertices element
describes mesh-vertices in a mesh geometry. The mesh-vertices represent the position (identity)
of the vertices comprising the mesh and other vertex attributes that are invariant to tessellation.
The input element must occur at least one time. These inputs are local inputs.
The extra element may appear any number of times.
The id attribute is a text string containing the unique identifier of this element. This
value must be unique within the instance document. Required attribute.
The name attribute is the text string name of this element. Optional attribute.
The asset element defines asset management information regarding its parent element.
The contributor element defines authoring information for asset management
The author element contains a string with the author's name.
There may be only one author element.
Contains a string with author's email address. String that compliant with RFC 2822 section 3.4. This element has no attributes. There may be only one author email address.
Contains a URI reference (xs:anyURI) to author's website. This element has no attributes. There may be only one author website.
The authoring_tool element contains a string with the authoring tool's name.
There may be only one authoring_tool element.
The comments element contains a string with comments from this contributor.
There may be only one comments element.
The copyright element contains a string with copyright information.
There may be only one copyright element.
The source_data element contains a URI reference to the source data used for this asset.
There may be only one source_data element.
Specifies the location of the asset using the WGS84 coordinate system.
Altitude is always given in meters. If the mode is "absolute", then the value is interpreted as meters from mean sea level. If the mode is "relativeToGround" then the value is interpreted as meters above the actual ground elevation at that particular location.
The created element contains the date and time that the parent element was created and is
represented in an ISO 8601 format. The created element may appear zero or one time.
The keywords element contains a list of words used as search criteria for the parent element.
There may be only one keywords element.
The modified element contains the date and time that the parent element was last modified and
represented in an ISO 8601 format. The modified element may appear zero or one time.
The revision element contains the revision information for the parent element. The revision
element may appear zero or one time.
The subject element contains a description of the topical subject of the parent element. The
subject element may appear zero or one time.
The title element contains the title information for the parent element. The title element may
appear zero or one time.
The unit element contains descriptive information about unit of measure. It has attributes for
the name of the unit and the measurement with respect to the meter. The unit element may appear
zero or one time.
The meter attribute specifies the measurement with respect to the meter. The default
value for the meter attribute is "1.0".
The name attribute specifies the name of the unit. The default value for the name
attribute is "meter".
The up_axis element contains descriptive information about coordinate system of the geometric
data. All coordinates are right-handed by definition. This element specifies which axis is
considered up. The default is the Y-axis. The up_axis element may appear zero or one time.
The image element may contain an asset element.
This image is renderable if this element is used
As a render target, true = shared across all users, false = unique per instance
initialize the whole image structure and data from formats like DDS
If true, unless mips already exist in data, generate the mipmaps based on information loaded into mip0,
Initialize a custom 2d image
sizing
The surface should be sized to these exact dimensions
Image size should be relative to the size of the viewport. Ex 1,1 is the same size as the viewport. 0.5,0.5 is 1/2 the size of the viewport
mips and texel addressing
Unnormalized addressing of texels. (0-W, 0-H). This cannot be used with mips since the addressing is not uniform per level. This is equivilant to OpenGL textureRECT extension.
If not present it is assumed to be R8G8B8A8 linear.
if this element or a higher precidence element is not present then use a common format R8G8B8A8 with linear color gradient, not sRGB.
The per-texel layout of the format. The length of the string indicate how many channels there are and the letter respresents the name of the channel. There are typically 0 to 4 channels.
Each channel represents a range of values. Some example ranges are signed or unsigned integers, or between between a clamped range such as 0.0f to 1.0f, or high dynamic range via floating point
Each channel of the texel has a precision. Typically these are all linked together. An exact format lay lower the precision of an individual channel but applying a higher precision by linking the channels together may still convey the same information.
linear(default), sRGB
Contains a string representing the profile and platform specific texel format that the author would like this surface to use. If this element is not specified then the application will fall back to the hint
init the image data from one or more partial pieces of data. The load attribute indicates what portion of the image will be loaded based on the ''address" specified. mip_generate may be used to complete the image.
Initialize a custom 3d image
The surface should be sized to these exact dimensions
Zero is not an array
If not present it is assumed to be R8G8B8A8 linear.
if this element or a higher precidence element is not present then use a common format R8G8B8A8 with linear color gradient, not sRGB.
The per-texel layout of the format. The length of the string indicate how many channels there are and the letter respresents the name of the channel. There are typically 0 to 4 channels.
Each channel represents a range of values. Some example ranges are signed or unsigned integers, or between between a clamped range such as 0.0f to 1.0f, or high dynamic range via floating point
Each channel of the texel has a precision. Typically these are all linked together. An exact format lay lower the precision of an individual channel but applying a higher precision by linking the channels together may still convey the same information.
linear(default), sRGB
Contains a string representing the profile and platform specific texel format that the author would like this surface to use. If this element is not specified then the application will fall back to the hint
init the image data from one or more partial pieces of data. The load attribute indicates what portion of the image will be loaded based on the ''address" specified. mip_generate may be used to complete the image.
Initialize a custom cube image
The surface should be sized to these exact dimensions
Zero is not an array
If not present it is assumed to be R8G8B8A8 linear.
if this element or a higher precidence element is not present then use a common format R8G8B8A8 with linear color gradient, not sRGB.
The per-texel layout of the format. The length of the string indicate how many channels there are and the letter respresents the name of the channel. There are typically 0 to 4 channels.
Each channel represents a range of values. Some example ranges are signed or unsigned integers, or between between a clamped range such as 0.0f to 1.0f, or high dynamic range via floating point
Each channel of the texel has a precision. Typically these are all linked together. An exact format lay lower the precision of an individual channel but applying a higher precision by linking the channels together may still convey the same information.
linear(default), sRGB
Contains a string representing the profile and platform specific texel format that the author would like this surface to use. If this element is not specified then the application will fall back to the hint
init the image data from one or more partial pieces of data. The load attribute indicates what portion of the image will be loaded based on the ''address" specified. mip_generate may be used to complete the image.
The extra element may appear any number of times.
The id attribute is a text string containing the unique identifier of this element. This value
must be unique within the instance document. Optional attribute.
sub identifier
The name attribute is the text string name of this element. Optional attribute.
The camera element declares a view into the scene hierarchy or scene graph. The camera contains
elements that describe the camera's optics and imager.
The camera element may contain an asset element.
Optics represents the apparatus on a camera that projects the image onto the image sensor.
The technique_common element specifies the optics information for the common profile
which all COLLADA implementations need to support.
The orthographic element describes the field of view of an orthographic camera.
The xmag element contains a floating point number describing the horizontal
magnification of the view.
The ymag element contains a floating point number describing the vertical
magnification of the view. It can also have a sid.
The aspect_ratio element contains a floating point number describing the aspect ratio of
the field of view. If the aspect_ratio element is not present the aspect ratio is to be
calculated from the xmag or ymag elements and the current viewport.
The znear element contains a floating point number that describes the distance to the near
clipping plane. The znear element must occur exactly once.
The zfar element contains a floating point number that describes the distance to the far
clipping plane. The zfar element must occur exactly once.
The perspective element describes the optics of a perspective camera.
The xfov element contains a floating point number describing the horizontal field of view in degrees.
The yfov element contains a floating point number describing the verticle field of view in degrees.
The aspect_ratio element contains a floating point number describing the aspect ratio of the field
of view. If the aspect_ratio element is not present the aspect ratio is to be calculated from the
xfov or yfov elements and the current viewport.
The znear element contains a floating point number that describes the distance to the near
clipping plane. The znear element must occur exactly once.
The zfar element contains a floating point number that describes the distance to the far
clipping plane. The zfar element must occur exactly once.
This element may contain any number of non-common profile techniques.
The extra element may appear any number of times.
Imagers represent the image sensor of a camera (for example film or CCD).
This element may contain any number of non-common profile techniques.
There is no common technique for imager.
The extra element may appear any number of times.
The extra element may appear any number of times.
The id attribute is a text string containing the unique identifier of this element. This value
must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The light element declares a light source that illuminates the scene.
Light sources have many different properties and radiate light in many different patterns and
frequencies.
The light element may contain an asset element.
The technique_common element specifies the light information for the common profile which all
COLLADA implementations need to support.
The ambient element declares the parameters required to describe an ambient light source.
An ambient light is one that lights everything evenly, regardless of location or orientation.
The color element contains three floating point numbers specifying the color of the light.
The color element must occur exactly once.
The directional element declares the parameters required to describe a directional light source.
A directional light is one that lights everything from the same direction, regardless of location.
The light's default direction vector in local coordinates is [0,0,-1], pointing down the -Z axis.
The actual direction of the light is defined by the transform of the node where the light is
instantiated.
The color element contains three floating point numbers specifying the color of the light.
The color element must occur exactly once.
The point element declares the parameters required to describe a point light source. A point light
source radiates light in all directions from a known location in space. The intensity of a point
light source is attenuated as the distance to the light source increases. The position of the light
is defined by the transform of the node in which it is instantiated.
The color element contains three floating point numbers specifying the color of the light.
The color element must occur exactly once.
The constant_attenuation is used to calculate the total attenuation of this light given a distance.
The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
The linear_attenuation is used to calculate the total attenuation of this light given a distance.
The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
The quadratic_attenuation is used to calculate the total attenuation of this light given a distance.
The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
The spot element declares the parameters required to describe a spot light source. A spot light
source radiates light in one direction from a known location in space. The light radiates from
the spot light source in a cone shape. The intensity of the light is attenuated as the radiation
angle increases away from the direction of the light source. The intensity of a spot light source
is also attenuated as the distance to the light source increases. The position of the light is
defined by the transform of the node in which it is instantiated. The light's default direction
vector in local coordinates is [0,0,-1], pointing down the -Z axis. The actual direction of the
light is defined by the transform of the node where the light is instantiated.
The color element contains three floating point numbers specifying the color of the light.
The color element must occur exactly once.
The constant_attenuation is used to calculate the total attenuation of this light given a distance.
The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
The linear_attenuation is used to calculate the total attenuation of this light given a distance.
The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
The quadratic_attenuation is used to calculate the total attenuation of this light given a distance.
The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
The falloff_angle is used to specify the amount of attenuation based on the direction of the light.
The falloff_exponent is used to specify the amount of attenuation based on the direction of the light.
This element may contain any number of non-common profile techniques.
The extra element may appear any number of times.
The id attribute is a text string containing the unique identifier of this element.
This value must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The instance_with_extra_type element is used for all generic instance elements. A generic instance element
is one which does not have any specific child elements declared.
The extra element may occur any number of times.
The url attribute refers to resource to instantiate. This may refer to a local resource using a
relative URL fragment identifier that begins with the "#" character. The url attribute may refer
to an external resource using an absolute or relative URL.
The sid attribute is a text string value containing the sub-identifier of this element. This
value must be unique within the scope of the parent element. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The instance_camera element declares the instantiation of a COLLADA camera resource.
The instance_force_field element declares the instantiation of a COLLADA force_field resource.
The instance_light element declares the instantiation of a COLLADA light resource.
The instance_material element declares the instantiation of a COLLADA material resource.
The bind element binds values to effect parameters upon instantiation.
The semantic attribute specifies which effect parameter to bind.
The target attribute specifies the location of the value to bind to the specified semantic.
This text string is a path-name following a simple syntax described in the "Addressing Syntax"
section.
The bind_vertex_input element binds vertex inputs to effect parameters upon instantiation.
The semantic attribute specifies which effect parameter to bind.
The input_semantic attribute specifies which input semantic to bind.
The input_set attribute specifies which input set to bind.
The extra element may appear any number of times.
The symbol attribute specifies which symbol defined from within the geometry this material binds to.
The target attribute specifies the URL of the location of the object to instantiate.
The sid attribute is a text string value containing the sub-identifier of this element. This
value must be unique within the scope of the parent element. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
Bind a specific material to a piece of geometry, binding varying and uniform parameters at the
same time.
The bind_material element may contain any number of param elements.
The technique_common element specifies the bind_material information for the common
profile which all COLLADA implementations need to support.
The instance_material element specifies the information needed to bind a geometry
to a material. This element must appear at least once.
This element may contain any number of non-common profile techniques.
The extra element may appear any number of times.
The instance_controller element declares the instantiation of a COLLADA controller resource.
The skeleton element is used to indicate where a skin controller is to start to search for
the joint nodes it needs. This element is meaningless for morph controllers.
Bind a specific material to a piece of geometry, binding varying and uniform parameters at the
same time.
The extra element may appear any number of times.
The url attribute refers to resource. This may refer to a local resource using a relative
URL fragment identifier that begins with the "#" character. The url attribute may refer to an
external resource using an absolute or relative URL.
The sid attribute is a text string value containing the sub-identifier of this element. This
value must be unique within the scope of the parent element. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The instance_geometry element declares the instantiation of a COLLADA geometry resource.
Bind a specific material to a piece of geometry, binding varying and uniform parameters at the
same time.
The extra element may appear any number of times.
The url attribute refers to resource. This may refer to a local resource using a relative URL
fragment identifier that begins with the "#" character. The url attribute may refer to an external
resource using an absolute or relative URL.
The sid attribute is a text string value containing the sub-identifier of this element. This
value must be unique within the scope of the parent element. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The instance_node element declares the instantiation of a COLLADA node resource.
The instance_physics_material element declares the instantiation of a COLLADA physics_material
resource.
This element allows instancing a rigid_constraint within an instance_physics_model.
The extra element may appear any number of times.
The constraint attribute indicates which rigid_constraing to instantiate. Required attribute.
The sid attribute is a text string value containing the sub-identifier of this element. This
value must be unique within the scope of the parent element. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The library_cameras element declares a module of camera elements.
The library_cameras element may contain an asset element.
There must be at least one camera element.
The extra element may appear any number of times.
The id attribute is a text string containing the unique identifier of this element.
This value must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The library_images element declares a module of image elements.
The library_images element may contain an asset element.
There must be at least one image element.
The extra element may appear any number of times.
The id attribute is a text string containing the unique identifier of this element.
This value must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
The library_lights element declares a module of light elements.
The library_lights element may contain an asset element.
There must be at least one light element.
The extra element may appear any number of times.
The id attribute is a text string containing the unique identifier of this element.
This value must be unique within the instance document. Optional attribute.
The name attribute is the text string name of this element. Optional attribute.
When a transparent opaque attribute is set to A_ONE, it means the transparency information will be taken from the alpha channel of the color, texture, or parameter supplying the value. The value of 1.0 is opaque in this mode.