Bug 237 : P3D drawing problem
Last modified: 2005-12-02 07:10




Status:
RESOLVED
Resolution:
DUPLICATE of bug 95
Priority:
P2
Severity:
normal

 

Reporter:
njetti
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-12-01 20:39
I'm always wanting to draw simple rects. But it's hard in Processing. OpenGL doesn't finish
drawing the whole rect. (See other bug report) and P3D draws them in various sizes.

Move the mouse and watch the rects change size:


Form aform;
void setup() {
size(400,400, P3D); // DELETE P3D and it works fine !!!
aform = new Form(20, 200);
}
void draw() {
background(122);
aform.update();
}
class Form {
int x;
int y;
Form(int _x, int _y) {
x = _x;
y = _y;
}
void update(){
x = mouseX - 20;
y = mouseY - 20;
rect(x-10, y - 5, 4, 10);
rect(x, y+10, 4, 12);
rect(x+5, y-10, 12, 4);
}
}

OS X 10.4.2 and Processing 97

Any updates on this problem?
Additional Comment #1 From fry 2005-12-02 07:10


*** This bug has been marked as a duplicate of 95 ***