Ignore:
Timestamp:
10/19/06 16:14:29 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1640 r1649  
    2727 
    2828// should not count origin object for sampling because it disturbs heuristics 
    29 #define SAMPLE_ORIGIN_OBJECTS 0 
     29#define SAMPLE_ORIGIN_OBJECTS 1 
    3030 
    3131// $$JB HACK 
     
    19141914 
    19151915                        if (ray.mTerminationObject)  
    1916                           {                      
    1917                                  
    1918  
    1919                           if (viewcell->GetPvs().GetSampleContribution(obj, 
    1920                                                                                                                    ray.mPdf, 
    1921                                                                                                                    contribution)) 
     1916                        {                        
     1917                                if (viewcell->GetPvs().GetSampleContribution(obj, 
     1918                                        ray.mPdf, 
     1919                                        contribution)) 
    19221920                                { 
    1923                                   ++ ray.mPvsContribution; 
    1924                                   ray.mRelativePvsContribution += contribution; 
     1921                                        ++ ray.mPvsContribution; 
     1922                                        ray.mRelativePvsContribution += contribution; 
    19251923                                } 
    19261924                        } 
Note: See TracChangeset for help on using the changeset viewer.