Changeset 1584 for GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
- Timestamp:
- 10/08/06 23:29:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r1582 r1584 25 25 26 26 #define DEBUG_RAYCAST 0 27 #define SHOW_RAYCAST_TIMING 1 27 28 28 29 … … 882 883 { 883 884 mRayCaster->CastRays16( 884 i,885 rays,886 vssRays,887 mViewCellsManager->GetViewSpaceBox(),888 castDoubleRays,889 pruneInvalidRays);885 i, 886 rays, 887 vssRays, 888 mViewCellsManager->GetViewSpaceBox(), 889 castDoubleRays, 890 pruneInvalidRays); 890 891 i += 16; 891 892 } 892 893 else 893 {894 { 894 895 mRayCaster->CastRay( 895 rays[i],896 vssRays,897 mViewCellsManager->GetViewSpaceBox(),898 castDoubleRays,899 pruneInvalidRays);896 rays[i], 897 vssRays, 898 mViewCellsManager->GetViewSpaceBox(), 899 castDoubleRays, 900 pruneInvalidRays); 900 901 i ++; 901 } 902 } 903 904 if (i % 10000 == 0) 905 cout<<"."; 906 907 #if DEBUB_RAYCAST 902 } 903 if (i % 10000 == 0) 904 cout<<"."; 905 } 906 907 908 908 long t2 = GetTime(); 909 910 #if SHOW_RAYCAST_TIMING 909 911 if (castDoubleRays) 910 912 cout << 2 * rays.size() / (1e3f * TimeDiff(t1, t2)) << "M rays/s" << endl; … … 956 958 // do not store anything else then intersections at the ray 957 959 ray.Init(point, direction, Ray::LOCAL_RAY); 958 } 959 960 961 } 960 961 } 962 963 964 }
Note: See TracChangeset
for help on using the changeset viewer.