[vtkusers] way to many vertices being dumped in POVexport

Flanery Jr, Raymond E. flaneryrejr at ornl.gov
Mon Apr 27 10:45:27 EDT 2009


I found why this was happening. If I first run vtkCleanPolyData it removes the unused vertices from the dataset so that POV exporter only writes out the necessary vertices.

Ray Flanery
________________________________________
From: David E DeMarle [dave.demarle at kitware.com]
Sent: Friday, April 24, 2009 5:04 PM
To: Flanery Jr, Raymond E.
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] way to many vertices being dumped in POVexport

Hi Ray,

Ollie and I are looking at it. You are one of the first users of the
POV exporter. So it is likely these are undiscovered bugs.

thanks,

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Fri, Apr 24, 2009 at 12:16 PM, Flanery Jr, Raymond E.
<flaneryrejr at ornl.gov> wrote:
> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list