Hi Saravanan, The osgParticle::PrecipitationEffect achieves it good performance by making a assumption that the effect is visible in the whole viewing volume, it has no direct support for constraining the effect to specific regions/geometries.
To achieve what you want you'll need to implement your own scheme. As for OSG-2.8.3, this is an ancient release. OSG-3.4.0 is a far more refined version with lots of useful features, such as latest extensions support that are useful for special effects like precipitation. I would recommend upgrading as this will give you lots more options to work with. Robert. On 24 September 2015 at 09:58, Saravanan Sivaprahasam < saransivapraha...@rediffmail.com> wrote: > Hi, > > I want to restrict the precipitation effect inside the geometry. I am > using OSG 2.8.3. Kindly provide me some suggestions to achieve this. > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=65193#65193 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org