Bug 444 : point() not working properly with P3D and OPENGL in releases 0120 and 0121
Last modified: 2006-11-16 10:28




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
jeremiah johnson
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2006-11-13 13:34
Processing 0121, Java 6.

When running some pde files, I get output similar to this:
http://naikrovek.org/stuff/what_the_hell.png

Note the large squares of background color that are not drawn over. I can
run the .pde files within the same JRE but a different version of
processing and the output is as one would expect.

Here's a small but complete .pde file that demonstrates the problem:

int dimx = 500;
int dimy = 500;

void setup() {
size(500,500,P3D); // p3d seems to be the breaker.
background(255);
stroke(0);
frameRate(1000); // to save time
}

void draw() {
int x1 = int(random(dimx));
int y1 = int(random(dimy));

point(x1, y1); // this does not work

//int x2 = int(random(dimx));
//int y2 = int(random(dimy));
//line(x1,y1,x2,y2); // this works.
//ellipse(x, y, 5, 5); // this works.
}
Additional Comment #1 From fry 2006-11-13 15:13
java 6 is not supported in any way, shape, or form:
http://processing.org/reference/environment/platforms.html#java

please verify that this is also a problem with the version of processing
that includes java.
Additional Comment #2 From jeremiah johnson 2006-11-13 18:43
The issue continues to arise with the JRE included in the bundle that
includes Java.
Additional Comment #3 From fry 2006-11-15 18:14
*** Bug 446 has been marked as a duplicate of this bug. ***
Additional Comment #4 From fry 2006-11-15 18:15
confirmed, this should be something minor and i'm checking into it now.
thanks for the report(s).
Additional Comment #5 From fry 2006-11-15 19:09
found and fixed for 0122. was a regression related to the code that fixed
polygon drawing in 0120.
Additional Comment #6 From jeremiah johnson 2006-11-15 19:29
(In reply to comment #5)
>
>
>
> Additional Comment #5 From
>
> fry
> 2006-11-15 19:09
>
> <!--
> addReplyLink(5); //-->[reply]
>
>
>
>
> found and fixed for 0122. was a regression related to the code that
fixed
> polygon drawing in 0120.
>
>

Awesome, thanks dude.