Ignore:
Timestamp:
07/10/06 09:40:20 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1106 r1107  
    655655        ospTree.CollectLeaves(leaves); 
    656656 
     657        mUseForcedMaterial = true; 
     658 
    657659        vector<KdLeaf *>::const_iterator it, it_end = leaves.end(); 
    658660 
    659661        for (it = leaves.begin(); it != it_end; ++ it) 
    660662        { 
     663                SetWireframe(); 
    661664                ExportBox(ospTree.GetBBox(*it)); 
     665 
     666                SetForcedMaterial(RandomMaterial()); 
     667 
     668                ExportGeometry((*it)->mObjects);         
    662669        } 
    663670 
     
    11761183        if (1) 
    11771184        { 
     1185                // export using native or random material 
    11781186                for (oit = objects.begin(); oit != oit_end; ++ oit) 
    11791187                { 
    1180                         if (1) 
     1188                        if (0) 
    11811189                        { 
    11821190                                mUseForcedMaterial = true; 
Note: See TracChangeset for help on using the changeset viewer.