Changeset 644 for GTP/trunk/Lib/Vis
- Timestamp:
- 02/15/06 01:00:38 (19 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/scripts/default.env
r643 r644 189 189 #type kdTree 190 190 #type vspKdTree 191 #type bspTree192 type vspBspTree191 type bspTree 192 #type vspBspTree 193 193 194 194 #type sceneDependent … … 214 214 refine false 215 215 compress true 216 merge true216 merge false 217 217 } 218 218 … … 304 304 305 305 # maximal candidates for split planes 306 maxPolyCandidates 0306 maxPolyCandidates 100 307 307 308 308 usePolygonSplitIfAvailable false … … 331 331 missTolerance 6 332 332 333 maxViewCells 2048333 maxViewCells 10000 334 334 335 335 # used for pvs criterium … … 342 342 } 343 343 344 useCostHeuristics false344 useCostHeuristics true 345 345 splitUseOnlyDrivingAxis false 346 346 usePolygonSplitIfAvailable false … … 354 354 BspTree { 355 355 Construction { 356 samples 50000 356 samples 500000 357 357 epsilon 0.005 358 358 } … … 420 420 minProbability 0.001 421 421 maxRayContribution 9999 422 #maxAccRayLength 100 423 maxViewCells 50000 422 maxViewCells 2048 424 423 425 424 # used for pvs criterium … … 444 443 Visualization { 445 444 # x3d visualization of the split planes 446 exportSplits true447 } 448 } 445 exportSplits false 446 } 447 } -
GTP/trunk/Lib/Vis/Preprocessing/src/Ray.cpp
r564 r644 171 171 } 172 172 173 173 174 int Ray::ClassifyPlane(const Plane3 &plane, 174 175 const float minT, … … 185 186 if (entSide < 0) 186 187 { 187 if (extSide > =0)188 if (extSide > 0) 188 189 { 189 190 return BACK_FRONT; … … 193 194 else if (entSide > 0) 194 195 { 195 if (extSide < =0)196 if (extSide < 0) 196 197 return FRONT_BACK; 197 198 … … 201 202 { 202 203 if (extSide > 0) 203 return BACK_FRONT;204 return FRONT; 204 205 else if (extSide < 0) 205 return FRONT_BACK;206 return BACK; 206 207 } 207 208 -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r613 r644 690 690 } 691 691 692 692 //-- empty merge queue just in case 693 693 while (!mMergeQueue.empty()) 694 694 { -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp
r611 r644 1495 1495 const int frontAndBackId = ViewCell::sMailId; 1496 1496 1497 bool useRand; ;1497 bool useRand; 1498 1498 int limit; 1499 1499 … … 1796 1796 } 1797 1797 } 1798 1798 1799 1799 1800 float BspTree::SplitPlaneCost(const Plane3 &candidatePlane,
Note: See TracChangeset
for help on using the changeset viewer.