Changeset 1767


Ignore:
Timestamp:
11/19/06 15:46:53 (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/BvHierarchy.cpp

    r1765 r1767  
    100100        return idx; 
    101101} 
     102 
    102103 
    103104 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp

    r1765 r1767  
    14931493        } 
    14941494         
    1495         // -- compute cost 
     1495        /////// 
     1496        //-- compute cost 
     1497 
    14961498        const int lowerPvsLimit = mViewCellsManager->GetMinPvsSize(); 
    14971499        const int upperPvsLimit = mViewCellsManager->GetMaxPvsSize(); 
     
    16101612                        } 
    16111613                        else  
    1612                         {       //-- split plane position is spatial median 
    1613  
     1614                        {        
     1615                                //-- split plane position is spatial median 
    16141616                                nPosition[axis] = (box.Min()[axis] + box.Max()[axis]) * 0.5f; 
    16151617                                Vector3 normal(0,0,0); normal[axis] = 1.0f; 
     
    16251627                                                                                                                                nProbBack[axis]); 
    16261628                                         
     1629                                        // create back geometry from box 
     1630 
     1631                                        // NOTE: the geometry is returned from the function so we 
     1632                                        // don't have to recompute it when possible 
    16271633                                        Vector3 pos; 
    16281634                                         
    1629                                         // create back geometry from box 
    1630                                         // NOTE: the geometry is returned from the function so we 
    1631                                         // don't have to recompute it when possible 
    16321635                                        pos = box.Max(); pos[axis] = nPosition[axis]; 
    16331636                                        AxisAlignedBox3 bBox(box.Min(), pos); 
     1637                                         
    16341638                                        PolygonContainer fPolys; 
    16351639                                        bBox.ExtractPolys(fPolys); 
     
    16371641                                        nBackGeom[axis] = new BspNodeGeometry(fPolys); 
    16381642         
     1643                                        //////////// 
    16391644                                        //-- create front geometry from box 
     1645 
    16401646                                        pos = box.Min(); pos[axis] = nPosition[axis]; 
    16411647                                        AxisAlignedBox3 fBox(pos, box.Max()); 
     
    16851691        } 
    16861692 
     1693        ////////// 
    16871694        //-- assign values 
    16881695 
Note: See TracChangeset for help on using the changeset viewer.