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/