[vtkusers] .vtk file from vertices, normals and polygons
Divya Rathore
divyarathore at gmail.com
Thu Sep 3 11:38:01 EDT 2015
I am trying to create a .vtk file from vertices, normals and polygons:
# vtk Datafile
Vtk file
ASCII
DATASET POLYDATA
#Vertices
POINTS 6000 float
X1 Y1 Z1
...
...
CELL_DATA 6000
NORMALS cell_normals double
x1 y1 z1
...
...
POLYGONS 15000 60000
3 x11 y11 z11
3 ...
3 ...
ParaView gives an error loading this:
VtkPolyDataReader: number of cells don't match number data values!
What am I doing wrong here?
Regards,
Divya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150903/db9b8974/attachment.html>
More information about the vtkusers
mailing list