Bug 947 : Implement support for complex shapes when using the OpenGL renderer
Last modified: 2008-10-11 13:03




Status:
ASSIGNED
Resolution:
-
Priority:
P2
Severity:
normal

 

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.