I ran into a similiar problem with some new code that had been
incorporated into an app for a demo.  The whole app just completely
locked.   Is that what you're seeing?    I ended up using a modified
version of the mouse behavior code that comes with Java 3D just so I could
get the demo kicked out the door.

We're looking into our problem, and I'd appreciate hearing what you find
out about yours.  I'll post our results if we get to an answer before you
do.

Steve

Justin Couch wrote:

> I'm playing around with a bunch of custom behaviours and I'm
> experiencing some strange things with the AWT event handling.
>
> I'm dealing with mouse drags (WakeupOnAWTEvent - MOUSE_DRAGGED) and the
> thing appears to go into an infinite loop on me after about 10 seconds
> of playing with the mouse. The simple code just turns the X/Y position
> of the mouse into a move forward-back/sideways with a single object in
> the scene graph. Nothing too complex going on.
>
> Some other wierdness that I've noticed:
> - If I also include mouse release, after the drag and letting the mouse
> go, I get the behaviour invoked approx 40 times with the mouse release
> event regardless of what I did before.
> - It only seems to go into the loop when moving in "negative"
> directions. Positive moves don't seem to cause problems.
>
> I have no other behaviours loaded.
>
> Anyone with ideas about where I should be looking. I can post code if
> needed, there's about 5-6 source files.
>
> Setup - NT4SP3/J3D 1.1.1 OGL.
>
> --
> Justin Couch                                   Author, Java Hacker
> Snr Software Engineer                     [EMAIL PROTECTED]
> ADI Ltd, Systems Group             http://www.vlc.com.au/~justin/
> Java3D FAQ:       http://tintoy.ncsa.uiuc.edu/~srp/java3d/faq.html
> -------------------------------------------------------------------
> "Look through the lens, and the light breaks down into many lights.
>  Turn it or move it, and a new set of arrangements appears... is it
>  a single light or many lights, lights that one must know how to
>  distinguish, recognise and appreciate? Is it one light with many
>  frames or one frame for many lights?"      -Subcomandante Marcos
> -------------------------------------------------------------------
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/

--
Steve Pietrowicz - [EMAIL PROTECTED]    Project Manager - NCSA Java 3D Group

NCSA Portfolio:      http://havefun.ncsa.uiuc.edu/Java3D/portfolio/
   New Beta 2a release!  New Loaders, record and replay of your
   Java 3D apps and more! Freely available for non-commercial use!
You Build It VR:     http://havefun.ncsa.uiuc.edu/Java3D/YouBuildItVR/
   Build your own multi-user virtual worlds with no programming experience!
The Java3D FAQ:      http://tintoy.ncsa.uiuc.edu/~srp/java3d/faq.html
Java News Network:   http://tintoy.ncsa.uiuc.edu/~srp/java/javanews.html



=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to