Hi Fabien and Serge,

Thanks for the useful information and code. I'll look into them and
see if my work can be done better. :)

Wang Rui


2010/8/17 Fabien Lavignotte <[email protected]>:
> Hi Wang,
> It is just my personal experience that a simple to use and high performance 
> generic particle system is a huge if not impossible task. Just see for 
> exemple in osgParticle the PrecipitationEffect done by Robert, in fact it 
> does not use osgParticle framework.
> I send you the ParticleSystemBuilder class i use to create my effects. Very 
> basic but sufficient for my own needs.
> It covers particle drawing (using PointSprite), and basic particle 
> management. It is a template class so that you can easily reuse it with 
> different kind of particles. Too rough to be really useful for OSG, but it 
> can give an idea of a lightweight solution.
> Then most of the code (particle simulation) is done in each effect and deals 
> with various problems, like precision issues when dealing with earth-like 
> databases.
> Cheers,
> Fabien
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to