Hi Joaquin,
>>
>> Try
>>
>> (1) Use Java3D v1.2.1 or later if you are using v1.2
>> (2) pickCanvas.setMode(PickCanvas.GEOMETRY);
>> (3) pickCanvas.setTolerance(0);
>>
>> See attach email from archive.
>>
>> - Kelvin
>> -------------
>> Java 3D Team
>> Sun Microsystems Inc.
>>
>
>OK, it did the job. The only thing missed was setTolerance(0). I don't
>know how this value for tolerance will affect performance when I have
>more than two cubes. Are Shape objects 'pickable' by default? I have
>commented the setPickable(true) method call and all objects seems to be
>'pickable'.
>
setTolerance(0) is use to force picking utility (see
source code in the distribution) PickRay instead
of PickConeRay to compute the distance between
pickShape and the picked object in order to work
around bug 4347998.
Yes, See default constructor of Node, it has pickable and
collidable set to true by default.
Thanks.
- Kelvin
>Thank you for the response.
>
>-------------------------------------------------------------------------
>Joaqu�n Casillas Mel�ndez(Quino), R+D Engineer at iSOCO
>Intelligent Software Components, S.A. http://www.isoco.com
>Addr. iSOCOVal: Profesor Beltr�n B�guena, 4, oficina 305, 46009 Valencia
>Voice: +34 96 346 71 43 Fax: +34 96 348 28 94
> Powered by Linux!
>
>===========================================================================
>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".