[Paraview] vti formats - multiple scalars ascii

Ben McLean (finlaylabs) bmclean at finlaylabs.net
Sat, 20 Mar 2004 13:09:01 +0800


Hi all,

I am a recent fan of Paraview, it is doing a great (and free) job of
visualising my seismic data in 3D.

Despite best efforts though I cannot simply get our proprietary software
outputting correct formats for files to hold several scalar data... I have
read and re-read the pdf widely available on vtk formats, and have tried
many permutations of the following file, with no success. Does anyone know
what the correct format should be?

Note I do not want to do 3-component vectors.

Thanks for the assistance, and the great tool!
Ben.

//***********************************************************
<?xml version="1.0"?>

<VTKFile type="ImageData" version="0.1" byte_order="LittleEndian">

    <ImageData WholeExtent="0 49 0 49 0 49" Origin="0 0 0" Spacing="10 10
10">

        <Piece Extent="0 49 0 49 0 49">

            <PointData Scalars="DispX" Scalars="DispY" Scalars="DispZ">

                <DataArray type="Float64" Name="DispZ" format="ascii">

                    2.91069e-032 -5.00162e-032 8.10231e-032
3.40722e-031 -4.88671e-030... etc to n=50*50*50

                <DataArray type="Float64" Name="DispZ" format="ascii">

                    2.91069e-032 -5.00162e-032 8.10231e-032
3.40722e-031 -4.88671e-030... etc

                <DataArray type="Float64" Name="DispZ" format="ascii">

                    2.91069e-032 -5.00162e-032 8.10231e-032
3.40722e-031 -4.88671e-030... etc

               </PointData>

            <CellData>

            </CellData>

        </Piece>

    </ImageData>

    <AppendedData>

    </AppendedData>

</VTKFile>