Dear FLTK team,There is no way to implement antialiasing functions on polygon-based OpenGL drawings in the FLTK 1.3.X series in order to get better scenes? I have not tried ti use GLUT, I would like just using the gl_window class instead.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/fe320ffb-f547-4e80-ab3d-d7d2fe18db05n%40googlegroups.com.
On 6/2/21 1:27 PM, Ian MacArthur wrote:
This is more a GL question than a fltk one, really, I guess. Once you have your GL context in fltk, say in a Fl_Gl_Window, then what you draw in there is pretty much up to you.
As Bill says, FSAA is probably the way to go; basically create your frame buffer in some MSAA mode and then render your scene pretty much as normal and let the buffer take care of the AA for you...
I wasn't able to get the flat polygon rendering to work, probably because of the reasons Bill mentioned,
and I wasn't sure how to enable full screen anti-aliasing; that seems to be a feature of the window,
and I'm not sure how to control that. I'm also not familiar with the "new" opengl stuff yet.
I've found opengl features in general are very machine specific.
For instance my linux machine's OpenGL can't seem to do AA at all, even for
simple line drawing. But on the mac it's much better.