COLLADA (Collaborative Design Activity) Writer Parameters
Texture/Material
The folder to write texture files referenced by the COLLADA .dae files. The texture output folder is generally a subfolder of the output dataset but can be any path relative to the output dataset. All texture image files for the dataset being produced will be written to this folder.
Textured appearances that are shared between feature types of the same dataset will produce COLLADA materials in different .dae files that share the same texture image file. Texture file names are based on the fme appearance name.
Existing old files of the same name from another run or another dataset will be overwritten with new files of the same name.
Yes: A .txt file will be created that contains a list of external texture files used in the corresponding .dae file. The texture list file will have the same base name as the corresponding .dae file but will have the _texture.txt suffix added.
For example, the external texture names for
c:\data\collada\house.dae
will be in a file called
c:\data\collada\house_textures.txt
and texture names for
c:\data\collada\barn.dae
will be in a file called
c:\data\collada\barn_textures.txt
If "house" and "barn" features share textured appearances, then the shared texture name will be both <feature_type> and _textures.txt files.
Specifies the preferred format for associated texture files. This preference will be used as long as the specified format supports the properties of the texture raster; if not, it will be overridden.
In the default Auto mode, the writer chooses the best representation based on the incoming texture raster.
If the preferred format is ignored, a message is added to the log file. Possible reasons that the preference will be ignored include a lack of raster palette support, alpha channel support, or color depth support in the selected format.
Optimization
Yes: All geometries will be triangulated before being written. Geometries will be output with the COLLADA triangles primitive type. Most applications that import COLLADA datasets support this primitive type.
No: Geometries will be written using the COLLADA primitive that most suits their original type. Please note that not all applications that import COLLADA datasets will support all primitive types.
Coordinate System
Note that not all formats offer all the options described below.
- Yes: Coordinates of all the points in the written features will be normalized to the interval [-0.5, 0.5] on the largest side of their XYZ-bounding cube. The other dimensions will be scaled proportionally.
Additionally, the transformation matrix required to scale the model back to world coordinates will be written to a companion .fwt file. This can be used to improve precision of the written coordinates. The companion .fwt file will have the same name as the primary data file and will be written in the same folder. For folder-based formats, the file global.fwt will be written instead.
- No: The original coordinates will be written as provided. Coordinates will not be projected; .fwt world and .prj files will not be generated.
- Create Projection File Only: A companion .prj file containing the coordinate system and having the same name as the primary data file will be written in the same folder. For folder-based formats, the file global.prj will be written instead. Coordinates will not be projected and a world file will not be generated.
- Transform Coordinates Only: Transforms the coordinates as in the Yes option, but companion .prj and .fwt world files will not be generated.