[vtkusers] vtkPOVExporter problem - multiple face_indices

David E DeMarle dave.demarle at kitware.com
Tue May 5 11:47:46 EDT 2009


Hi Ray,

Ollie said that it may be a bug in vtkPOVExporter. If the PolyData has
both polygon and triangle strip, it will generate two face_indices in
a single mesh2.

If you insert a vtkTriangleFilter into the pipeline before the
exported, it should get by the bug.

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:59 PM, Flanery Jr, Raymond E.
<flaneryrejr at ornl.gov> wrote:
> For some reason my application is creating 2 sets of face_indices for each mesh object, which POVRAY does not like. I have reduced this to a fairly simple case. If you run test1.py it generates incorrect povray file, test2.py generates correct povray file. The difference is that test1.py extrudes the polygon and test2.py does not.
>
> I have attached the files. Is there a bug in vtkPOVExporter?
>
> 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