I can't seem to get my picking of points to work...

In my Canvas3D class I have:


    the3DCanvas.addMouseListener(this);

    pickCanvas = new PickCanvas(the3DCanvas, scene);
    pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO);
    pickCanvas.setTolerance(4.0f);


The Listener method includes


    pickCanvas.setShapeLocation(e);
    PickResult[] results = pickCanvas.pickAllSorted();

The "results" is always null.

The Shape3D I am trying to pick is defined using a PointArray.  I set
capabilities:

     thePPs.setCapability(Shape3D.ENABLE_PICK_REPORTING);
     thePPs.setPickable(true);

It displays the points just fine.  But I cann't seem to pick them.

Is there some other setting I need to set?

Bob Gray

===========================================================================
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