From: <Px...@ao...> - 2002-06-13 14:49:33
|
More info: When it came time to graph I tried to render my graph to GLOffScreenDrawable and then do glReadPixels it produced the same problem---a pixel array of 0's (from when it was initialized). I've even put some 1's in the initial pixel array to see if anything would change but the 1's stay ones--glReadPixels isn't doing anything. Then I tried TGATextureGrabber to save it as a .tga, but it was still an all black (all 0's) picture. THEN, I went to the demo's for GLOffScreenDrawable and grabbed the classes gearsOffScreen2Tga.java and gearRenderer and tried to execute the main in gearsOffScreen2Tga and got a big exception. Here are the first few and last lines of it... An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D2150D6 Function=JNU_GetEnv+0xC Library=c:\j2sdk1.4.0_01\jre\bin\java.dll Current Java thread: at sun.awt.font.NativeFontWrapper.registerFonts(Native Method) - locked <06BABD58> (a java.lang.Class) at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:709) at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:560) at sun.java2d.SunGraphicsEnvironment.access$000(SunGraphicsEnvironment.java:57) at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:160) at java.security.AccessController.doPrivileged(Native Method) at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:86) ....... Local Time = Thu Jun 13 09:36:09 2002 Elapsed Time = 1 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode) # Is this just a matter of permissions somewhere?? If it is can you point me in the right direction? I really do appreciate any and all help. Dennis |