On 04/17/2014 10:39 AM, andrei [via jogamp] wrote:
> Are there any good examples for the new TextRenderer? I've looked at the tests
> in the official repo but they seem to use classes that do not come with the
> latest release (? at least for example I do not have a TextRegionUtil, nor
> does my RenderState offer a constructor with just one parameter).
>
> I'm having a hard time getting text rendering done, is there a simple step by
> step overview?
Pls load jogl + sources incl. unit tests into your fav. IDE.
i.e. use the source git repo and build it yourself.
Instead of building jogl, if that is a problem,
you may can use the latest build and source-zip files
_plus_ the sources from the git repository.
Then you can check the backtrace/references
of TextRegionUtil .. and you will see the unit tests
and how they use it. IMHO .. not really that hard.
Of course, since we work on Graph/UI now,
things are in a flux until 2.2 is reached.
Note to myself: We need to add a jogl-test-src.zip file,
allowing users to browse through the unit tests itself!
Hope it helps a bit.
~Sven