From e1d5d80ce736e106ae1926e8b0082743c5c37594 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 9 Jun 2004 17:18:30 +0000 Subject: [PATCH] Initial Release --- apps/shadevis/shadevis.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 apps/shadevis/shadevis.txt diff --git a/apps/shadevis/shadevis.txt b/apps/shadevis/shadevis.txt new file mode 100644 index 00000000..34b66355 --- /dev/null +++ b/apps/shadevis/shadevis.txt @@ -0,0 +1,31 @@ +This value is mapped into a gray shade according to this formula + +v=clamp(v,LowPass,HighPass) +v=(v-LowPass)/(HighPass-LowPass) +graylevel=GammaCorrection(v,GammaLev) + +Some useful hints: + + keys + +'c' compute the sampling (sample are added so pressing c twice is the same of using 2n sampling directions) +'S' save a ply with the currently computed color. +'s' smooth (average) the computed visibility +' ' add the current view to the sampling direction + +'l' Increase LowPass +'L' Decrease LowPass +'h' Increase HighPass +'H' Decrease HighPass +'g' Increase GammaLev +'G' Decrease GammaLev + +'a' Toggle Lighting +'A' Toggle per vertex coloring + + options + +-n set the number of sampling direction (default 32, but 100~1000 should be better) +-f flip normal of the surface +-z specify the z tolerance used to decide if a vertex is visible against the zbuffer or not (default 1e-4, useful range 1e-3 .. 1e-6) +