Original Post
Hi, I'm having difficulties with timebased movement in a Java3D visualization app. Since the application is for visualization purposes it doesn't have a constant frame rate or notion of a "tick". So when I want to move the camera using the keyboard I don't know which time to use for my timebased movement. I tried getting the time between two consecutive KeyPress events but I can't figure out for sure if the user has released the key in between (since I always get a KeyRelease event, even if I keep pressing the key). Any ideas of how I could achieve smooth timebased camera movement without having a main loop (i.e. rendering on demand)? Thanks in advance, Thomas