[vtkusers] vtkPolyData exported to OpenInventor

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Thu Aug 7 03:04:50 EDT 2003


Chris Scharver wrote:
> At 4:36 PM +0200 on 08/06/2003, imho wrote:
> 
> 
>>I'd like to use the MESH program http://mesh.epfl.ch/ to compute
>>differences between two meshes.
>>
>>This program said that my poly is: "empty (no faces)"
> 
> 
> It looks like it's a problem with MESH. Checking its source, it says "only the Coordinate3-point and IndexedFaceSet-coordIndex fields are read." I wonder if it's having a problem reading the file written by vtkIVWriter?
> 
> I also noticed that MESH accepts PLY files. Maybe try using vtkPLYWriter to see if that works?

The fact is that I was able to produce a working iv file based on imho's 
data. So I really don't understand what is going on...

The two main issues I had was:
* degenerate cells: solved with vtkCleanPolyData
* triangle strips : solved with vtkTriangleFilter

my 2 cents
mathieu




More information about the vtkusers mailing list