On 7/26/06, Mustafa <[EMAIL PROTECTED]> wrote:
Also you have to define the intersection visitor if you want to your
node to be pickable.

I mean, for cube and sphere like basic osg shape drawables you can
pick such objects... but for capsule you can not (I think it is
waiting to be implemented), also for your own teapot, I think it is
the same...

You don't actually impement the intersection visitor, you just
implement the Drawable::accept(PrimitiveFunctor&) and
Drawable::accept(PrimitiveIndexFunctor&) to allow introspection of the
geometry in a generic way, such that tools such IntersectVisitor can
deal with the object.

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

Reply via email to