Changeset 1149 for GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
- Timestamp:
- 07/25/06 08:42:07 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r1147 r1149 1358 1358 float &position) 1359 1359 { 1360 RayInfoContainer usedRays , savedRays;1361 1362 /*if (mMaxTests < rays.size())1363 { 1364 GetRay Sets(rays, mMaxTests, usedRays, savedRays);1360 RayInfoContainer usedRays; 1361 1362 if (mMaxTests < rays.size()) 1363 { 1364 GetRayInfoSets(rays, mMaxTests, usedRays); 1365 1365 } 1366 1366 else 1367 { */1367 { 1368 1368 usedRays = rays; 1369 //}1369 } 1370 1370 1371 1371 const float minBox = box.Min(axis); … … 1405 1405 1406 1406 // set all object as belonging to the front pvs 1407 for(ri = rays.begin(); ri != ri_end; ++ ri)1407 for(ri = usedRays.begin(); ri != ri_end; ++ ri) 1408 1408 { 1409 1409 Intersectable *oObject = (*ri).mRay->mOriginObject; … … 1500 1500 1501 1501 // HACK: current positition is BETWEEN visibility events 1502 if ((ci + 1) != ci_end) 1502 if (0 && ((ci + 1) != ci_end)) 1503 { 1503 1504 currentPos = ((*ci).value + (*(ci + 1)).value) * 0.5f; 1505 } 1504 1506 else 1505 1507 currentPos = (*ci).value; 1506 1508 1507 1509 //Debug << "pos=" << (*ci).value << "\t pvs=(" << pvsl << "," << pvsr << ")" << endl;
Note: See TracChangeset
for help on using the changeset viewer.