Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1341)

Unified Diff: converter/cross/converter_main.cc

Issue 147192: Updates the o3dConverter to turn on filtering by default... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: converter/cross/converter_main.cc
===================================================================
--- converter/cross/converter_main.cc (revision 19319)
+++ converter/cross/converter_main.cc (working copy)
@@ -80,9 +80,24 @@
in_filename = o3d::WideToFilePath(values[0]);
out_filename = o3d::WideToFilePath(values[1]);
} else {
- std::cerr << "Usage: " << argv[0]
- << " [--no-condition] [--base-path=<path>] [--up-axis=x,y,z]"
- << " [--pretty-print] <infile.dae> [ <outfile> ]\n";
+ std::cerr << "Usage: " << argv[0]
+ << " [ options ] <infile.dae> [ <outfile> ]\n";
+ std::cerr
+ << "--no-condition\n"
+ << " Stops the converter from conditioning shaders.\n"
+ << "--base-path=<path>\n"
+ << " Sets the base path for finding textures and other external\n"
+ << " files.\n"
+ << "--up-axis=x,y,z\n"
+ << " Converts the file to have this up axis.\n"
+ << "--pretty-print\n"
+ << " Makes the exported JSON easier to read.\n"
+ << "--keep-filters\n"
+ << " Stops the converter from forcing all texture samplers to use\n"
+ << " tri-linear filtering.\n"
+ << "--keep-materials\n"
+ << " Stops the converter from changing materials to <constant> if\n"
+ << " they are used by a mesh that has no normals.\n";
return EXIT_FAILURE;
}

Powered by Google App Engine
This is Rietveld 408576698