I have set the picking capability for the Shape3D. what puzzled me is that
my PickMouseBehavior works fine at the initial scene. It returned correct
closest vertex coordinates. Only after I navigates the scene, I got the
error message. It feels like the object the mouse picked is not what I saw
on the screen. I can not explain it.

Lan




At 05:42 PM 8/6/2001 +0200, you wrote:
>Hi,
>
>When an uncaught exception occurs during the processStimulus method of a
>behavior it prevents the wakeupOn method, at the end of processStimulus being
>called.  Since the behavior hasn't been set to wake up it doesn't work.
>
>The exception is occuring because you need to set picking capabilities for the
>Shape3D.  I use
>
>             PickTool.setCapabilities(shape, PickTool.INTERSECT_FULL);
>
>to set these capabilities.
>
>Hope this helps,
>Renoir
>
>Lan Wu-Cavener wrote:
>
> > Hi, everyone:
> >
> > I have this scenario: My PickMouseBehavior works only at the initial scene.
> > Once I navigated through the scene by changing the ViewerPlatform
> > TransformGroup, the PickMouseBehavior does not work anymore.
> > I got the "Exception occurred during Behavior execution: javax.media.......
> > Shape3D: no capability to get geometry. ...".
> >
> > My guess is that the PickMouseBehavior is associated with the object's
> > transform Group during the navigation. Could anyone confirm my thought? And
> > what should I do to make the PickMouseBehavior work?
> > Thanks!
> >
> > Lan
> >
> > Lan Wu-Cavener
> > Research Associate and Programmer
> > Dept. of Landscape Architecture
> >
> > ===========================================================================
> > 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".
>
>--
>Renoir Sewjee
>Software Engineer
>ISS International (Welkom)
>Tel: +27 (0)57 912 2702
>Fax: +27 (0)57 912 2652
>--
>
>===========================================================================
>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".

Lan Wu-Cavener
Research Associate and Programmer
Dept. of Landscape Architecture

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