Hi Kelvin,

I am calling  wakeupOn (mMouseCriterion) at the end of processStimulus
function. The JDK and Java3D versions are JDK 1.4.0_01 and Java3D 1.3.1.
respectively. Infact, i have tried on JDK 1.3.1, JDK 1.4.1 also with the
same results. I have attached the behavior class in this mail for your
reference.

Thanks
Raghav

Kelvin Chung wrote:

 > Raghavendra R wrote:
 >
 >> Hi,
 >>
 >> I have called the setSchedulingBounds as follows.
 >>
 >> setSchedulingBounds(new BoundingSphere(new Point3d(),
 >> Double.MAX_VALUE)) ;
 >>
 >
 > From your email it seems you get at least one mouse event but not
 > others. Check to see if you invoke wakeupOn() after the mouse event
 > is process in processStimulus(). If still not work please
 > send us a test case and the JDK version you're using.
 >
 > - Kelvin
 > ---------------
 > Java 3D Team
 > Sun Microsystems Inc.
 >
 >>
 >>
 >> Kelvin Chung wrote:
 >>
 >>>
 >>>
 >>> Raghavendra R wrote:
 >>>
 >>>> Hi,
 >>>>
 >>>> I have an application for selecting a set of entities using polygon
 >>>> pick
 >>>> by enclosing these entities in a polygon drawn on a Canvas3D. I have
 >>>> attached WakeupOnAWTEvent for getting Mouse behaviors like Mouse
 >>>> press /
 >>>> click / drag etc. Till now, i was using Java3D 1.1.3 and it was
 >>>> working
 >>>> well.
 >>>>
 >>>> Recently i upgraded the Java3D from 1.1.3 to 1.3.1. Now, i am
 >>>> unable to get more than one mouse press event in my processStimulus
 >>>> callback.
 >>>>
 >>>> Are there any changes in Behavior / AWT event handling /
 >>>> Wakeup etc from J3d 1.1.3 to 1.3.1 that may be causing my problem?
 >>>>
 >>>> Thanks
 >>>> Raghav
 >>>>
 >>> Make sure either
 >>>
 >>> (i) setSchedulingBounds(Bounds region) is set and this
 >>>     bound intersect the view platform activation region.
 >>>
 >>>     As an experiment set region to a very big bounds to
 >>>     see what happen.
 >>>
 >>> OR
 >>>
 >>> (ii)  setSchedulingBoundingLeaf(BoundingLeaf region) is set
 >>>      and this BoundingLeaf is ATTACH to the scene graph.
 >>>
 >>>      There is bug in previous version of Java3D that the
 >>>      behavior is schedule even though bounding leaf is not
 >>>      attach to scenegraph. This is fixed in current release.
 >>>      This bug also appear in the old VRML97 class which you
 >>>      will encounter behavior not function at all after update.
 >>>
 >>> - Kelvin
 >>> -----------
 >>> Java 3D Team
 >>> Sun Microsystems Inc.
 >>>
 >>>
 >>>
 >>
 >>
===========================================================================
 >>
 >> 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".
 >
 >


Attachment: behavior.java
Description: java/

Reply via email to