Changeset 1166 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 07/27/06 20:34:55 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1161 r1166 21 21 22 22 // should not count origin object for sampling because it disturbs heuristics 23 #define COUNT_ORIGIN_OBJECTS 023 #define SAMPLE_ORIGIN_OBJECTS 0 24 24 25 25 namespace GtpVisibilityPreprocessor { … … 1898 1898 // made in one direction!!! 1899 1899 // the other contributions of this sample will be counted for the oposite ray! 1900 #if COUNT_ORIGIN_OBJECTS1900 #if SAMPLE_ORIGIN_OBJECTS 1901 1901 if (ray.mOriginObject && 1902 1902 viewcell->GetPvs().GetSampleContribution(ray.mOriginObject, … … 1927 1927 viewcell->GetPvs().AddSample(ray.mTerminationObject, ray.mPdf); 1928 1928 } 1929 #if COUNT_ORIGIN_OBJECTS1929 #if SAMPLE_ORIGIN_OBJECTS 1930 1930 if (ray.mOriginObject) 1931 1931 { … … 5809 5809 // made in one direction!!! 5810 5810 // the other contributions of this sample will be counted for the oposite ray! 5811 #if COUNT_ORIGIN_OBJECTS5811 #if SAMPLE_ORIGIN_OBJECTS 5812 5812 if (ray.mOriginObject && 5813 5813 viewcell->GetPvs().GetSampleContribution(ray.mOriginObject, … … 5850 5850 } 5851 5851 5852 #if COUNT_ORIGIN_OBJECTS5852 #if SAMPLE_ORIGIN_OBJECTS 5853 5853 if (ray.mOriginObject) 5854 5854 viewcell->AddPvsSample(ray.mOriginObject, ray.mPdf, ray.mPvsContribution);
Note: See TracChangeset
for help on using the changeset viewer.