Ignore:
Timestamp:
05/02/06 16:47:50 (18 years ago)
Author:
bittner
Message:

mesh inntersection bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/PreprocessorThread.cpp

    r871 r878  
    2323{ 
    2424   
    25   if (mPreprocessor->mComputeVisibility) { 
    26     mPreprocessor->ComputeVisibility(); 
    27         //      mPreprocessor->ExportPreprocessedData("scene.vis"); 
    28         mPreprocessor->PostProcessVisibility(); 
    29   } 
    30    
    3125  Camera camera; 
    3226 
    3327  if (0) { 
    34     // camera.LookAtBox(mPreprocessor->mKdTree->GetBox()); 
    35         //      camera.LookInBox(mPreprocessor->mKdTree->GetBox()); 
     28        // camera.LookAtBox(mPreprocessor->mKdTree->GetBox()); 
     29         //     camera.LookInBox(mPreprocessor->mKdTree->GetBox()); 
    3630        camera.SetPosition(Vector3(3473, 6.778, -1699)); 
    3731        camera.SetDirection(Vector3(-0.2432, 0, 0.97)); 
     32        //      camera.SetPosition(Vector3(991.7, 187.8, -271)); 
     33        //      camera.SetDirection(Vector3(0.9, 0, -0.4)); 
     34 
    3835    camera.SnapImage("camera.jpg", mPreprocessor->mKdTree, mPreprocessor->mSceneGraph); 
    39   } 
     36  }  
     37 
    4038  if (0) { 
    4139    camera.LookInBox(mPreprocessor->mKdTree->GetBox()); 
     
    5048  } 
    5149 
     50  if (mPreprocessor->mComputeVisibility) { 
     51    mPreprocessor->ComputeVisibility(); 
     52        //      mPreprocessor->ExportPreprocessedData("scene.vis"); 
     53        mPreprocessor->PostProcessVisibility(); 
     54  } 
     55   
     56 
    5257 
    5358  cerr << "Preprocessor main finished...\n"; 
Note: See TracChangeset for help on using the changeset viewer.