FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1144 : using gl, polygons don't show up in pdf with beginRaw/endRaw
Last modified: 2009-02-20 11:37
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
1099
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
steph
Assigned To:
fry
Attachment
Type
Created
Size
Actions
pdf exported with the Marius Watz example and opengl
application/pdf
2009-01-31 11:45
224.18 KB
applet view when generating the previous pdf
image/png
2009-01-31 11:47
98.27 KB
Description
: Opened: 2009-01-31 11:40
I'm far from experienced in this topic, but this looks like a bug to me.
I found it by trying the "Complex 3D" pdf example. If I draw lines and
polygons with opengl, only lines appear on the PDF. All polygon based
shapes are missing (or invisible?). They do appear on the applet window
though. But if I change the rendering to P3D, all shapes are visible on the
PDF.
FYI, I tried it on the 135 version, and it correctly generates all shapes
using GL.
Here is a snippet that replicates the bug. Replace OPENGL with P3D to see
the difference (btw with the latter, the edge between the 2 triangles
forming each rectangle is visible, is that normal?).
import processing.opengl.*;
import processing.pdf.*;
size(200, 200, OPENGL);
beginRaw(PDF, "bug_rep.pdf");
noStroke();
fill(0);
rect(0,0,width,height);
fill(255);
rect(0,0,50,50);
endRaw();
Additional Comment
#1 From steph 2009-01-31 11:43
I'm sorry I forgot to mention this happens to me with the 1.0.1 release on
Leopard.
Additional Comment
#2 From steph 2009-01-31 11:45
edit
]
pdf exported with the Marius Watz example and opengl
Additional Comment
#3 From steph 2009-01-31 11:47
edit
]
applet view when generating the previous pdf
Additional Comment
#4 From fry 2009-02-20 11:37
*** This bug has been marked as a duplicate of
1099
***