Sorry if it bothers anyone, but I was not sure that this question made it to
the list... so here goes again:

Hi,

 I've been using picking in order to retrieve the coordinates of individual
quads in an indexedQuadArray. Below are the results of 2 different "picks",
showing the VWorld coordinates and local coordinates of the intersection
using  pickIntersection.getPointCoordinates() and
PickIntersection.getPointCoordinatesVW(). Also shown are the coordinates of
the quad's vertices. The vertices have been checked and are correct. The
VWorld coordinates are also correct, but the local intersection coordinates
are a bit out to lunch. As you can see, the coordinates don't even fall
within the boundaries of the quads that were picked. Further, once the
calculated local x coordinate falls outside the coordinates of the shape,
the shape is not pickable. This leaves about 3/4 of the quads in the Shape3D
unpickable.

  Has anyone used this, or can anyone offer any advice as to what might be
happening?  I think clearly there is a bit of a mismatch between local and
world coordinate systems, but what can I look into to find the root of the
problem.



PICK RESULTS

=============
Coordinates of intersection pt:(4.3519, 1.1199, 0.7936)
Coordinates of intersection ptVW:(-2.7930, -0.1868, -9.0432)
Coordinates of vertices:
0:0.2339 0.4000 0.2000
1:-0.02999 0.4000 0.2011
2:-0.02999 0.7809 0.3916
3:0.233999 0.8000 0.4000
=============
Coordinates of intersection pt:(5.3195, 0.0833, 0.6220)
Coordinates of intersection ptVW:(-2.5906, -0.1695, -9.1200)
Coordinates of vertices:
0:0.4990 0.4000 0.2001
1:0.2339 0.4000 0.2000
2:0.2339 0.8000 0.4000
3:0.4990 0.7998 0.4000

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