OpenSceneGraph (OSGB/OSGT) Writer Parameters

Native OSG Output File Type

This parameter indicates which version of OSG to write:

  • Text.osgt ASCII text files
  • Binary.osgb files

Output Texture Folder

The folder to write texture files. The texture output folder is generally a subfolder of the output dataset but can be any path relative to the output dataset. All textures image files for the dataset being produced will be written to this folder.

Texture filenames are based on the FME appearance name. Existing files of the same name from another translation or another dataset will be overwritten with new files of the same name.

2-Sided Common Image Handling

This parameter determines which texture coordinates will be used when a geometry surface with the same texture on the back and front sides is written. This is because the format supports only one texture.

  • Use Front Presentation – Front texture coordinates are written, and back coordinates are ignored.
  • Use Back Presentation – Back texture coordinates are written, and front coordinates are ignored.
  • Split Surface – Both texture coordinates are output; however, this is done by splitting the surface and outputting two different geodes with the same vertex pool. Use caution when selecting this parameter because it produces very large files.

Coordinate Precision

This parameter determines whether coordinates are written using single or double precision.

Double precision may not be compatible with all third-party viewers.

Note:

  • Double precision may not be compatible with all third-party viewers.
  • Writers added in earlier versions of FME without this writer parameter use double precision.

Add Root Group Node

  • Yes – An additional Group node will be added at the root of OSG hierarchy. This may improve compatibility with third-party viewers.

PagedLOD Reference Format

This parameter controls the reference format used for PagedLOD nodes.

  • Auto – The reference format is set to match the Native OSG output file type parameter.
  • Original – The reference format is left as-is.
  • Binary – The reference format is set to Binary.
  • Text – The reference format is set to Text.

Coordinate System