Mapping File

The Mapping file basically defines the position, orientation and scale of each elements in the texture over the support. The mapping file is a text file format with an *.OPT3DMapping extension.

The Mapping file describes the number of patterns used in a 3D texture, their coordinates, orientation and scale values with respect to the axis system.

The *.OPT3DMapping file is built according to the following structure:
  • First line: number of patterns to be built in the texture.
  • Following lines: x y z ix iy iz jx jy jz kx ky kz
    • x y z: coordinates of the pattern's origin according to the axis system.
    • ix iy iz: orientation of the pattern with the respect of X direction of the axis system.
    • jx jy jz: orientation of the pattern with the respect of Y direction of the axis system.
    • kx ky kz: pattern scale values for x y and z directions.

A value of "1" means 100% of the original pattern size.

Figure 1. Parameters to set for each pattern
Figure 2. Mapping file example