Skip to content

Commit

Permalink
gltfpack: Update command line help to mention point cloud simplification
Browse files Browse the repository at this point in the history
Also reduce the redundant information in the short-hand help for -si
option
  • Loading branch information
zeux committed Aug 18, 2023
1 parent cd233c1 commit 4bf6229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gltf/gltfpack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@ int main(int argc, char** argv)
fprintf(stderr, "\t-tq C N: set texture encoding quality for class C\n");
fprintf(stderr, "\t... where C is a comma-separated list (no spaces) with valid values color,normal,attrib\n");
fprintf(stderr, "\nSimplification:\n");
fprintf(stderr, "\t-si R: simplify meshes targeting triangle count ratio R (default: 1; R should be between 0 and 1)\n");
fprintf(stderr, "\t-si R: simplify meshes targeting triangle/point count ratio R (default: 1; R should be between 0 and 1)\n");
fprintf(stderr, "\t-sa: aggressively simplify to the target ratio disregarding quality\n");
fprintf(stderr, "\t-slb: lock border vertices during simplification to avoid gaps on connected meshes\n");
fprintf(stderr, "\nVertices:\n");
Expand Down Expand Up @@ -1492,7 +1492,7 @@ int main(int argc, char** argv)
fprintf(stderr, "\t-o file: output file path, .gltf/.glb\n");
fprintf(stderr, "\t-c: produce compressed gltf/glb files (-cc for higher compression ratio)\n");
fprintf(stderr, "\t-tc: convert all textures to KTX2 with BasisU supercompression\n");
fprintf(stderr, "\t-si R: simplify meshes targeting triangle count ratio R (default: 1; R should be between 0 and 1)\n");
fprintf(stderr, "\t-si R: simplify meshes targeting triangle/point count ratio R (between 0 and 1)\n");
fprintf(stderr, "\nRun gltfpack -h to display a full list of options\n");
}

Expand Down

0 comments on commit 4bf6229

Please sign in to comment.