I have an example application I wrote to help me investigate problem I
was having with pick reporting. This application has 3 boxes that act
as slots to receive cones. The user clicks on a cone, the cone
disappears to denote being "held", then a box is selected to place the
cone in front of the box.
The app works well most of the time. Every so often (often enough that
to me something is broken), the selection routines ( specifically
PickCanvas.pickClosest(), which returns a PickResult, and
PickResult.pickClosest() ) will not return the closer item, which is the
cone, but return the box behind it. Seems to me that the sorting of
picked items randomly goes bad.
Can someone (SUN?) give this program a try? You have to spend a little
time picking the cones and moving them around, but every so often, a
cone will get stuck and the selection routines won't allow picking it.
(JDK 1.3, J3D 1.2openGL, WinNT)
Thanks.
J. Lee Dixon
Software Engineer
SAIC - Celebration, FL
[EMAIL PROTECTED]
<<TestBed4.java>>
TestBed4.java