Microsoft DirectX Reader Parameters
Materials
This parameter specifies the folders from which the reader will search to find the texture image files referenced by the DirectX files being read.
Coordinate System
DirectX uses a left-handed coordinate system (LHCS), while FME natively uses a right-handed coordinate system (RHCS).
During import, DirectX features will be transformed to convert to a RHCS according to the option selected on the reader.
- Flip Z: FME will convert DirectX elements to RHCS by scaling all z-values by negative one (-1).
- Swap Y and Z: FME will convert DirectX elements to RHCS by swapping the Y and Z axes.
Using the minimum and maximum x and y parameters, define a bounding box that will be used to filter the input features. Only features that intersect with the bounding box are returned. (Note that this is the bounding box intersection only, and not a full geometry intersection that would be returned by a transformer like the SpatialFilter.)
If all four coordinates of the search envelope are specified as 0, the search envelope will be disabled.
Clip to Search Envelope
When selected, this parameter removes any portions of imported features being read that are outside the Search Envelope.
The example below illustrates the results of the Search Envelope when Clip to Search Envelope is not selected (set to No) and when it is selected (set to Yes).
- No: Any features that cross the search envelope boundary will be read, including the portion that lies outside of the boundary.
- Yes: Any features that cross the search envelope boundary will be clipped at the boundary, and only the portion that lies inside the boundary will be read. The underlying function for the Clip to Search Envelope function is an intersection; however, when Clip to Search Envelope is selected, a clipping operation is also performed in addition to the intersection.