Oh, very cool, thanks!  I like the way that looks a lot better.  Though I'm 
still trying to find a way to keep from bogging my video card down so badly.  
Making a decent looking plume = tons of particles, and even then it doesn't 
look solid from the side.  Not sure how to get around this yet...  I've tried 
making the particles way bigger and just doing less of them, but that leaves 
them more spaced out so they don't look right from the side...  looks like a 
dotted line instead of a trail.  Anyone have any ideas / suggestions?



Jason Daly wrote:
> Kris Dale wrote:
> 
> > Anyway, the question is this:  I'm trying to simulate a jet stream 
> > emanating from a projectile in motion (ie. jet, rocket, space shuttle, 
> > etc.).  I've managed to get through setting up a ParticleEffect and 
> > attaching it to the back of a Node model and everything, and in terms of 
> > where it's placed and such it actually looks pretty good, but it's in the 
> > details I'm a little bothered.  
> > 
> > While I've been able to change the actual size of the particles, I can't 
> > seem to figure out how to change the SHAPE of the particles.  I'd like to 
> > try to round them out a little.  I noticed the Particle object has the 
> > function setRadius but I've changed that to all sorts of extrema and don't 
> > see any difference...  changing the size range works but they're still 
> > perfect squares.  Is there no way to produce round (or even just rounded 
> > edge) particles? 
> > 
> > 
> 
> Particles are typically rendered as quads, just because it's efficient 
> to do so.  Generally rounded objects are expensive (in computation time) 
> to do when you're dealing with polygonal rendering, as OpenGL and OSG do.
> 
> To make the particles "look" round, you typically just need to apply a 
> texture map that is transparent near the corners of the quad.  I 
> attached an example image to give you an idea what I mean.  When you 
> apply this texture to your particles, they'll look round, even though 
> they're still being drawn as quads.
> 
> --"J"
> 
> 
> 
> > Kris
> > 
> > ------------------
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=14247#14247
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> > 
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > 
> > 
> > 
> 
> 
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=14355#14355





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to