<HTML>
<HEAD>
<TITLE>Re: [Paraview] spheres x y z + intensity value text file</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
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.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 8/6/09 6:04 AM, "Marc Bletry" <<a href="mbletry@gmail.com">mbletry@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
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 :<BR>
<BR>
1 0.000000 0.000000 0.000000 0.000000 12<BR>
2 -1.732051 1.000000 0.000000 0.000000 10<BR>
3 -1.732051 -1.000000 0.000000 0.000000 9<BR>
4 -1.154701 0.000000 1.632993 1.000000 9<BR>
5 -0.192450 1.666667 1.088662 1.000000 11<BR>
<BR>
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 !!<BR>
<BR>
Thanks a lot,<BR>
<BR>
Marc<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:7.5pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>