Loading...
Logo
Processing Forum

2.0 not working - weird images

in General Discussion  •  Other  •  7 months ago  
Hello there,

a collegue started working with Processing 2.0b8 and is getting weird images while trying the simplest examples:


void setup() {
  size(400, 400, P3D);
  frame.setResizable(true);
}

void draw() {
  background(255, 0, 0);
  ellipse(width/2, height/2, 100, 50); 
}


Any suggestions where to start looking for the problem?

System: Mac OSX 10.6
Graphics: ATI Radeon HD 2600
Quad-Core Intel Xeon 2,8 GHz



Replies(2)

I tested this code and it worked for me on Ubuntu 12.04 with NVidia GEFORCE 610M

Anyway I think it may be related with the following instruction:
Copy code
  1. frame.setResizable(true);
Tell him/her to remove this line. And you may also try other renderer instead of P3D.

If removing P3D from the size() produce good effects the problem may be related with the videocard driver...?!
Thanks for your response.

Maybe I wasnt precise enough - we tried different examples which come with the Processing IDE and they are all not running.  This one i just randomly picked to show that its not working even in a simple context.
Means, its independend of frame.setResizable(true) or the chosen Renderer.

On my computer its working fine, even on his other one. I'm just curious what it might be that its not working on this one machine.

Maybe we should start with the graphicscard driver - that was my suggestion as well.


When he runs it in Javascript its working.