Hi Robert,

SphereSegment wasn't written with picking in mind.  It can probably be
implemented by provide an Drawable::accept(PrimitiveFunctor&) method.
This is something I'll have to leave as an exerise for the reader to
implement ;-)

Robert.

On 11/3/06, Robert Nitti <[EMAIL PROTECTED]> wrote:



Hi –

I'm trying to pick an osgSim::SphereSegment (largely) using the same code as
found in the osgPick example.  Any other "regular" geode that I've created
added to my scene works (ie: I obtain a proper pick value).  When I try to
pick a clearly sizable osgSim::SphereSegment, I get no hits.

Is osgSim::SphereSegment "pickable"? Are there any suggestions on what I
could be missing? A mask or something?  Has anyone tried to pick a
SphereSegment?

-       I've added my SphereSegment under the same group node as my other
pickable geodes, so I know I'm passing the right top node to my "picker".
As I said, I receive picks for any other "regular" geode I've added
Drawables to…

-       I've put breakpoints in the SphereSegment code, but it doesn't seem
to stop anywhere… ( I don't mean in the init() … that works fine.  I mean in
all the "intersect" methods).



Thanks




_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to