iPhone OpenGL ES anti-aliasing?
glBlendFunc(GL SRCALPHA, GL ONE_MINUS_SRCALPHA);
glEnable(GL_BLEND);
glEnable(GL_SMOOTH);
glEnable(GL_MULTISAMPLE);
and a few others, but none of them work. I'm not exactly an OpenGL heavy, so I wouldn't know if these were even the right kinds of things to enable for anti-aliasing content (it seems like GL_SMOOTH or GL_MULTISAMPLE would work). It seems like the general consensus for OpenGL ES is that anti-aliasing is platform-dependent, but I haven't seen anything which says whether it's possible on the iPhone. I would assume that it would be possible on the iPhone, considering that things drawn with the Quartz CG methods are anti-aliased by default. It looks to me, though, like the only way to do it would be to render into a buffer with two times the width and height, and then scale it down to fit the display. That seems a little bit processor heavy, though, especially on a mobile device. Any input would be greatly appreciated 🙂.
Sonny Jim
Mac OS X (10.5.4)