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.
IndexSuggestions & BugsSoftware Bugs › When pixel access in opengl will be fixed
Page Index Toggle Pages: 1
When pixel access in opengl will be fixed? (Read 851 times)
When pixel access in opengl will be fixed?
Jul 25th, 2005, 9:47pm
 
does anyone know the priority of this issue?

The simple test is:

Code:
import processing.opengl.*;

color pink;

void setup(){
size(200,200,OPENGL);
pink = color(255, 102, 204);

}

void draw(){
background(0);
loadPixels();
for (int k=0; k<(width*height/2)-width/2; k++) {
pixels[k] = pink;
}
updatePixels();
}
Re: When pixel access in opengl will be fixed?
Reply #1 - Jul 28th, 2005, 1:24am
 
while not particularly difficult to fix, the priority of this issue is low because if you're doing a bunch of pixel access stuff, you're not gonna get the speed improvements of opengl, so in fact it may not even be faster than P3D, and in some cases, very likely could be slower.

follow-up here: http://dev.processing.org/bugs/show_bug.cgi?id=91
Page Index Toggle Pages: 1