mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
07d379e231
commit
ff3d56f4d8
@ -27,19 +27,23 @@ EggPalettize() : EggMultiFilter(true) {
|
|||||||
set_program_description
|
set_program_description
|
||||||
("egg-palettize attempts to pack several texture maps from various models "
|
("egg-palettize attempts to pack several texture maps from various models "
|
||||||
"together into one or more palette images, for improved rendering performance "
|
"together into one or more palette images, for improved rendering performance "
|
||||||
"and ease of texture management. It can also resize textures on the fly, "
|
"and ease of texture management. It can also resize textures and convert "
|
||||||
"whether or not they are actually placed on a palette.\n\n"
|
"them to another image file format, whether or not they are actually "
|
||||||
|
"placed on a palette, and can manage some "
|
||||||
|
"simple texture properties, like mipmapping and rendering "
|
||||||
|
"format.\n\n"
|
||||||
|
|
||||||
"egg-palettize reads and writes an AttributesFile, which contains instructions "
|
"egg-palettize reads a texture attributes file, usually named "
|
||||||
"from the user about resizing particular textures, as well as the complete "
|
"textures.txa, which contains instructions from the user about "
|
||||||
"information necessary to reconstruct the palettization from past runs, "
|
"resizing particular textures. Type egg-palettize -H for an "
|
||||||
"including references to other egg files that may share this palette. This "
|
"introduction to the syntax of this file.\n\n"
|
||||||
"is designed to allow multiple egg files to use the same palette, without "
|
|
||||||
"having to process them all at once.\n\n"
|
"The palettization information from previous runs is recorded in a file "
|
||||||
|
"named textures.boo (assuming the attributes file is named "
|
||||||
"Note that it is not even necessary to specify any egg files at all on the "
|
"textures.txa); a complete record of every egg file and every texture "
|
||||||
"command line; egg-palettize can be run on an existing AttributesFiles by "
|
"that has been referenced is kept here. This allows the program "
|
||||||
"itself to freshen up a palette when necessary.");
|
"to intelligently manage the multiple egg files that may reference "
|
||||||
|
"the textures in question.\n\n");
|
||||||
|
|
||||||
|
|
||||||
clear_runlines();
|
clear_runlines();
|
||||||
@ -64,7 +68,7 @@ EggPalettize() : EggMultiFilter(true) {
|
|||||||
add_option
|
add_option
|
||||||
("s", "", 0,
|
("s", "", 0,
|
||||||
"Do not process anything, but report statistics on palette "
|
"Do not process anything, but report statistics on palette "
|
||||||
"and texture itilization.",
|
"and texture utilization.",
|
||||||
&EggPalettize::dispatch_none, &_statistics_only);
|
&EggPalettize::dispatch_none, &_statistics_only);
|
||||||
|
|
||||||
// We redefine -d using add_option() instead of redescribe_option()
|
// We redefine -d using add_option() instead of redescribe_option()
|
||||||
@ -81,8 +85,8 @@ EggPalettize() : EggMultiFilter(true) {
|
|||||||
"The directory in which to place all maps: generated palettes, "
|
"The directory in which to place all maps: generated palettes, "
|
||||||
"as well as images which were not placed on palettes "
|
"as well as images which were not placed on palettes "
|
||||||
"(but may have been resized). If this contains the string %g, "
|
"(but may have been resized). If this contains the string %g, "
|
||||||
"this will be replaced with the \"dir\" string associated with a "
|
"this will be replaced with the 'dir' string associated with a "
|
||||||
"palette group.",
|
"palette group; see egg-palettize -H.",
|
||||||
&EggPalettize::dispatch_string, &_got_map_dirname, &_map_dirname);
|
&EggPalettize::dispatch_string, &_got_map_dirname, &_map_dirname);
|
||||||
add_option
|
add_option
|
||||||
("ds", "dirname", 0,
|
("ds", "dirname", 0,
|
||||||
@ -138,11 +142,11 @@ EggPalettize() : EggMultiFilter(true) {
|
|||||||
|
|
||||||
add_option
|
add_option
|
||||||
("nolock", "", 0,
|
("nolock", "", 0,
|
||||||
"Don't attempt to lock the .pi file before rewriting it. Use "
|
"Don't attempt to grab a file lock on the .txa file. Use "
|
||||||
"with extreme caution, as multiple processes running on the same "
|
"with extreme caution, as multiple processes running on the same "
|
||||||
".pi file may overwrite each other. Use this only if the lock "
|
".txa file may overwrite each other. Use this only if the lock "
|
||||||
"cannot be achieved for some reason.",
|
"cannot be achieved for some reason.",
|
||||||
&EggPalettize::dispatch_none, &_dont_lock_pi);
|
&EggPalettize::dispatch_none, &_dont_lock_txa);
|
||||||
add_option
|
add_option
|
||||||
("H", "", 0,
|
("H", "", 0,
|
||||||
"Describe the syntax of the attributes file.",
|
"Describe the syntax of the attributes file.",
|
||||||
|
@ -49,7 +49,7 @@ private:
|
|||||||
bool _optimal;
|
bool _optimal;
|
||||||
bool _redo_all;
|
bool _redo_all;
|
||||||
bool _redo_eggs;
|
bool _redo_eggs;
|
||||||
bool _dont_lock_pi;
|
bool _dont_lock_txa;
|
||||||
|
|
||||||
bool _describe_input_file;
|
bool _describe_input_file;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user