On May 18, 2014, at 5:34 PM, Rik <address@hidden> wrote:
5/18/14
All,
The code in gl-render.cc was incorrectly turning off line anti-aliasing all of the time. This changeset restores the correct behavior (http://hg.savannah.gnu.org/hgweb/octave/rev/be8d7721ac16). Octave now looks to use Full Scene Anti-Aliasing (GL_MULTISAMPLE) first. If this is not available then it tries to use the old built-in algorithm (GL_LINE_SMOOTH). I would welcome some comments about the desirablility of this feature. My screen does not support GL_MULTISAMPLE and I find that I prefer jagged edges to the attempt by OpenGL to anti-alias the lines. If enough OpenGL implementations are bad it may be better to have jagged lines if GL_MULTISAMPLE is not available.
--Rik <smooth.png><jagged.png>
A quick comparison at the pixel level indicates that the GL_LINE_SMOOTH isn't preserving the total effective number of colored pixels.
Ben
|