What do you mean by "switching off"? And can it be done automatically when the object's parents get hidden?
2009/11/16 Robert Osfield <[email protected]> > Hi Maxim, > > Have you tried switching off the ParticleSystem node? It's the > ParticleSystem that does the rendering, the rest of the nodes just > control how the particles are generated and moved. > > Robert. > > On Mon, Nov 16, 2009 at 10:52 AM, Maxim Gammer <[email protected]> > wrote: > > Hi Robert, > > > > I've tried 3 different ways. > > 1 - Both particles and emitter are children of the hidden/unhidden object > > 2 - Particles is the child of object, and emitter is in the root. > > 3 - Emitter is a child of the object and particles is in the root. > > > > Hiding/unhiding is done by SetNodeMask. (FFFFFF or 000000)... > > > > Max > > > > 2009/11/16 Robert Osfield <[email protected]> > >> > >> HI Max, > >> > >> The particle system is set between several nodes, so which ones are > >> you attempting to "hide"/"unhide" and how? > >> > >> Robert. > >> > >> On Mon, Nov 16, 2009 at 8:22 AM, Maxim Gammer <[email protected]> > wrote: > >> > Hello all, > >> > > >> > I came across the following situation. > >> > Let us have an object with particles child and that object is hidden. > >> > When we unhide this object we get picture 2 and 3. > >> > Why particles don't dissapiar when the parent object is hidden? Why do > >> > they > >> > accumulate? And how to deal with it, how to fix? > >> > > >> > P.S. Picture 1 shows how it shoud be. > >> > -- > >> > Maxim Gammer > >> > > >> > > >> > _______________________________________________ > >> > osg-users mailing list > >> > [email protected] > >> > > >> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> > > >> > > >> _______________________________________________ > >> osg-users mailing list > >> [email protected] > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > -- > > Maxim Gammer > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Maxim Gammer
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

