Skip to content

Commit 3aabda6

Browse files
committed
Improve MeshDenoiser usage message with supported formats
- Added tool description - Listed all supported input formats (OBJ, PLY, OFF, STL, glTF, USD) - Grouped formats by library for clarity - Added multiple usage examples showing format flexibility - More helpful for users discovering supported formats
1 parent 2d561ad commit 3aabda6

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

overrides/MeshSDFilter/MeshDenoiser.cpp

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,19 @@ int main(int argc, char **argv)
555555
{
556556
if(argc != 4)
557557
{
558-
std::cout << "Usage:\tMeshDenoiser OPTION_FILE INPUT_MESH OUTPUT_MESH" << std::endl;
558+
std::cout << "MeshDenoiser - Mesh normal denoising filter" << std::endl;
559+
std::cout << std::endl;
560+
std::cout << "Usage: MeshDenoiser OPTION_FILE INPUT_MESH OUTPUT_MESH" << std::endl;
561+
std::cout << std::endl;
562+
std::cout << "Supported input formats:" << std::endl;
563+
std::cout << " - OBJ, PLY, OFF, STL (via OpenMesh)" << std::endl;
564+
std::cout << " - glTF (.gltf, .glb)" << std::endl;
565+
std::cout << " - USD (.usd, .usda, .usdc, .usdz)" << std::endl;
566+
std::cout << std::endl;
567+
std::cout << "Example:" << std::endl;
568+
std::cout << " MeshDenoiser options.txt input.obj output.obj" << std::endl;
569+
std::cout << " MeshDenoiser options.txt model.gltf denoised.obj" << std::endl;
570+
std::cout << " MeshDenoiser options.txt scene.usdz clean.ply" << std::endl;
559571
return 1;
560572
}
561573

0 commit comments

Comments
 (0)