Look at the attached file. I generated that by saving XML_ASCII.vts
out as encoded binary file from ParaView. As you can see, your BASE64
file  and this doesn't match. Hopefully you can figure out the issues
from that.

Utkarsh

On Tue, May 7, 2013 at 11:04 AM, Stefano Zaghi <[email protected]> wrote:
> Dear all,
>
> I have some problems with base64 encoding.
>
> I have reproduced my problems by means of a minimal StructuredGrid example.
> Please, find attached the bae64 file (XML_BASE64.vts) and the corresponding
> ascii one (XML_ASCII.vts).
>
> The grid is very simple: 1 hexa with 8 points and one scalar value at each
> point. Both vertices and point values are Float32.
>
> As you can see the base64 binary file is not correctly loaded by Paraview. I
> am not completely sure that the two base64 codes (for x,y,z coordinates and
> for point values) are correct, because I have use my own encoder, but they
> are identical to ones generated by python by means of "struc" and "base64"
> module.
>
> It seems in particular that the data of the last vertex (the 7th) are wrong.
>
> Thank you for all suggestions,
> my best regards
>
> Stefano Zaghi
>
> _______________________________________________
> 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
>

Attachment: XML_BASE64_paraview.vts
Description: Binary data

_______________________________________________
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