Improving the resolution of circular jit.gl text at smaller scale values

rarasmus's icon

I'm trying to render circular text in jitter/openGL, but the text resolution is degraded quite a bit when rendered at smaller scale values. The fsaa attribute of the jit.gl.node gives a noticeable difference in quality only at larger scale values, but on the target machine (intel nuc running windows 8) and at the target 0.2 scale value, the difference between fsaa ON and OFF is barely noticeable (but ON will drop the frame rate to 5fps).

Are there any other attributes/settings that I could look into to improve the quality of the rendered text at small scale values?

Thanks.

Max Patch
Copy patch and select New From Clipboard in Max.

Martin Beck's icon

I don't know if this helps for the performance issues but to improve texture rendering the attributes

rectangle =0

in combination with

mipmap = trilinear (bilinear)

are helpful. It will reduce the jagged look but introduces blurring instead.
I added this as messages to your patch (jit.gl.node does not expose these attributes like jit.gl.texture)

capturetest.maxpat
Max Patch

rarasmus's icon

Hmm. Yeah, it doesn't quite improve the readability of the text. It also seems to affect the opacity of the text layer along with making it blur.

In the meantime I noticed a slight improvement of the text quality when I use a jit.gl.text in 2d mode instead of the jit.gl.text3d object. But it's still quite degraded.

Jean-Francois Charles's icon

fsaa will not improve the readability of the text.
Try the 'high_res' attribute to [jit.world].

rarasmus's icon

Tried that before, unfortunately no difference.

Rob Ramirez's icon

not much else to be done that I can think of. you might want to try in Max 8 and see if the appearance is improved at all, especially if on Windows since Max 8 supports high resolution displays in windows now.