Changeset 1523 for GTP/trunk/Lib


Ignore:
Timestamp:
09/27/06 19:38:03 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
2 edited

Legend:

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

    r1522 r1523  
    100100        const float len = Magnitude(a); 
    101101 
    102         const Vector3 dir1 = CrossProd(a, b); //N((pi-xp)×(pi+1- pi)); 
    103         const Vector3 dir2 = CrossProd(a, c); // N((pi-xp)×(pi- pi-1)) 
     102        const Vector3 dir1 = Normalize(CrossProd(a, b)); //N((pi-xp)×(pi+1- pi)); 
     103        const Vector3 dir2 = Normalize(CrossProd(a, c)); // N((pi-xp)×(pi- pi-1)) 
    104104        const Vector3 dir3 = DotProd(dir1, dir2) > 0 ? // N((pi-xp)×di,i-1+di,i+1×(pi-xp)) 
    105105                Normalize(dir2 + dir1) : Normalize(CrossProd(a, dir2) + CrossProd(dir1, a));  
     
    114114         
    115115        vertices.push_back(pt1); 
    116         vertices.push_back(pt2); 
     116        //vertices.push_back(pt2); 
    117117        vertices.push_back(pt3); 
    118118} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp

    r1522 r1523  
    191191        DEL_PTR(mRenderSimulator); 
    192192        DEL_PTR(renderer); 
     193        DEL_PTR(mRayCaster); 
    193194} 
    194195 
     
    425426bool Preprocessor::PrepareViewCells() 
    426427{ 
     428        /////// 
    427429        //-- parse view cells construction method 
    428430        Environment::GetSingleton()->GetBoolValue("ViewCells.loadFromFile", mLoadViewCells); 
     
    448450         
    449451        //////// 
    450         //-- render heuristics evaluation 
     452        //-- evaluation of render cost heuristics 
    451453        float objRenderCost = 0, vcOverhead = 0, moveSpeed = 0; 
    452454 
Note: See TracChangeset for help on using the changeset viewer.