FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 956 : Lines with strokeWeight() set are flat in P3D and can disappear when rotated or transformed
Last modified: 2008-11-06 13:58
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
ASSIGNED
Resolution:
-
Pr
i
ority:
P3
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
fry
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-10-17 07:43
When used with P3D, strokeWeight does not interpolate the Z-coordinates of
the lines, which means that when rotated, these flat lines may disappear.
(Since, uh, lines are, you know, flat.) The OPENGL renderer setting does
not share this problem because it always draws lines perpendicular to the
screen (which we hope to do in a future release).
Additional Comment
#1 From ewjordan 2008-11-06 13:35
One solution to this might be to follow OpenGL's lead (at least in some
implementations) and handle strokeWeight() after the perspective
transformation is already applied, generating the quad so that it's the
appropriate size in screen coordinates.
Additional Comment
#2 From fry 2008-11-06 13:58
yeah, and now that the line/poly/point code is broken up a bit, this might
be a little more doable.
This bug is now being tracked
here
.