Hi Bill,
> From: Sause, William
> I am trying to do intersections with particle effects, however I am
> not getting any hits returned since Particle system does not have
> intersection support. Robert suggested implementing the
> Drawable::accept(PrimtiveFunctor) method in
> osgParticle::ParticleSystem. For reference, I looked at the
> implementations of this method in Geometry and ShapeDrawable, but they
> were quite different from each other and a little confusing. Can
> anyone shed some light on this?
Did you ever find a good solution for this? I need to be able to pick
Particle Systems / Effects as well, and there seems to be 3 different
routes for accomplishing this:
1) Implementing the Drawable::accept(PrimtiveFunctor) method in
osgParticle::ParticleSystem as suggested above.
2) Add intersection support in ParticleSystem based on its
defaultBoundingBox.
3) Adding custom geometry that is always culled, but can be used for
intersection testing (Ref: the recent "picking and custom active area"
thread)
Any thoughts on what's the best approach?
Best regards,
John
--
This email was Anti Virus checked by Astaro Security Gateway.
http://www.astaro.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org