Hi Gina,

You need to write a parser for these text files and set up your
particle system from this.  Please see the osgparticle example for
examples for how to set up particle system.

Robert.

On 2/5/07, Gina Yan <[EMAIL PROTECTED]> wrote:



Hello,
I want to create an animated visualization of fluid flow that follows the
velocity vectors in two .txt files using a particle system.
I read in the first .txt file which is the grid coordinates of my particle
system in an array myplacer[i]. And I read in the second .txt file which is
the velocity vector of the particles in another array myshooter[i].
Now I don't know what to do to make these two arrays as the placer and
shooter of my particle system. Could anyone please help me? Thanks a lot,
Gina




________________________________
 From predictions to trailers, check out the MSN Entertainment Guide to the
Academy Awards(r)
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to