AgGx3dTerrainTextureCreate

AgGx3dTerrainTextureCreate.exe is a stand-alone application that converts images from many standard formats to .pdttx image files. You can use a .pdttx file with a .pdtt file to visualize imagery on terrain.

Using the application

You can run AgGx3dTerrainTextureCreate.exe from a command prompt window or from another application. The command format is:

AgGx3dTerrainTextureCreate -i "<input image file>"
  • -o "<output file>"
  • -h "<RPF header file>"
  • -it <CIB | CADRG>
  • -tc <None | DXT1>
  • -iMinLat <image minimum latitude in degrees>
  • -iMaxLat <image maximum latitude in degrees>
  • -iMinLon<image minimum longitude in degrees>
  • -iMaxLon <image maximum longitude in degrees>
  • -gMinLat <geometry minimum latitude in degrees>
  • -gMaxLat <geometry maximum latitude in degrees>
  • -gMinLon <geometry minimum longitude in degrees>
  • -gMaxLon <geometry maximum longitude in degrees>
  • -tColor <Red Green Blue | Gray>
  • -cb "<reference central body>" (default "Earth")
Argument Description
-i "<input image file>" The image file that you want to convert. The file type is determined from the extension of the file name. The list of supported formats depends on which image plugins are installed with STK. If the input file format requires a header file, you must use the -h argument. Refer to the Valid Imagery Formats topic for a list of the image file formats that you can convert.
-o "<output file>" The .pdttx file (name and path) that you want to create.
-h "<RPF header file>" The header file to use with an image in CIB or CADRG format. This argument is not required for all other formats.
-it <CIB | CADRG> The specific format, if the input file is in CIB or CADRG format. This argument is not required for all other formats.
-tc <None | DXT1> The compression that you want to use when converting the image. Enter DXT1 to use OpenGL DXT1 texture compression. This compression is glossy and applicable for color images only. AGI recommends that you do not use compression. This argument is not required.
-iMinLat <image minimum latitude in degrees> The overall bounding geographic extent of the entire image. This argument is not required for images that include geographic positioning, such as CIB, CADRB, or geoTif.
-iMaxLat <image maximum latitude in degrees>
-iMinLon <image minimum longitude in degrees>
-iMaxLon <image maximum longitude in degrees>
-gMinLat <geometry minimum latitude in degrees> The subsample geographic extent of the image that you are converting. This extent must be completely within the overall bounding extent of the image specified by the -i arguments. If you do not specify this argument, the overall extent will be used.
-gMaxLat <geometry maximum latitude in degrees>
-gMinLon <geometry minimum longitude in degrees>
-gMaxLon <geometry maximum longitude in degrees>
-tColor <Red Green Blue | Gray> The transparent color values. Valid values are from 0 to 255. If this argument is specified, none of the pixels of this value in the image will be drawn. If the image has one channel, specify only one gray value. If the image has three channels, specify red, green, and blue. If you do not specify this argument, transparent colors will not be used.
-cb "<reference central body>" The central body associated with this image. If you do not specify this argument, the central body will be Earth.