From a2ba75b331b70a0169d21ed3bdc8720d3c09de94 Mon Sep 17 00:00:00 2001 From: cignoni Date: Sat, 12 Nov 2005 06:43:20 +0000 Subject: [PATCH] better description of -c param --- apps/metro/readme.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/metro/readme.txt b/apps/metro/readme.txt index 39026c11..0195cdbb 100644 --- a/apps/metro/readme.txt +++ b/apps/metro/readme.txt @@ -82,4 +82,14 @@ where "file1" and "file2" are the input meshes in PLY, OFF or STL format, and op -h write files with histograms of error distribution -G Use a static Uniform Grid as Search Structure (default) -A Use an Axis Aligned Bounding Box Tree as Search Structure - -H Use an Hashed Uniform Grid as Search Structure \ No newline at end of file + -H Use an Hashed Uniform Grid as Search Structure + + +The -C option is useful for creating a set of meshes with a coherent coloring scheme. +It sets how the errors are mapped into color according to the following formula, +let e be the error and ColorRamp be a R->RGB function mapping 0..1 values +into a smooth RedYellowGreenCyanBlue ramp: + + e=Clamp(e,min,max); + VertexColor = ColorRamp( (e-min)/(max-min) ); +