Game Development Reference
In-Depth Information
axisconverter : 3D modelers use a different convention for which axis is rep-
resenting UP and which axis is to the right. COLLADA supports only three
axis conventions ( X_UP , Y_UP ,and Z_UP ) which cover most needs, and mod-
elers need to do the proper conversion when loading a COLLADA document
that is not using the same convention. Most of the time, when exporting the
content back, the axis convention will change to what the modeler default is,
which may be problematic for an application that can only work in a fixed
convention. It is not the simplest thing to do to change the coordinate sys-
tem, considering animations, skinning, and so forth. This conditioner should
do the work for you.
bindmaterialfixer : some implementations do not correctly use material bind-
ing. This conditioner is attempting to create the bind_material elements
based on the information available.
copyrighter : COLLADA documents contain a copyright notice, which should
be filled in before releasing assets. This conditioner simplifies the task when
applied in a batch mode.
deindexer : COLLADA can store multiple indexes per vertex, which is very
convenient and can save space, but theGPUdoesnotlikehavingmorethan
one index. This conditioner will create a single array (one index) with all
the values for each pixel, resulting in duplicated data, but preparing the data
for GPU consumption. This is one of the most common tasks that has to be
done between the modeler and the application.
filename : this conditioner is used to change the location of externally refer-
enced data (as demonstrated above)
imageConv : This conditioner will apply a format-conversion tool on all the
images externally referenced and change the name in the COLLADA doc-
ument. This is very useful, as applications have a limited choice of image
formats. This can be used to convert images into a format that is closer to
the GPU, such as DDS, including mipmaps.
kmzcleanup : This conditioner was created to specifically fix the buggy COL-
LADA documents exported by SketchUp and available on Wharehouse. The
conditioner is no longer needed, as Google has fixed SketchUp, but this is a
good example of a conditioner that can be applied as an example to create a
conditioner to fix a specific tool. For instance, such a conditioner to prepare
the data for PaperVision 3D would be a good thing to add [Papervision 10].
optimizer : This conditioner will reorder the triangles based on a cost function,
whose goal is to optimize the GPU cache to provide better performance when
drawing the meshes.
Search WWH ::




Custom Search