We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › OpenGL Processing apps don't work in XP for me
Page Index Toggle Pages: 1
OpenGL Processing apps don't work in XP for me (Read 679 times)
OpenGL Processing apps don't work in XP for me
May 4th, 2008, 12:26am
 
Hi all!

I've been trying to get Processing applications to work in OpenGL for me. It works flawlessly in OS X, but not so well in XP.

On my MacBook (w/ the Intel GMA X3100) under a Boot Camp'd XP, it works neither in present nor in normal windowed mode.

On school XP machines (which I believe either have the GMA 900 or 950), it sometimes works in windowed mode, but never inp resent mode.

Does anyone have hacks or fixes for this behavior? I've tried playing with the OpenGL settings and updated the drivers (both as per suggested by the reference section here on OpenGL in Processing), but to no avail.

Any help would be much appreciated!
Re: OpenGL Processing apps don't work in XP for me
Reply #1 - May 4th, 2008, 1:17am
 
I should be more clear  "doesn't work":

It compiles fine, but shows a blank screen if in 'present' mode or a blank frame if in 'window' mode. In both cases, the program is definitely running (I can make writes to console), but nothing is displaying. If I switch to other modes (e.g., P3D), it works fine.
Re: OpenGL Processing apps don't work in XP for me
Reply #2 - May 4th, 2008, 8:02pm
 
Problem solved!

After further research, it turns out that the culprit was some conflict Windows DirectDraw. JOGL has the issue documented on their site (see #3): http://opengl.j3d.org/faq/jogl_basics.html

All that needs to be added is the argument "-Dsun.java2d.noddraw=true" for the JRE.
Page Index Toggle Pages: 1