From: Sven G. <sgo...@ja...> - 2001-12-20 23:05:50
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 20 December 2001 17:22, Martin Geisse wrote: > Hi, > > I want to write a typical animation app, i.e. the graphics should > re-rendered 'all the time' (20+ times per second). Is it then possible to > ignore AWT redraw events and redraw the graphics not in the display() > method which is called by the AWT thread, but instead redraw them from the > main thread? > > It looked to me like GLAnimCanvas does exactly this internally, but I was > not sure. You can be sure, GLAnimCanvas is the best thing you can use today ;-) Have a look at the demo "gears.java" no more to explain .. > Anyway, if this is possible, should I use a GLCanvas or > GLAnimCanvas for it? Or would I duplicate most of GL*Canvas by that and had > better set up everything manually? nope, see above, look at the demo gears.java ! > > BTW, nice work! thx sven -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8Im6zHdOA30NoFAARAoZVAKCUPtjongwRTUxhsCUqdBPq2YC7RACeJwDV qnrRcxwNCUliEfKFsrme5IQ= =MEgh -----END PGP SIGNATURE----- |