I'm having trouble running any sketches at all in Processing 2b8 or 2b7 using P2D, P3D, or OPENGL. Does not matter what the code looks like, if I declare a renderer I'm treated to a flashing glitched applet.
I also ran a few of the examples just for kicks, and this error returned in the console on most of them:
"Framebuffer error (framebuffer unsupported), rendering will probably not work as expected
OpenGL error 1286 at top endDraw(): invalid framebuffer operation"
Is this a bug or am I just out of luck with this machine? I can't upgrade to a newer OS because this is one of the older dual core intel xeon mac pro towers.
Any help or suggestions would be very welcome, even if it's just to tell me that this won't work on my computer. Is there any other information I can provide that might lead to answers?
I want to access the data being stored in icc color profiles, but I don't have any idea where to start. Does anyone out there know how this data is organized and stored, and what might be involved with accessing it with processing?
For example, the color sync utility in os x is accessing that information and visualizing it in some way. Perhaps processing can be used to do the same? If not processing, might there be any other environments that could be used?
Additionally, is there even any way to work in 16bit color spaces in processing, like Adobe 1998 or prophoto instead of the default sRGB or genericRGB? I did a few searches but came up empty handed.
I'm new to sorting algorithms, and in an effort to keep things as simple as possible for myself, I decided to use a bubble sort to sort the pixels of an image. I know that bubble sort is going to be slow, but I'd like to make it work anyhow. When I run the code below nothing happens.
Is the problem in my sort, or does it have to do with the way I'm filling the array from the pixels?
Here is what I've got.
PImage img;
int increment= 2;
void setup(){
img = loadImage("image01.png");
size (img.width, img.height);
image(img, 0, 0, width, height);
}
void doSort(){
loadPixels();
for (int x = 0; x<((width*height)-(increment+2)); x++){