[osg-users] Restrict Precipitation Effect inside geometry

Robert Osfield robert.osfield at gmail.com
Thu Sep 24 02:24:22 PDT 2015


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 <
saransivaprahasam at 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 at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150924/3ad85bbd/attachment-0003.htm>


More information about the osg-users mailing list