osgearth_atlas1
Compile an osgearth resource catalog into a texture atlas
Usage
osgearth_atlas [{--build
catalog.xml | --size
x
y | --out-image
path | --aux
pattern
r
g
b
a}]
[{--show
catalog.xml | --layer
num | --labels | --aux
pattern}]
Overview
osgearth_atlas will compile an osgEarth resource catalog into a texture atlas.
Options
- FC
--buildF[0] catalog.xml -
Build an atlas from the catalog
- FC
--sizeF[0] x y -
Maximum size of atlas textures
- FC
--out-imageF[0] path -
Output path for the atlas image (defaults to an OSGB file in the working directory). The paths in the resulting catalog file will point to this location using a relative path if possible. Output path for the atlas image (defaults to an OSGB file in the working directory). The paths in the resulting catalog file will point to this location using a relative path if possible.
- FC
--auxF[0] pattern r g b b a -
Build an auxiliary atlas for files matching the pattern "filename_pattern.ext", e.g., "texture.jpg" will match "texture_NML.jpg" for pattern = "NML". The RGBA are the default values to use when no match is found.
- FC
- FC
--showF[0] catalog.xml -
Display an atlas built with this tool
- FC
--layerF[0] num -
Show layer num of the atlas (default = 0)
- FC
--labelsF[0] -
Label each atlas entry
- FC
--auxF[0] pattern -
Show atlas matching this auxiliary file pattern
- FC
Releases
2 releases since Debian 9 (Stretch); the text changed 1 time.