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.

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.
Possible values are:
- Auto (default) – The writer chooses the best representation based on the incoming texture raster.
- BMP
- GIF
- JPEG
- PNG
- SGI
- TIFF
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.
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:
|
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

Note that the options described below are not available in all formats.
- 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.