[Paraview] spheres x y z + intensity value text file

Moreland, Kenneth kmorel at sandia.gov
Thu Aug 6 16:50:15 EDT 2009


To answer your question directly, you could write out a csv file.  You could read that in and then run the Table To Points filter to get the particles you want.  After that, you could run the glyph filter to create the spheres or you could use the point sprite plugin to render them as spheres directly.

That said, if you really have a million spheres, are you sure you want to create ASCII data?  That would take a lot of time to load.  You might want to consider using a binary format instead.

-Ken


On 8/6/09 6:04 AM, "Marc Bletry" <mbletry at gmail.com> wrote:

Hi,

I am trying to make out how to display a set of 1 million spheres of the same radius, knowing their xyz coordinates + a kind of intensity (varying from 1 to 12), something like :

        1     0.000000     0.000000     0.000000  0.000000 12
        2    -1.732051     1.000000     0.000000  0.000000 10
        3    -1.732051    -1.000000     0.000000  0.000000  9
        4    -1.154701     0.000000     1.632993  1.000000  9
        5    -0.192450     1.666667     1.088662  1.000000 11

but I can't find a guide that explains how I should write my text file so that paraview may understand it... if anyone has advices, that would be super great !!

Thanks a lot,

Marc



   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090806/4dc95099/attachment-0001.htm>


More information about the ParaView mailing list