[vtkusers] RE: [vtk-developers] .obj files

Lorensen, William E (Research) lorensen at crd.ge.com
Thu Oct 31 12:56:20 EST 2002


Put the reader output through a CleanPolyData. The OBJ reader does not merge duplicate points.

Bill

-----Original Message-----
From: Theodore Papatheodorou [mailto:tp500 at doc.ic.ac.uk]
Sent: Wednesday, October 30, 2002 5:58 AM
To: vtk-developers at public.kitware.com; vtkusers at public.kitware.com
Subject: [vtk-developers] .obj files


Hi,
I am trying to load a file using the vtkOBJReader which reads an
OBJ file and returns a vtkPolyDataStructure. The file I am trying to
load contains 9000 points. However when it is loaded and converted to
PolyData it contains more than 40.000 points which is incorrect. I
printed out these points and I have all the points that are in the file
repeated 3-4 times each in random intervals inside the polydata
structure.
Do you know why this happens. Is there a known bug with vtkOBJReader?
Thanks for your advice!!
Theodoros

_______________________________________________
vtk-developers mailing list
vtk-developers at public.kitware.com
http://public.kitware.com/mailman/listinfo/vtk-developers



More information about the vtkusers mailing list