Changeset 1966 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 01/10/07 21:32:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1952 r1966 697 697 int histoMaxVal; 698 698 Environment::GetSingleton()->GetIntValue("Preprocessor.histogram.maxValue", histoMaxVal); 699 maxRenderCost = m ax((float)histoMaxVal, maxRenderCost);699 maxRenderCost = min((float)histoMaxVal, maxRenderCost); 700 700 701 701 … … 2039 2039 PvsFilterStatistics fstat = ApplyFilter2(viewcell, 2040 2040 false, 2041 4.0f,2041 1.0f, 2042 2042 filteredPvs); 2043 2043 … … 2305 2305 { 2306 2306 // copy viewcells memory efficiently 2307 #if VSS_STORE_VIEWCELLS 2307 2308 ray.mViewCells.reserve(viewCells.size()); 2308 2309 ray.mViewCells = viewCells; 2310 #else 2311 cerr<<"Vss store viewcells not supported."<<endl; 2312 exit(1); 2313 #endif 2309 2314 } 2310 2315 … … 2966 2971 #else 2967 2972 radius = 0.5f*globalRadius + 0.5f*localRadius; 2968 stats.mLocalFilterCount++; 2969 stats.mGlobalFilterCount++; 2973 2974 if (localRadius > globalRadius) 2975 stats.mLocalFilterCount++; 2976 else 2977 stats.mGlobalFilterCount++; 2970 2978 #endif 2971 2979
Note: See TracChangeset
for help on using the changeset viewer.