Re: GPU based Resolution Independent Curve Rendering
Posted by Rami Santina on Apr 08, 2011; 10:34pm
URL: https://forum.jogamp.org/GPU-based-Resolution-Independent-Curve-Rendering-tp2764277p2797430.html
>> Also, I am unable to see the same quality of rendering as the screenshots
>> on
>> Rami's blog, especially with small text. Is there something special I
>> need
>> to do to achieve the same levels of clarity as posted by Rami? Small(ish)
>> text is very fuzzy and and appears to be rendered without any AA.
>
> Rami may have used some fine tuned parameters here and there.
> Rami ?
the snapshots regarding small text uses Region.TWO_PASS
for rendering. Since in single pass we rely on MSAA which will give a
blur effect
on small/tiny size shapes (especially if skinny like text)
In the TWO_PASS rendering, you need to specify texture size while rendering.
Which is currently not automatically computed..why, two many cases...
so left it manually for now....
to try it...(ie get same results)
run com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo02
and manipulate it using
1/2: zoom in/out
6/7: 2nd pass texture size
to see the effect.