GL : Antialiasing for polygons ?

Nov 19, 2010 at 7:04pm

GL : Antialiasing for polygons ?

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,

Attachments:
  1. aliasing-on-lines-only.png
#53426
Nov 19, 2010 at 7:26pm

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

#192202
Nov 19, 2010 at 7:59pm

Thanks Ben!

#192203

You must be logged in to reply to this topic.