White

OK, now I got it to compile (your 1st post), sorry my fault.  Below is some
output I get on the command window

C:\Java2Examples\Testers>java PickAllTest
The bounding center is -0.44860168381121396, -0.07462029491899813,
0.5386703299207118
The number of geometries picked is 1
The number of geometries picked is 1
The number of geometries picked is 2
The number of geometries picked is 2
The number of geometries picked is 1

As Alessandro said, this output is only sometimes.  I am not sure whether
it depends only on the size of the picked window but, as he said, sometimes
if
the window is really small it does not write the output.  One thing it
always does
is that it only picks from up-down.  When you pick from down-up not only it
draws
the window upside down, but it also never picks, i.e., never writes the
output.

Alejandro

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:JAVA3D-INTEREST@;JAVA.SUN.COM]On Behalf Of White Morph
Sent: Thursday, November 07, 2002 4:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] No one interested in this topic???


Alejandro,

Thanks for the try. It should be no problem to compile. It looks like
Alessandro compiled it and run it without any problems.

Please make sure you save them in 2 files: PickAllTest.java and
WindowPickBehavior.java. BTW, could you let me know what's your compile
errors?

---white

>White,
>
>I tried to compile your 1st post and got plenty
>of errors.
>
>That's what I sent to your yahoo account and
>bounced back with account full.
>
>Alejandro
>
>-----Original Message-----
>From: Discussion list for Java 3D API
>[mailto:JAVA3D-INTEREST@;JAVA.SUN.COM]On Behalf Of White Morph
>Sent: Thursday, November 07, 2002 3:57 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [JAVA3D] No one interested in this topic???
>
>
>Hi Alessandro,
>
>Thank you for the reply. Actually, it works fine when you even pick a small
>square near the right point shared by the 2 polygons.  If you like, you can
>try my 2nd post, it works fine for that shape.
>
>You are definitely right, when you drag the mouse down to up, there is
>a problem. Right now, I just didn't consider that, my focus is try to
>figure out why the pick fails sometimes.
>
>The 3rd post is even more interesting. If I draw the square encloses the
>left most point, and I call the myIntersectTest() in the pickObjects()
>function to test if the point is inside the PickShape. It detects
correctly,
>which suggests to me that the PickTool is not working correctly
>in this case.
>
>---white
>
>
>On Thu, 7 Nov 2002 17:09:54 -0300, Alessandro Borges
><[EMAIL PROTECTED]> wrote:
>
>>White,
>>
>>I test the source you send Fri, 1 Nov 2002 09:46:08 -0700, the 1st one I
>>guess, and works in a acceptable way all the time. If I pick a small
square
>>it do not pick the object, but when I pick a little more bigger it works
>>fine...
>>maybe the app are not getting enough resolution for a small area ...
>>The only odd thing is when a drag the mouse down to up the square is drawn
>>up to down, below ...
>>
>>
>>

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

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