X3D/VRML Writer Directives

The directives that are processed by the X3D and VRML writers are listed below. The suffixes shown are prefixed by the current writer keyword in a mapping file. By default, the keyword for the X3D writer is X3D, and the keyword for the VRML writer is X3D_VRML. In the following examples, the mapping file syntax will only be provided for the X3D writer. All of the directives apply to both the X3D and VRML writers.

DATASET

The value for this directive is the path to the output folder. If the output folder does not exist, the writer will create a new folder.

An output .x3d/.x3dv file will be created for each feature type within the specified folder.

For example, if you are writing feature types house and barn to dataset

c:\data\x3d

then you will have files

c:\data\x3d\house.x3d

and

c:\data\ x3d \barn.x3d

Feature type fanout is supported in Workbench.

Required/Optional

Required

Mapping File Syntax

X3D_DATASET c:\data\x3d

Workbench Parameter

Destination X3D Folder

TEXTURE_OUTPUT_DIR

Required/Optional

Optional

Workbench Parameter

Output Texture Folder

TEXTURE_OUTPUT_FORMAT

Required/Optional

Optional

Values

PNG | JPEG | GIF | BMP | TIFF | XPM | Auto (default)

Workbench Parameter

Preferred Texture Format

MOVE_TO_LOCAL_COORDSYS

Required/Optional

Optional

Values

Yes| No (default) | PRJ_ONLY

Workbench Parameter

Move to Local Coordinate System