FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 947 : Implement support for complex shapes when using the OpenGL renderer
Last modified: 2008-10-11 13:03
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
ASSIGNED
Resolution:
-
Pr
i
ority:
P2
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-11 13:03
When drawing complex shape data with OpenGL, you might see the error
message "This renderer cannot currently handle concave shapes, or shapes
with holes."
This is a matter of taking the time to override the addPolygonTriangles()
method in PGraphics3D to instead use the OpenGL tessellator. The
tessellator is already use for rendering font data with textMode(SHAPE) so
it's a matter of a straightforward of adapting that code for broader use.
Not technically impossible, but requires an afternoon's work to implement.
This bug is now being tracked
here
.