> From: Victor Raymond <[EMAIL PROTECTED]>
>
> I have a simple scene with 4 points displayed using
> a Shape3d node.
>
> In response to a mouse click I use a PickObject
> and invoke pickClosest().
>
> If I pass USE_BOUNDS to the pickClosest() method,
> the points get picked. But if I pass USE_GEOMETRY,
> they don't.
>
> I think I have all the necessary capabilities enabled
> for all the nodes in my scene - ALLOW_INTERSECT,
> ENABLE_PICK_REPORTING etc. I suspect I'm OK here
> since the points get picked with USE_BOUNDS.
>
> Am I doing something wrong? Or is this a known problem?
This is a known problem. Picking points using a PickRay is almost impossible.
J3D 1.2 will have a solution soon. In the meantime, check out
http://tintoy.ncsa.uiuc.edu/~srp/java3d/picking.html
for a workaround.
Doug Gehringer
===========================================================================
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".