Certainly there are things in life that money can't buy; but did you ever try buying them without money ? - Ogden Nash Concept 2.2 : Antialiasing in RGBA Mode ======================================= Important Note: =============== If you are using Mesa version 2.3 or lower antialiasing is not supported. If you are using SGI OpenGl this example will visually make more sense. Right Click on the rendering window for a menu This example initializes the necessary modes for antialiasing and then draws a red colored cube. The 'r' key rotates the cube so that you can see the effect of antialiasing on lines of differing slopes. In RGBA mode, one must enable blending. The blending factors typically used are GL_SRC_ALPHA for the source and GL_ONE_MINUS_SRC_ALPHA for the destination. Alternatively GL_ONE can be used for the destination factor to make the lines a little brighter where they intersect. The anti- aliased effect is most noticeable if one uses a fairly high alpha value.