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 & HelpSyntax Questions › loadpixels and OpenGL
Page Index Toggle Pages: 1
loadpixels and OpenGL (Read 508 times)
loadpixels and OpenGL
Sep 16th, 2005, 5:27pm
 
Here: http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1126623602 I am outlining the problem and Fry is commenting on it.

I have to make an instance of PImage every frame, otherwise the image doesnt render. But when I dont make that Image every frame, I am supposed to use loadPixels to load the pixel data in the output buffer. BUT this is not working with OpenGL, whereas it works fine in P3D.
In OpenGL I have to use pic.updatePixels(); BUT then performance drops liek HELL.
Is there any other possibility?
Page Index Toggle Pages: 1