Hi Robert,

I'm playing around with the osgprecipitation example and noticed that it
doesn't work as I would expect for large models.

For example, osgprecipitation lz.osg works fine, but osgprecipitation
lz.osg.100,100,100.scale doesn't show any rain unless you zoom in closely to
0,0,0.

Is there a way to make the precipitation effect follow the camera so that is
always appears to be raining?

I attempted to use the setPosition method of particle effect on each frame
to the eye point of the camera, but that didn't seem to do anything.  I also
tried sticking the PrecipitationEffect under a MatrixTransform and
translating the MatrixTransform to the eye point of the camera each frame
and it didn't seem to work correctly either.  It seemed like it only
respected the initial positioning and ignored all subsequent transforms.

Thanks!

Jason
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to