For anyone who has had problems with reading legacy VTK files, esp. in v 3.10, 
be careful to avoid leading spaces, and to use UPPERCASE.
For example, this works:
# vtk DataFile Version 2.0
written by FFT4-FFTW-mpi 
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS         512          64          64
ORIGIN 0.0 0.0 0.0
SPACING    1.10462212541120       0.475555065232886       0.475555065232886     
POINT_DATA     2097152
SCALARS stress float
LOOKUP_TABLE default
etc.

This, e.g., does not work (file reads in but nothing displays)!
# vtk datafile Version 2.0
written by FFT4-FFTW-mpi 
ASCII
 DATASET STRUCTURED_POINTS
DIMENSIONS         512          64          64
 ORIGIN 0.0 0.0 0.0
 spacing    1.10462212541120       0.475555065232886       0.475555065232886    
 
POINT_DATA     2097152
SCALARS stress float
LOOKUP_TABLE default

regards, Tony Rollett




_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to