The JavaDoc for PickTool says:
PickTool.GEOMETRY will pick using the geometry of the pickable nodes.
The PickResult returned will contain the SceneGraphPath to the picked
Node. Geometry nodes in the scene must have the ALLOW_INTERSECT
capability set for this mode.
Well, I've looked at Shape3D, and there is no such thing as
ALLOW_INTERSECT.  Am I looking in the wrong place?  I have used the
PickTool.setCapabilities() function in my loader which creates the
Shape3Ds, but I still get the exception:

  javax.media.j3d.CapabilityNotSetException: Shape3D: no capability to
allow intersect

whenever I try to select something.  Also, I am using the Cylinder
class.  What flag should I set in the constructor to allow
interesections??

I was using the default BOUNDS selection, but this does not work well
with selectable objects that are very close together.

-Lee


J. Lee Dixon
SAIC - Celebration, FL
407-566-1438
[EMAIL PROTECTED]    AOL: LeeOrlando

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to