David Patte
05-15-2010, 06:15 AM
Hi
I am writing a small app using opengl. But I have run into a problem with 'jaggies' on the edges of my polygons.
I have no problem antaliasing points and lines, but after searching this site, have found nothing here that seems to work in antialiasing the edges of the polygons when i try it in my code.
I've tried the technique of turning off depth testing, starting with a black, alpha-0 screen, and painting my polygons from back to front using glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE);
to no avail.
Any reasons why the antialias may not be working, and does anyone have some suggestions or tricks I might try to get this to work?
I am writing a small app using opengl. But I have run into a problem with 'jaggies' on the edges of my polygons.
I have no problem antaliasing points and lines, but after searching this site, have found nothing here that seems to work in antialiasing the edges of the polygons when i try it in my code.
I've tried the technique of turning off depth testing, starting with a black, alpha-0 screen, and painting my polygons from back to front using glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE);
to no avail.
Any reasons why the antialias may not be working, and does anyone have some suggestions or tricks I might try to get this to work?