I draw 3d-scene with primitives like this:
glLoadIdentity();
glColor4f(model[i][8], model[i][9], model[i][10], 1.0);
glTranslatef(current_x, current_y, current_z);
glVertexPointer(3, GL_FLOAT, 0, &squareVertices[0]);
glEnableClientState(GL_VERTEX_ARRAY);
glShadeModel(GL_FLAT);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
and of course there is no antialiasing. i've read and tried much advices (including stackoverflow). e.g.:
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_LINE_SMOOTH);
but still can't implement aa-technique. can anybody tell me, is it possible without modifying a lot of existing code?