I add function SetClampProducedParticles (min, max)..... to file /include/osgParticle/RandomRateCounter ok?
p.s. The problem with the system of particles: in hiding the particle system and their subsequent screening creates a huge number of particles (splash). But more than the big time difference between concealment and display. The drawings depicted such a situation. http://i35.tinypic.com/ridkhu.jpg http://i33.tinypic.com/2nulhfd.jpg The first figure shows the correct image, the second figure shows the erroneous operation of the system of particles. In addition, when a large number of particles occurs following warning: Warning: State:: drawQuads (0, 72588) too large handle in remapping to ushort glDrawElements. Warning: State:: drawQuads (0, 72592) too large handle in remapping to ushort glDrawElements. Warning: State:: drawQuads (0, 72592) too large handle in remapping to ushort glDrawElements. Warning: State:: drawQuads (0, 72596) too large handle in remapping to ushort glDrawElements. fix this problem in attached file.... 2010/9/15 Robert Osfield <[email protected]> > Hi Maxim, > > On Thu, Sep 9, 2010 at 6:27 PM, Maxim Gammer <[email protected]> wrote: > > I think you can add function SetClampProducedParticles (min, max) .... > how > > do you think it can be implemented to version OSG 3.0? > > > > If so, I will add this feature. > > I'm not clear on what you envisaging, you'll need to add a bit more > context as to what code you are proposing to modify. > > Robert. > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > -- Maxim Gammer
RandomRateCounter
Description: Binary data
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
