Results 1 to 3 of 3

Thread: Anti Aliasing

  1. #1
    Junior Member
    Join Date
    Jul 2005
    Location
    ny
    Posts
    3

    Anti Aliasing

    I am running the example that is supposed to display smooth lines using anti-aliasing feature.The line appears jagged when I rotate it by some degrees.
    Any ideas why it's not working?

    code snippet:
    glEnable(GL_LINE_SMOOTH);
    glEnable(GL_BLEND);
    glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    glHint(GL_LINE_SMOOTH_HINT, GL_DONT_CARE);
    glLineWidth (3.0);

    Thanks in advance.

  2. #2

    Re: Anti Aliasing

    Are you specifying alpha for your line color(s)? A screenshot would be helpful.

  3. #3
    Junior Member
    Join Date
    Aug 2005
    Posts
    1

    Re: Anti Aliasing

    Quote Originally Posted by bentlegen
    Are you specifying alpha for your line color(s)? A screenshot would be helpful.
    What alpha should i specify to get the lines antialiased?

Similar Threads

  1. [Anti-aliasing] how do i remove aliasing problem on ES1.0?
    By balladry in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 02-09-2012, 05:58 PM
  2. Anti-aliasing
    By Ryan in forum Developers Coding:Advanced
    Replies: 2
    Last Post: 12-03-2010, 09:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •