Ignore:
Timestamp:
01/28/07 23:41:59 (17 years ago)
Author:
mattausch
Message:

warning: the mutation contains bugs now as internal
ray casting support is not implemented

File:
1 edited

Legend:

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

    r2060 r2063  
    336336                                                                                                  ) 
    337337{ 
     338#ifdef GTP_INTERNAL 
     339 
    338340  // first reconstruct the termination point 
    339341  Vector3 oldDir = Normalize(oldRay.GetDir()); 
     
    368370  float left = 0.0f; 
    369371  float right = 1.0f; 
     372 
    370373  // cast rays to find silhouette ray 
    371374  for (int j=0; j < mSilhouetteSearchSteps; j++) { 
     
    442445  } 
    443446 
    444  
     447#else 
     448cerr << "warning: reverse mutation not supported!" << endl; 
     449#endif 
    445450   
    446451  return true; 
     
    460465                                                                                                                                ) 
    461466{ 
     467#ifdef GTP_INTERNAL 
     468 
    462469  const int packetSize = 4; 
    463470  static int hit_triangles[packetSize]; 
     
    516523  //  cout<<i<<endl; 
    517524  return shifts[i]; 
     525 
     526#else 
     527        cerr << "warning: shiluette mutation not supported" << endl; 
     528        return Vector3(0, 0, 0); 
     529#endif 
     530   
    518531} 
    519532 
Note: See TracChangeset for help on using the changeset viewer.