Scroll to navigation

osgearth_atlas(1) osgearth_atlas(1)

NAME

osgearth_atlas - compile an osgEarth resource catalog into a texture atlas

SYNOPSIS


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]

DESCRIPTION

osgearth_atlas will compile an osgEarth resource catalog into a texture atlas.

OPTIONS

--build catalog.xml
Build an atlas from the catalog
--size x y
Maximum size of atlas textures
--out-image 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.
--aux 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.
--show catalog.xml
Display an atlas built with this tool
--layer num
Show layer num of the atlas (default = 0)
--labels
Label each atlas entry
--aux pattern
Show atlas matching this auxiliary file pattern
19 April 2019