From: p <pe...@gm...> - 2000-06-06 00:46:56
|
hi, the mail from max gilead helped me: >You need to activate the context. See GL4Java FAQ for code example. URL is >on GL4Java page and here: >http://3d.linart.krakow.pl/OfficinaArtificialis/OpenGL/GL4Java-FAQ.html. so i think in gl4Java-words it means: glj.gljMakeCurrent(true); ... do some opengl things glj.gljCheckGL(); glj.gljFree(); that code worked on my system... but sometimes i got also a problem because the gl-system was not inialized (gl was null)... so as it also mentioned in the gl4java-faq it is a good approach to do all opengl-stuff within the (e.g.) display-method. i did it also in this way: if i want to have new textures assigned i put the data in a queue and the display-method checks the queue and does the work. ciao peter Silvia Toscano wrote: > This message was sent from Geocrawler.com by "Silvia Toscano" <sil...@ho...> > > Hi > I am new too and i was wondering if you have resolved the problem.. > I have this error too but i am not using different threads, nevertheless, > i also have this mark with gljckeckGL. > > Greetings > (((http://jzone.de))) |