GL : Antialiasing for polygons ?

Alexandre's icon

Hi,
I was wondering about using jit.gl.mesh to draw lots of blended 2D poligons faster than the standard LCD. (from datas sended from java)

I can't find a way to get Antialiased polygons.
I tried [antialias 1]->[jit.gl.mesh] but it works only for lines, not polygons. (see picture below)

I also tried [fsaa 1]->[jit.gl.render] or using [jit.gl.sketch], but is the same.

Is there a way is it always like this in opengl ?
Or is it the fault of my graphic card ?
(MPB 2,4Ghz 2008 unibody)

Thanks,

1415.aliasing-on-lines-only.png
png
Ben Bracken's icon

Hi Alexandre,

Do you have @fsaa 1 set on your jit.window/pwindow?

If you are still having problems, maybe post a simple patch?

-Ben

Alexandre's icon

Thanks Ben!