Thanks for your input, I'll take a look to these posts.

Each time we try to use osgParticle we have new problems, I think we'll
going to look for another solution, we only need simple particles effects.
Anyone has good reading about GPU based particle engines to share ?

On Mon, Aug 16, 2010 at 9:24 PM, Jolley, Thomas P <
[email protected]> wrote:

>  Hi Serge,
>
> You may want to research the following posts and see if they are relevent
> to your particle problems.
>
> *
> http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-April/027011.html
> *
>
> http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-May/028435.html
>
> The above talks about a floating point precision bug that was introduced
> due to a change in 2008.  The bug hasn't been resolved yet.  I suspect it
> will wait until the osgParticle is refactored since not many see the
> problem.  If the above describes your problem you will need to undo the 2008
> change.
>
>
> http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-October/033416.html
>
>
>
>
>  ------------------------------
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Serge Lages
> *Sent:* Monday, August 16, 2010 10:32 AM
> *To:* OpenSceneGraph Users
> *Subject:* [osg-users] osg::Particle problem
>
> Hi all,
>
> I am currently having some troubles with particles, I am trying to make
> them local to a model (for example, imagine a scene with the earth rotating
> around the sun, and a model moving on the earth, I don't want my particles
> to take into account the earth movement, only the model one). I've made it
> by putting everything related to particles (Emitter, ParticleSystemUpdater,
> the geode with the ParticleSystem...) under my model root instead of the
> whole scene root. But it doesn't work, my particles are still taking into
> account the main movement. It's weird because the same code was working one
> year ago, but I didn't use it again until today, and I don't find any other
> way to make my particles local.
>
> My particle effect is composed of :
> - a ParticleSystem inside a classic Geode
> - a ModularEmitter
> - a ParticleSystemUpdater
> - a FluidProgram
>
> Everything is attached into my graph under my model, and I set :
> emitter->setReferenceFrame(osgParticle::ParticleProcessor::RELATIVE_RF);
>
> particleSystem->setParticleScaleReferenceFrame(osgParticle::ParticleSystem::LOCAL_COORDINATES);
>
> It works without problem when nothing is moving in my scene, but if I
> enable movements on the model parents, my particles take them into account
> on their own movement.
>
> Any idea ?
>
> Cheers,
>
> --
> Serge Lages
> http://www.tharsis-software.com
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Serge Lages
http://www.tharsis-software.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to