- Timestamp:
- 01/28/07 23:41:59 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Mutation.cpp
r2060 r2063 336 336 ) 337 337 { 338 #ifdef GTP_INTERNAL 339 338 340 // first reconstruct the termination point 339 341 Vector3 oldDir = Normalize(oldRay.GetDir()); … … 368 370 float left = 0.0f; 369 371 float right = 1.0f; 372 370 373 // cast rays to find silhouette ray 371 374 for (int j=0; j < mSilhouetteSearchSteps; j++) { … … 442 445 } 443 446 444 447 #else 448 cerr << "warning: reverse mutation not supported!" << endl; 449 #endif 445 450 446 451 return true; … … 460 465 ) 461 466 { 467 #ifdef GTP_INTERNAL 468 462 469 const int packetSize = 4; 463 470 static int hit_triangles[packetSize]; … … 516 523 // cout<<i<<endl; 517 524 return shifts[i]; 525 526 #else 527 cerr << "warning: shiluette mutation not supported" << endl; 528 return Vector3(0, 0, 0); 529 #endif 530 518 531 } 519 532 -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.vcproj
r2048 r2063 320 320 OptimizeForProcessor="3" 321 321 OptimizeForWindowsApplication="TRUE" 322 AdditionalIncludeDirectories="..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\MultiLevelRayTracing;"$(QTDIR)\include\QtCore";"$(QTDIR)\include\QtGui";"$(QTDIR)\include";"$(QTDIR)\include\QtOpenGl";"$(CG_INC_PATH)" "322 AdditionalIncludeDirectories="..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\MultiLevelRayTracing;"$(QTDIR)\include\QtCore";"$(QTDIR)\include\QtGui";"$(QTDIR)\include";"$(QTDIR)\include\QtOpenGl";"$(CG_INC_PATH)";Timer" 323 323 PreprocessorDefinitions="WIN32;NDEBUG;_LIB;USE_QT;ATI" 324 324 ExceptionHandling="TRUE" -
GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.h
r2048 r2063 54 54 const bool pruneInvalidRays = true) = 0; 55 55 56 virtual void CastRays16( 57 SimpleRayContainer &rays, 58 VssRayContainer &vssRays, 59 const AxisAlignedBox3 &sbox, 60 const bool castDoubleRay, 61 const bool pruneInvalidRays = true) = 0; 56 virtual void CastRays16(SimpleRayContainer &rays, 57 VssRayContainer &vssRays, 58 const AxisAlignedBox3 &sbox, 59 const bool castDoubleRay, 60 const bool pruneInvalidRays = true) = 0; 62 61 63 64 virtual void 65 SortRays(SimpleRayContainer &rays); 62 /*virtual void CastRaysEye4(SimpleRayContainer &rays, 63 VssRayContainer &vssRays, 64 const AxisAlignedBox3 &sbox, 65 const bool castDoubleRay, 66 const bool pruneInvalidRays = true) = 0; 67 */ 68 virtual void 69 SortRays(SimpleRayContainer &rays); 66 70 67 71 -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp
r2053 r2063 64 64 static SAXParser::ValSchemes valScheme = SAXParser::Val_Auto; 65 65 66 #define PVS_HACK 166 #define PVS_HACK 0 67 67 68 68 inline static bool ilt(Intersectable *obj1, Intersectable *obj2) -
GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp
r1966 r2063 624 624 } 625 625 626 } 626 627 void VssPreprocessor::DeterminePvsObjects(VssRayContainer &rays) 628 { 629 mViewCellsManager->DeterminePvsObjects(rays, true); 630 } 631 632 633 } -
GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.h
r1771 r2063 89 89 void TestBeamCasting(VssTree *tre, ViewCellsManager *vm, const ObjectContainer &objects); 90 90 91 void DeterminePvsObjects(VssRayContainer &rays); 92 91 93 bool mTestBeamSampling; 92 94
Note: See TracChangeset
for help on using the changeset viewer.