# The file with default settings for CubeMap, Optimizer
# Version 1.05
# Parameters for CubeMap and Optimizer: the input file and output folder
InputFile Q:\illustrations\Harr_surface\harr_surface_opa.raw
OutFolder G:\SpaceEngine_0.980\out\surface\
# Parameters for CubeMap: input file
InputWidth 8192 # width of the input image
InputHeight 4096 # height of the input image
InputChannels 4 # number of channels (Grayscale - 1, RGB - 3, RGBA - 4, etc.)
Input16bit false # capacity: 16 or 8 bits per channel
InputByteSwap false # for 16-bit: little endian
InputUnsigned true # for 16-bit: unsigned or signed values
InputLatOffset 0 # shift in longitude, degrees
# Parameters for CubeMap and Optimizer: output files
OutFormat jpg # output format (raw, tga, png, jpg, tif, dds)
OutFormat2 png # output format (raw, tga, png, jpg, tif, dds) for lower byte or alpha channel (for SeparateHiLo or SeparateRGBA)
SeparateRGBA true # for RGBA: output RGB and Alpha channels as separate tiles
SeparateHiLo false # for 16-bit: output high byte and low byte as separate tiles
TileWidth 512 # resolution of tile (width and height)
TileBorder 1 # add the pixels from the neighboring tiles around the perimeter of each tile
Out16bit false # capacity: 16 or 8 bits per channel (only raw and png)
OutByteSwap false # for 16-bit: little endian
OutUnsigned false # for 16-bit: unsigned or signed values
OutInvertAlpha false # invert alpha channel for RGBA-image
OutJPEGquality 100 # JPEG quality
DoublePrecision true # use double resolution of the input file for calculation
# Parameters for CubeMap: normalization of the elevation map
Normalize false # for the 1-channel: normalize the output image (elevation map)
EnterNormData false # enter information for normalization or calculate it from the input file
NormMinValue -10577 # data for the normalization: the minimum value (height)
NormMaxValue 8430 # data for the normalization: the maximum value (height)
# Parameters for CubeMap: a basic cylindrical texture
BaseTexDownSize 4 # how many times to reduce the original texture
BaseTexFormat png # basic texture format
# Parameters for CubeMap: cache
MaxMem 512 # cache size in megabytes
MethodSide Line # mode of caching data for the side cubemap faces (NEG_X, POS_X, NEG_Z, POS_Z): Line, Quad
MethodPolar Line # mode of caching data for the polar cubemap faces (NEG_Y, POS_Y): Line, Quad
# Parameters to Optimizer
MinVar 20.0 # minimum variation of pixel's colors in the tile
Remove false # true - completely remove blank tiles, false - move to the temporary folder
# Parameters for CubeMap: choice faces to create
Create_NEG_X 1
Create_POS_X 1
Create_NEG_Y 1
Create_POS_Y 1
Create_NEG_Z 1
Create_POS_Z 1
# Parameters for CubeMap: stages
CreateBaseTex 1 # create a basic texture
DoConvert 1 # convert the selected faces (i.e. compute the faces of cubemap, stored in the temporary raw files)
DoDownSize 1 # compute the LODs of selected faces
DoUpdateEdges 1 # for AddExtraData = true: update of the pixels at the edges of the faces of these adjacent faces (the temporary raw files of all the faces must be calculated!)
DoTile 1 # split temporary raw-files of selected faces into the tiles of format OutFormat
DeleteTempRAW 1 # remove temporary raw-files