From: Peter A. <pe...@si...> - 2002-10-30 01:25:03
|
I should have sent this to the list not Kenneth directly (sorry) > > What animation technique are you using? I recommend using a > GLAnimCanvas with the GLEventListener paradigm for getting the > application code to run. If you're calling repaint() on the > GLCanvas then the thread switching from the application thread to > the AWT thread and back may be affecting your framerate. > > See http://java.sun.com/products/jfc/tsc/articles/jcanyon/ for an > example of this technique in the context of terrain rendering. > Hi Kenneth, I'm using the GLAnimCanvas with the GLEventListener paradigm (sorry - should have mentioned that) I've set the canvas to not receive repaint events, and not to limit fps (i.e. go full speed). Perhaps it might run better if I did limit fps? I could try that when I get home (I'm at work at the mo ;-)) Also, I'll check out the example you mentioned - thanks for that. Cheers, Peter. |