[vtkusers] way to many vertices being dumped in POVexport
Flanery Jr, Raymond E.
flaneryrejr at ornl.gov
Fri Apr 24 12:16:27 EDT 2009
POV-RAY bombs on my vtkPOVExporter output. I am trying to export 'building' from vtk to pov-ray. I have a python script that reads in building footprints as polygons, reads another file of associated heights and base values and extrudes the building shapes based on this. I have cut down my input to about 850 buildings and was having problems. So, in the script, the loop that creates actors for each building has been modified with if k!=607: continue to create only one building from the entire set. This single building was chosen since the footprint is a simple rectangle, yet in my output pov file I still have over 11K vertices. I don't understand why vtk is outputing all of the original vertices when only a few are actually used in the rendering of the actor.
Ray Flanery
More information about the vtkusers
mailing list