Re: Antialiased polygons in JOGL 2.0 rc3
Posted by Archie on Sep 27, 2011; 11:18am
URL: https://forum.jogamp.org/Antialiased-polygons-in-JOGL-2-0-rc3-tp3369689p3372274.html
I tried to turn the alpha on in the capabilities but either I couldn't find the right setting to do this or it is still not helping.
I tried playing with the following setting:
capabilities.setAlphaBits(1);
and also different combinations with these just in case that would have an effect.
capabilities.setBackgroundOpaque(false);
capabilities.setTransparentAlphaValue(0);
I'm now going to play with the gears demo as was suggested and see what is the situation with that. After that I'll check out Rami's advice and see if I can get msaa going instead. But I'm still keen to at least get this polygon smoothing going just for the sake of nutting it out. I have a reasonably modern graphics card (geforce 8800 GTS) so I'm 'fairly' certain it can do smoothing in this way (even if it is not the ultimate approach).
Anyway, I'll let you guys know if the gears demo's help shine some light on this.