Ignore:
Timestamp:
07/27/06 20:34:55 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1161 r1166  
    2121 
    2222// should not count origin object for sampling because it disturbs heuristics 
    23 #define COUNT_ORIGIN_OBJECTS 0 
     23#define SAMPLE_ORIGIN_OBJECTS 0 
    2424 
    2525namespace GtpVisibilityPreprocessor { 
     
    18981898                        // made in one direction!!! 
    18991899                        // the other contributions of this sample will be counted for the oposite ray! 
    1900 #if COUNT_ORIGIN_OBJECTS 
     1900#if SAMPLE_ORIGIN_OBJECTS 
    19011901                        if (ray.mOriginObject &&  
    19021902                                viewcell->GetPvs().GetSampleContribution(ray.mOriginObject, 
     
    19271927                                        viewcell->GetPvs().AddSample(ray.mTerminationObject, ray.mPdf); 
    19281928                                }                                
    1929 #if COUNT_ORIGIN_OBJECTS 
     1929#if SAMPLE_ORIGIN_OBJECTS 
    19301930                                 if (ray.mOriginObject) 
    19311931                                 { 
     
    58095809                        // made in one direction!!! 
    58105810                        // the other contributions of this sample will be counted for the oposite ray! 
    5811 #if COUNT_ORIGIN_OBJECTS 
     5811#if SAMPLE_ORIGIN_OBJECTS 
    58125812                        if (ray.mOriginObject &&  
    58135813                                viewcell->GetPvs().GetSampleContribution(ray.mOriginObject, 
     
    58505850                                } 
    58515851                                 
    5852 #if COUNT_ORIGIN_OBJECTS 
     5852#if SAMPLE_ORIGIN_OBJECTS 
    58535853                                 if (ray.mOriginObject) 
    58545854                                         viewcell->AddPvsSample(ray.mOriginObject, ray.mPdf, ray.mPvsContribution); 
Note: See TracChangeset for help on using the changeset viewer.