Ignore:
Timestamp:
07/10/06 15:57:11 (18 years ago)
Author:
mattausch
Message:

working on vsp osp (should I create view cells in each step?)

File:
1 edited

Legend:

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

    r1107 r1108  
    659659        vector<KdLeaf *>::const_iterator it, it_end = leaves.end(); 
    660660 
     661        Material white;  
     662        white.mDiffuseColor.r = 1; 
     663        white.mDiffuseColor.g = 1; 
     664        white.mDiffuseColor.b = 1; 
     665 
    661666        for (it = leaves.begin(); it != it_end; ++ it) 
    662667        { 
    663668                SetWireframe(); 
     669                SetForcedMaterial(white); 
    664670                ExportBox(ospTree.GetBBox(*it)); 
    665671 
     672                SetFilled(); 
    666673                SetForcedMaterial(RandomMaterial()); 
    667  
    668674                ExportGeometry((*it)->mObjects);         
    669675        } 
Note: See TracChangeset for help on using the changeset viewer.