[vtkusers] A simple VTK file format definition issue?
    Alex Southern 
    mrapsouthern at gmail.com
       
    Sat Jun 30 05:58:05 EDT 2012
    
    
  
Hi,
Iver been looking at this for a couple of hours and I just cant find the 
probelm.
What is wrong with this geometry definition?
The last 2 polygons do not show up correctly, they produce the desired 
polygon plus some additional unwanted planes, that flicker as you rotate 
the model. The problem must be in this definition as it also occurs in 
Paraview.
Any help, have i got the format wrong or something?
Thanks
A.
# vtk DataFile Version 3.0
my VTK file
ASCII
DATASET POLYDATA
POINTS 16 float
4.000000 3.000000 3.000000
4.000000 0.000000 3.000000
4.000000 0.000000 0.000000
4.000000 3.000000 0.000000
6.000000 3.000000 0.000000
6.000000 7.000000 0.000000
6.000000 7.000000 3.000000
6.000000 3.000000 3.000000
3.000000 7.000000 0.000000
3.000000 7.000000 3.000000
3.000000 4.000000 0.000000
3.000000 4.000000 3.000000
0.000000 4.000000 0.000000
0.000000 4.000000 3.000000
0.000000 0.000000 0.000000
0.000000 0.000000 3.000000
POLYGONS 10 58
4 0 1 2 3
4 4 5 6 7
4 5 8 9 6
4 8 10 11 9
4 10 12 13 11
4 12 14 15 13
4 15 14 2 1
4 0 3 4 7
8 4 3 2 14 12 10 8 5
8 6 9 11 13 15 1 0 7
    
    
More information about the vtkusers
mailing list