jit.gl.text3d antialias property

DiGiTaLFX's icon

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...

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

Sample patch:

Many thanks

DiGiTaLFX

Ad.'s icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Try severals blend_mode to change the blend behaviour.

DiGiTaLFX's icon

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 :)

Rob Ramirez's icon

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.

DiGiTaLFX's icon

Ah ok. Thanks!