Normalmente, tendrá que utilizar algo como:OpenGL ES iPhone - el trazado de líneas anti-aliasing
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_LINE_SMOOTH);
glLineWidth(2.0f);
glVertexPointer(2, GL_FLOAT, 0, points);
glEnableClientState(GL_VERTEX_ARRAY);
glDrawArrays(GL_LINE_STRIP, 0, num_points);
glDisableClientState(GL_VERTEX_ARRAY);
Se ve bien en el simulador de iPhone, pero en el iPhone las líneas de conseguir extremadamente delgada y w/o cualquier fármaco anti aliasing.
¿Cómo se obtiene AA en el iPhone?
Se podría hacerlos como líneas alias luego aplicar una [filtro Bloom] (http://ofps.oreilly.com/titles/9780596804824/chadvanced.html#fig-BloomTriptych) – bobobobo
@bobobobo el enlace está muerto . – TomSawyer