> From Adam Belmont
>
> I've been able to pick Shape3D's created from QuadArray's and
> LineArray's but I'm having no luck with PointArray's.
>
> I have a version of PickMouseBehavior that allows me to define a pick
> mode of PICK_ARPETURE (or something close to that name).
>
> This mode *should* make picking point easier? Any other suggestions
> for picking points?
Picking points should work using the PICK_APERTURE pick shape, however there is
a limitation to picking lines and points which have a bounding box with zero
size along the x,y or z dimensions. The FAQ site where the pickingExt packages
are hosted (http://tintoy.ncsa.uiuc.edu/~srp/java3d/picking.html) has more
details:
A limitiation: The pickingExt packages make it possible to pick lines and
points in J3D 1.1, but there is still a problem: individual
points,horizontal and vertical lines can be difficult or impossible to pick.
This is because the intersection between a PickRay and a "thin" bounding box
is unlikely (just as ray/line intersections are unlikely). A workaround to
this problem is shown in the PickHighlight example. The BoundingBox for the
Shape3D is calculated and made slightly larger to make it more likely that
the shape can be picked. This is not a perfect fix, but it is the best we
can do until Java3D 1.2 is here.
Java3D 1.2 beta and later will have improved picking functionality which will
eliminate this problem.
Doug Gehringer
Sun Microsystems
===========================================================================
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".