Re: Where did graph.curve.opengl.TextRenderer go ?
Posted by
Sven Gothel on
Jun 08, 2015; 4:53pm
URL: https://forum.jogamp.org/Where-did-graph-curve-opengl-TextRenderer-go-tp4034611p4034617.html
On 06/08/2015 06:47 PM, Lili [via jogamp] wrote:
> I see. Thank you Xerxes Rånby!
>
> I tried to run a very simple example. It seems to work fine until I enable the
> depth test. When I enable it the text doesn't show. It doesn't give me any
> errors.
depth is tricky, since we talk about an approx. 2D figure,
which then shall be upfront all other elements (z-axis)
and be rendered at last (back-to-front).
Following the above .. it does work, see our UI test renderer,
which sorts all elements by its z-axis.
Our UI test disables depth for all opaque elements
which are transparent.
~Sven