FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1173 : OpenGL: no difference for stroke weights above 10
Last modified: 2009-02-23 10:00
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
INVALID -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
bohnacker
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Output of the sketch. Third line should be much thicker.
image/png
2009-02-23 09:00
922 bytes
Description
: Opened: 2009-02-23 08:59
Processing 1.0.2 (with new opengl.jar, pdf.jar and core.jar from 02/23/09)
Mac OS X 10.5.6
OpenGL renders thick lines always with stroke weight 10.
------
import processing.opengl.*;
void setup() {
size(200, 200, OPENGL);
strokeWeight(5);
line(30, 30, 170, 90);
strokeWeight(10);
line(30, 70, 170, 130);
strokeWeight(20);
line(30, 110, 170, 170);
saveFrame("bug_rep.png");
}
------
Additional Comment
#1 From bohnacker 2009-02-23 09:00
edit
]
Output of the sketch. Third line should be much thicker.
Additional Comment
#2 From fry 2009-02-23 10:00
This is an OpenGL restriction, and is dependent on your drivers and OS.
I've added a note to the reference for strokeWeight().