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

Unified Diff: converter/cross/converter.h

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
« no previous file with comments | « no previous file | converter/cross/converter.cc » ('j') | converter/cross/converter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: converter/cross/converter.h
===================================================================
--- converter/cross/converter.h (revision 19319)
+++ converter/cross/converter.h (working copy)
@@ -50,7 +50,10 @@
: base_path(FilePath::kCurrentDirectory),
condition(true),
up_axis(0, 0, 0),
- pretty_print(false) {}
+ pretty_print(false),
+ keep_filters(false),
+ keep_materials(false) {
+ }
// The path to the "base" of the model path, from which all paths
// are made relative. Defaults to the current directory.
@@ -68,6 +71,13 @@
// pretty-printed (formatted with spaces and newlines) or just
// emitted as one huge one-line string. Defaults to false.
bool pretty_print;
+
+ // Tells the converter not to set all filters to tri-linear.
+ bool keep_filters;
+
+ // Tells the covnerter not to change materials to constant if they are used
apatrick 2009/06/26 20:04:29 covnerter -> converter
+ // by a mesh that has no normals.
+ bool keep_materials;
};
// Converts the given file for use in O3D. This is done by
« no previous file with comments | « no previous file | converter/cross/converter.cc » ('j') | converter/cross/converter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698