1

This paper provides a link to 10 3D models contained in binary VTK files, but I can't open them in ParaView (tried several versions from 2.x to 5.x on Linux and Windows, 32 and 64 bits) and other applications for VTK files. I'd appreciate any help with opening them. Below is what I could find out.

ParaView reports an unknown keyword. From VTK 4 specification PDF file we see that after "POINTS N float" follows N triples of floats. I suppose size of (float) is 4 thus we get a data block of N * 3 * 4 bytes. After this data block we expect a new keyword (CELLS or something else), but no keyword there, just another several KB of binary data. Another weird thing is that the last block (CELL_TYPES) should consist of integers. Integer in binary form is supposed to be 2, 4 or 8 bytes (common is 4), BUT we see sequences of three zero-bytes followed by pairs of ASCII chars with codes (13,10) which obviously indicate new line, thus integer value is coded with three bytes? I'm very confused.

Ali_Sh
  • 2,667
  • 3
  • 43
  • 66
Ordev Agens
  • 151
  • 9

0 Answers0