Forums > Jitter

jit.gl.text3d antialias property

June 19, 2010 | 10:50 am

Hi

I’ve been experimenting with jit.gl.text3d and having smooth fonts. I can’t seem to understand what the antialias property actually does. toggling it on and off makes no difference. Toggling the blend_enable on and off along side it also has no effect. And there’s no effect if I toggle these on the jit.gl.render either.

If I enable fsaa on the window I’m outputting to then I do get smooth fonts, but disabling all the other properties above doesn’t disable the appearance.

So I just don’t get what the antialias property is for? Am I missing a setting for it to work. FSAA does make the fonts look smoother, but it’s not the prettiest font smoothing I’ve seen…

Sample patch:

– Pasted Max Patch, click to expand. –

Many thanks

DiGiTaLFX



Ad.
June 19, 2010 | 3:58 pm

If your blend amount is 1, there’s surely no difference between blend_enable 1 or 0.

– Pasted Max Patch, click to expand. –

Try severals blend_mode to change the blend behaviour.


June 19, 2010 | 8:18 pm

I don’t really want to blend the text, I just read in the clue window that on some hardware blend_enable has to be enable for antialiasing to work.

Thanks though :)


June 19, 2010 | 8:31 pm

the antialias attribute really only affects points and lines in opengl.
if you set @poly_mode 1 1, turn off fsaa, and turn on blend_enable, you should see the antialias working.

solid geometry is not affected by antialias.


June 19, 2010 | 9:52 pm

Ah ok. Thanks!


Viewing 5 posts - 1 through 5 (of 5 total)