Bug 267 : lack of accuracy when drawing 2D lines with P3D
Last modified: 2007-06-23 20:27




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

 

Reporter:
van
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-12-29 08:12
// The following program produces striations in trivial line drawing
// as seen by comparison test in posted applet viewed in Firefox 1.5 on Win2000

int iY = 0;

void setup()
{
size(200, 200, P3D);
stroke(0, 0, 255);
}

void draw()
{
line(0, iY, width-1, iY);
iY++;
}
Additional Comment #1 From fry 2006-01-01 19:49
P3D is built for speed of drawing 3D objects, not accuracy, and therefore suffers when
drawing in drawing 2D at small sizes. there are several tradeoffs that are made and this is
why you can specify one of multiple renderers via the size() command to suit your situation.

this is essentially the same issue as bug #95.
Additional Comment #2 From fry 2007-06-23 20:27


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