Changeset 2515 for GTP/trunk/Lib/Vis/Preprocessing/src
- Timestamp:
- 07/03/07 17:10:12 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Material.cpp
r2173 r2515 33 33 RgbColor color; 34 34 35 float value = 1.0f - _value; 35 36 float value = 4.0f*(1.0f - _value); 37 38 if (value < 0.0f) 39 value = 0.0f; 40 else 41 if (value > 4.0f) 42 value = 4.0f; 36 43 37 44 #define MAX_COLOR_VALUE 1.0f 38 int band = (int)(value*4.0f); 39 value = value - band; 45 46 int band = (int)(value); 47 48 value -= band; 40 49 41 50 switch (band) { -
GTP/trunk/Lib/Vis/Preprocessing/src/run_test2
r2147 r2515 3 3 4 4 #COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+" 5 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer --preprocessor_evaluate_filter- -samples_per_evaluation=5000000 -samples_per_pass=1000000 -total_samples=100000000"5 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer+ -preprocessor_evaluate_filter- -samples_per_evaluation=5000000 -samples_per_pass=1000000 -total_samples=100000000" 6 6 7 7
Note: See TracChangeset
for help on using the changeset viewer.