<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Berk<BR>
<BR>
Thanks for the information. With the help of yourself and others on the mailing list I have now got my large data "cube" into Paraview. Like all things new, it always helps to have the advice of experts on the methodology; so many thanks to all who have helped :)<BR>
<BR>
Saving to binary format is useful and saves on space too!<BR>
<BR>
One point I am not clear on is that I can generate the surface view and set the scalar to display density, as a cube, slice or clipped body, but when I try the volume option it shows nothing.<BR>
<BR>
# vtk DataFile Version 3.0<BR>vtk output<BR>ASCII<BR>DATASET STRUCTURED_POINTS<BR>DIMENSIONS 151 151 101<BR>SPACING 200 -200 -100<BR>ORIGIN 291024 2055975 0<BR>POINT_DATA 2302901<BR>SCALARS density double<BR>LOOKUP_TABLE default<BR>2.3<BR>2.3<BR>2.3 etc<BR>
<BR>
I also tried the clean_to_grid filter and although the file size goes up, there was still nothing on the volume view, and in fact caused Paraview 3.4.0 to crash.<BR>
<BR>
Thanks<BR>
<BR>
Lester<BR><BR>> Date: Sun, 2 Nov 2008 07:30:16 -0400<BR>> From: berk.geveci@kitware.com<BR>> To: lester_anderson1963@hotmail.com<BR>> Subject: Re: [Paraview] Writing binary VTK<BR>> CC: kmorel@sandia.gov; paraview@paraview.org<BR>> <BR>> If you already have the ascii VTK file, you can convert it to binary<BR>> by loading it in ParaView and saving it out as binary format. It is<BR>> pretty easy to automate this using Python. Let me know if you need an<BR>> example.<BR>> <BR>> -berk<BR>> <BR>> On Fri, Oct 31, 2008 at 1:28 AM, Lester Anderson<BR>> <lester_anderson1963@hotmail.com> wrote:<BR>> > Hi Ken<BR>> ><BR>> > Thanks for the info. So is there an easy way to take the ascii data and make<BR>> > it into a binary file (big-endian or ortherwise), or is it more involved?<BR>> > Basically I have my data already it just needs converting.<BR>> ><BR>> > Cheers<BR>> ><BR>> > Lester<BR>> ><BR>> >> From: kmorel@sandia.gov<BR>> >> To: lester_anderson1963@hotmail.com; paraview@paraview.org<BR>> >> Date: Thu, 30 Oct 2008 16:44:32 -0600<BR>> >> Subject: Re: [Paraview] Writing binary VTK<BR>> >><BR>> >> You have the basic idea for binary legacy VTK files. I think the one<BR>> >> caveat<BR>> >> is that the data needs to be written in big-endian format. (Someone<BR>> >> correct<BR>> >> me if I got that wrong.)<BR>> >><BR>> >> I'm not sure what you mean by the column vs. sequential style. I think the<BR>> >> data parts in ASCII data treat all whitespace the same, so you should be<BR>> >> able to order the data in as many columns as you like.<BR>> >><BR>> >> -Ken<BR>> >><BR>> >><BR>> >> On 10/30/08 1:53 PM, "Lester Anderson" <lester_anderson1963@hotmail.com><BR>> >> wrote:<BR>> >><BR>> >> > Hello all<BR>> >> ><BR>> >> > I have got a really big dataset that I want to have in a binary format.<BR>> >> > I have<BR>> >> > the header information all sorted now, but want to know how to convert<BR>> >> > the<BR>> >> > data part to binary. From what I understand the binary VYK structure is<BR>> >> > basically the same as ascii except the data part is binary.<BR>> >> ><BR>> >> > On a second point, with an ascii VTK how can I change the data from a<BR>> >> > huge<BR>> >> > long column of data to the more sequential style shown in examples?<BR>> >> ><BR>> >> > I work on a PC<BR>> >> ><BR>> >> > thanks<BR>> >> ><BR>> >> > Lester<BR>> >> ><BR>> >> ><BR>> >> > For the best free wallpapers from MSN Click here!<BR>> >> > <http://wallpapers.msn.com/?ocid=[B001MSN42A0716B]><BR>> >><BR>> >><BR>> >> **** Kenneth Moreland<BR>> >> *** Sandia National Laboratories<BR>> >> ***********<BR>> >> *** *** *** email: kmorel@sandia.gov<BR>> >> ** *** ** phone: (505) 844-8919<BR>> >> *** fax: (505) 845-0833<BR>> >><BR>> >><BR>> >><BR>> ><BR>> ><BR>> > ________________________________<BR>> > Get the best wallpapers on the Web - FREE. Click here!<BR>> > _______________________________________________<BR>> > ParaView mailing list<BR>> > ParaView@paraview.org<BR>> > http://www.paraview.org/mailman/listinfo/paraview<BR>> ><BR>> ><BR><BR><br /><hr />Get the best wallpapers on the Web - FREE. <a href='http://wallpapers.msn.com/?ocid=[B001MSN42A0716B]' target='_new'>Click here!</a></body>
</html>