From: Heiko E. <ma...@he...> - 2003-12-08 12:08:37
|
Have you tried to make the context current ? glj.gljMakeCurrent(); gl.glReadPixels... glj.gljFree(); Heiko On Sat, 6 Dec 2003, Ali wrote: > Hi everyone, > > i couldnt read the point of pixels:(And i have little time to complete my image process thesis. Could any one help me? > > i wrote this, but nothing happened including error:( > > int pixels[]; > pixels = new int[3]; > System.out.println("Okuyacagi Yer"+x+" "+y); > gl.glReadPixels(x,y,1,1,GL_RGB,GL_UNSIGNED_BYTE, pixels); > > byes > > > --------------------------------- > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing |