Changeset 1108 for GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
- Timestamp:
- 07/10/06 15:57:11 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
r1107 r1108 659 659 vector<KdLeaf *>::const_iterator it, it_end = leaves.end(); 660 660 661 Material white; 662 white.mDiffuseColor.r = 1; 663 white.mDiffuseColor.g = 1; 664 white.mDiffuseColor.b = 1; 665 661 666 for (it = leaves.begin(); it != it_end; ++ it) 662 667 { 663 668 SetWireframe(); 669 SetForcedMaterial(white); 664 670 ExportBox(ospTree.GetBBox(*it)); 665 671 672 SetFilled(); 666 673 SetForcedMaterial(RandomMaterial()); 667 668 674 ExportGeometry((*it)->mObjects); 669 675 }
Note: See TracChangeset
for help on using the changeset viewer.