Aha!
I had the same problem with picking and parallel display. Its because
the picking support
assumes that the system is in perspective mode and when generating
pickrays, draws a line from the
eyepoint through the screen x,y location.
What you need in perspective mode is a pickray which detects parallel
display and generates on a vector straight out the screen from the x,y
location.
N.B. If i remember correctly, you have to either put this in the
com.sun. ... package or copy the pickObject source
into you own class and subclass that
Tim Darby
> -----Original Message-----
> From: Olivier fillon [SMTP:[EMAIL PROTECTED]]
> Sent: 16 April 1999 04:02
> To: [EMAIL PROTECTED]
> Subject: [java3d] Problem Picking in parallel mode
>
> After changing from perspective to parallel as display mode, i have
> some trouble picking my scene objects:
> indeed, the more away from the center of the screen my object is, the
> worse the picking is;
> It seemed ok with perspective mode.
> Do I forget something?? is it a known bug??
> Cheers
> Olivier
> --
> Olivier Fillon��� MIMS Technology Research
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> � Mincom
> Pty Ltd
> Ph.+61-7-3303-3344�������������� 61 Wyandra Street
> Fax+61-7-3303-3232�������������� Teneriffe Qld. 4005.
> Australia
> Company home page: http://www.mincom.com/ --
ParallelPickObject.java