Changeset 2515 for GTP


Ignore:
Timestamp:
07/03/07 17:10:12 (17 years ago)
Author:
bittner
Message:

update after long time

Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Material.cpp

    r2173 r2515  
    3333  RgbColor color; 
    3434 
    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; 
    3643 
    3744#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; 
    4049   
    4150  switch (band) { 
  • GTP/trunk/Lib/Vis/Preprocessing/src/run_test2

    r2147 r2515  
    33 
    44#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" 
     5COMMAND="../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" 
    66 
    77 
Note: See TracChangeset for help on using the changeset viewer.