FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 267 : lack of accuracy when drawing 2D lines with P3D
Last modified: 2007-06-23 20:27
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
95
Pr
i
ority:
P3
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
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
***