[Paraview] VTK file formats
Peter Bastian
Peter.Bastian at iwr.uni-heidelberg.de
Tue Mar 28 06:14:30 EST 2006
Christoph,
thanks for your great effort! I would have needed this 3 months ago...
Christoph Moder schrieb:
>> Thanks for your effort, there is one thing missing, though: binary
>> compressed non-based64'd - the "ultimate" storage way. It is possible
>> only I couldnt figure out how to code it. Are you able to clear that up?
>
>
> http://public.kitware.com/pipermail/paraview/2005-April/001332.html
>
> According to this mail, you have to do the same as I have described for
> binary appended data, except that you skip the base64 encoding, write
> <AppendedData encoding="raw"> instead of encoding="base64", and use the
> correct offsets.
> However, I could not get it to work.
>
> This is my test file; maybe I have made a mistake somewhere:
> http://www.geophysik.uni-muenchen.de/~moder/Geowall/vox8_binary_appended_raw.vtu
>
I do not see your mistake, but it works as described in your mail with 4
byte headers for each data block. The offsets in the DataArray of course
include the headers. In fact, it is the only binary format that I got to
work :-)
Regards,
-- Peter
------------------------------------------------------------------
Peter Bastian, IWR,Uni Heidelberg, INF 348,R 020, 69120 Heidelberg
email: Peter.Bastian at iwr.uni-heidelberg.de Tel: +49 6221 54 4984
WWW: http://www.iwr.uni-heidelberg.de/~Peter.Bastian Fax: ... 8860
More information about the ParaView
mailing list