FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
Search
\
Report a Bug
\
Reports
\
Requests
\
Login
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
Create a New Attachment
(proposed patch, testcase, etc.)
View All
Votes
:
0
Show votes for this bug
Vote for this bug
S
ummary:
Implement support for complex shapes when using the OpenGL renderer
C
omments:
U
RL:
Please use attachments to demonstrate the bug you are reporting.
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.