From: Robert V. <f1...@gm...> - 2002-06-14 19:55:59
|
The FAQ on the GL4Java website contains a question without an answer: My Canvas renders 1 frame, then stops, what's wrong ? I'd really like to know that because I ran into that problem. I followed the instructions about using the GLEventListener model, and now this. |
From: Sven G. <sgo...@ja...> - 2002-06-15 04:20:38
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 14 June 2002 21:55, Robert Voigt wrote: > The FAQ on the GL4Java website contains a question without an answer: > My Canvas renders 1 frame, then stops, what's wrong ? > I'd really like to know that because I ran into that problem. > I followed the instructions about using the GLEventListener model, and now > this. > ;-) FOR GLEventListener's: dont make current and/or free by your own, within the GLEventListener methods, implemented by your own. FOR ELSE: you must do both, .. cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9CsCJHdOA30NoFAARAoh/AJ4j20IvwV+DE171R3Y29xCOyMTRaQCgusm9 +HFjLJu31SygXKdEA2fCB9A= =X/z3 -----END PGP SIGNATURE----- |
From: Robert V. <f1...@gm...> - 2002-06-16 10:10:00
|
On Saturday 15 June 2002 06:20, you wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Friday 14 June 2002 21:55, Robert Voigt wrote: > > The FAQ on the GL4Java website contains a question without an answer: > > My Canvas renders 1 frame, then stops, what's wrong ? > > I'd really like to know that because I ran into that problem. > > I followed the instructions about using the GLEventListener model, and > > now this. > > ;-) > > FOR GLEventListener's: dont make current and/or free by your own, > within the GLEventListener methods, implemented by your own. I don't call gljMakeCurrent() or gljFree(), nowhere. Still I get only one frame, then my object disappears. I don't know what else I could try. I did everything I could see in the gears demo. |
From: Sven G. <sgo...@ja...> - 2002-06-20 05:18:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 16 June 2002 12:09, Robert Voigt wrote: > On Saturday 15 June 2002 06:20, you wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Friday 14 June 2002 21:55, Robert Voigt wrote: > > > The FAQ on the GL4Java website contains a question without an answer: > > > My Canvas renders 1 frame, then stops, what's wrong ? > > > I'd really like to know that because I ran into that problem. > > > I followed the instructions about using the GLEventListener model, and > > > now this. > > > > ;-) > > > > FOR GLEventListener's: dont make current and/or free by your own, > > within the GLEventListener methods, implemented by your own. > > I don't call gljMakeCurrent() or gljFree(), nowhere. Still I get only one > frame, then my object disappears. I don't know what else I could try. I did > everything I could see in the gears demo. ok - then, please send a little demo (< 1MB) cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9EWWAHdOA30NoFAARAnr4AJ9dZSWdS+lxsulC6OG+Y+llukPv3ACfU2i5 O5N0NcgqbRI0V6wky4fdSBo= =WqV1 -----END PGP SIGNATURE----- |
From: Robert V. <f1...@gm...> - 2002-06-20 07:19:13
Attachments:
PlotRenderer.java
AppFrame.java
|
On Thursday 20 June 2002 07:17, you wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sunday 16 June 2002 12:09, Robert Voigt wrote: > > On Saturday 15 June 2002 06:20, you wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > On Friday 14 June 2002 21:55, Robert Voigt wrote: > > > > The FAQ on the GL4Java website contains a question without an answer: > > > > My Canvas renders 1 frame, then stops, what's wrong ? > > > > I'd really like to know that because I ran into that problem. > > > > I followed the instructions about using the GLEventListener model, > > > > and now this. > > > > > > ;-) > > > > > > FOR GLEventListener's: dont make current and/or free by your own, > > > within the GLEventListener methods, implemented by your own. > > > > I don't call gljMakeCurrent() or gljFree(), nowhere. Still I get only one > > frame, then my object disappears. I don't know what else I could try. I > > did everything I could see in the gears demo. > > ok - then, please send a little demo (< 1MB) I found the problem. It was me who messed it up :) I let it draw something that was smaller than 1 pixel. But there was a reason for being confused. When I startet the program I always got 1 frame with my geometry visible. So it was drawn with the wrong modelview matrix or whatever matrix, I don't know much about these matrices yet. I send a fixed version of my program. The object is now 25 pixels big, so it is visible. But you can still see that in the first frame it is drawn much bigger and somewhere else. I don't think that's a real problem, but it's interesting. |