Writer Directives
The directives that are processed by the Obj writer are listed below. The suffixes shown are prefixed by the current <WriterKeyword>_ in a mapping file. By default, the <WriterKeyword> for the Obj writer is OBJ.
DATASET
The value for this directive is the path to the output folder. If the output folder does not exist, then the writer will create a new folder.
An output .obj file will be created for each feature type within the specified folder.
For example, if you are writing to feature types named house and barn to dataset c:\data\obj then you will have files c:\data\obj\house.obj and c:\data\obj\barn.obj.
One common mtl file will be created for the writer and shared by all output files. Feature type fanout is supported.
Mapping File Syntax
OBJ_DATASET c:\data\obj
MATERIAL_LIB
Required/Optional
Optional
Default
Blank
Workbench Parameter
Material Library File
MATERIAL_LIB_LINKAGE
Required/Optional
Optional
Default
Relative
Workbench Parameter
Material Library Linkage
REVERSE_FACE_ORDER
Required/Optional
Optional
Range
Yes | No (default)
Workbench Parameter
Reverse Face Order
TRIANGULATE_FACES
Required/Optional
Optional
Values
Yes (default) | No
Workbench Parameter
Triangulate Faces
WRITE_FME_VERSION
Required/Optional
Optional
This option controls whether the writer creates a comment line specifying the FME version that was used to create the resulting output obj file. Disabling writing version information is useful to support regression tests.
Range
Yes (default) | No
Workbench Parameter
Write FME Version to OBJ File Header
WRITE_POINTS_AND_LINES
Required/Optional
Optional
Range
Yes | No (default)
Workbench Parameter
Write Points and Lines
MOVE_TO_LOCAL_COORDSYS
Required/Optional
Optional
Workbench Parameter
Move To Local Coordinate System
TEXTURE_OUTPUT_FORMAT
Required/Optional
Optional
Values
PNG | JPEG | GIF | BMP | ECW | ERDAS | GEOTIFF | INGR | JPEG2000 | MRSID | PCIDSK | SGI | TIFF | XPM | Auto (default)
Workbench Parameter
Preferred Texture Format