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" <[email protected]> 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: [email protected]
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

_______________________________________________
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