[vtkusers] VTK File Writing

Alex Southern aps at tml.hut.fi
Wed Aug 11 07:25:42 EDT 2010


Hi,

Could you guys take a look at this vtk file I wrote, can you see 
anything wrong with it? I can't, but if you take a look at the JPG of 
paraview screenshots, you will see that the single polygon looks fine in 
wire frame mode but has some weird error when viewed as a surface, this 
is happening with a few files I have written, but the is the most basic 
geometry it occurs with.

JPG at http://www.tml.tkk.fi/~aps/ <http://www.tml.tkk.fi/%7Eaps/>

Thanks
Alex

# vtk DataFile Version 3.0
VTK File Exmaple
ASCII
DATASET POLYDATA
POINTS 6 float
0.0 81.8897637795276 0.0
43.7007874015748 81.8897637795276 0.0
43.7007874015748 150.748031496063 0.0
94.9606299212598 150.748031496063 0.0
94.9606299212598 0.0 0.0
0.0 0.0 0.0
POLYGONS 1 7
6 0 1 2 3 4 5



More information about the vtkusers mailing list