From: Sven G. <sgo...@ja...> - 2001-09-28 23:58:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 28 September 2001 17:40, Ricardo Olanda wrote: > ----------------- > OK, now I change the state in the mouse and keyboard callbacks, but the > problem is when I load a texture in display method, it cost time, well I > load the textures, and I catch them, but in my aplication I fly over > terrain, and I have to load textures while I am moving. > > How can I make a correct context, are there any example? > Thanks > read the demo's there are listener modell demo's like gears and derivation ones (the old style of overwriting functions).. look in demos/MiscDemos for example (seek for gljMakeCurrent/gljFree pair's) you should update to the new gl4java @ sourceforge 2.8.0.5 prerelease, cause context switching is updated for your application, you should better buffer/read your textures before using them ! peace, sven - -- my concern about the current attack: http://www.jausoft.com/20010911-wtc/ 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 iD8DBQE7tQ6fHdOA30NoFAARAtXDAKCu4MDNGP3lxEEbbUz3NBjmQ0rGTwCfWZui ugLjIMW6mk2TCTummI5+kr0= =YewQ -----END PGP SIGNATURE----- |