Bug 1230 - Two-pass TextRenderer doesn't work if culling is enabled
Summary: Two-pass TextRenderer doesn't work if culling is enabled
Status: UNCONFIRMED
Alias: None
Product: Jogl
Classification: JogAmp
Component: graph (show other bugs)
Version: 2.4.0
Hardware: All all
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks: 1064
  Show dependency treegraph
 
Reported: 2015-09-23 14:40 CEST by Alan Sambol
Modified: 2015-10-01 10:00 CEST (History)
4 users (show)

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments
Screenshot results of the culling test (75.16 KB, application/x-zip-compressed)
2015-09-23 14:40 CEST, Alan Sambol
Details
Test TestTextRendererNEWT00 with added culling (18.52 KB, text/x-csrc)
2015-09-23 14:42 CEST, Alan Sambol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Sambol 2015-09-23 14:40:28 CEST
Created attachment 743 [details]
Screenshot results of the culling test

If gl.glEnable(GL.GL_CULL_FACE) is set, graph text rendering doesn't work with region MSAA or VBAA. It works ok with full scene MSAA or no anti-aliasing.

If it can't be made to work with culling, the quick solution would be to simply disable GL_CULL_FACE before rendering, and enable it afterwards, maybe via a new hintMask or custom enable/disable callbacks for renderer.
Comment 1 Alan Sambol 2015-09-23 14:42:18 CEST
Created attachment 744 [details]
Test TestTextRendererNEWT00 with added culling