Results 1 to 7 of 7

Thread: the way of Antialiasing?

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2006
    Location
    BeiJing
    Posts
    7

    the way of Antialiasing?

    We could write code using GL_POINT_SMOOTH,GL_POLYGON_SMOOTH and so on,and we can also enable antialiasing through the GPU(Nvidia/ATI) settings.

    So I don't know what's the difference between them. Can anyone explain it to me.
    Thanks!

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: the way of Antialiasing?

    Point Smooth and Polygon Smooth is totally different from full scene antialiasing you enable in driver settings.
    The *smooth mode only works for non textured primitives but is much higher quality than FSAA. FSAA needs at least 4 or 8 taps to be visually nice.
    FSAA can be enabled programatically throught the Multisample extension :
    http://oss.sgi.com/projects/ogl-samp...ultisample.txt

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2006
    Location
    BeiJing
    Posts
    7

    Re: the way of Antialiasing?

    Thanks!

    I will study that.
    However,another question:
    "FSAA can be enabled programatically throught the Multisample extension ",does that mean "FSAA = Multisample"?

  4. #4
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: the way of Antialiasing?

    Not exactly, multisampling is just one method to do full scene antialiasing. There are others, like supersampling or jittered accumulation buffer rendering.
    Multisampling has the performance benefit that it calculates the color only once for the multisample grid and only fills covered samples with that color. That has some accuracy drawbacks.
    Supersampling increases the rendered resolution.
    Jittered accumulation buffer rendering needs to draw the whole scene multiple times.

  5. #5
    Junior Member Newbie
    Join Date
    Jul 2006
    Location
    BeiJing
    Posts
    7

    Re: the way of Antialiasing?

    Thank you.
    I'm a newbie.I learned a lot about the antialiasing through your message.Now I'm wondering which way the GPU(such as Nvidia 6800) use for FSAA.

  6. #6
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,966

    Re: the way of Antialiasing?

    Multisample will antialias without zbuffer transparency problems. It's as if you had extra pixels within each pixel and the final result is the average. With blended antialiasing using polygon smooth you don't have multiple samples you have a blended accumulation process that does not play well with 3D objects and the depth buffer.

    Many of the alternative methods suggested like supersample or accumulation with jitter also are also problem free with zbuffer 3d etc. They all tend to be slower than multisample though. The built in OpenGL GL_POLYGON_SMOOTH method you suggested of alpha fragment generation based on coverage is uniquely high quality but uniquely crap for 3D zbuffered scenes. It's useful for lines in a 3D scene if you draw them last or reverse painters with saturate alpha blending but multisample is generally accepted as the preferred general purpose efficient approach.

  7. #7
    Junior Member Newbie
    Join Date
    Jul 2006
    Location
    BeiJing
    Posts
    7

    Re: the way of Antialiasing?

    Thank you all.

    Now I learned that I should read some more papers about this object to understood it totally.

Similar Threads

  1. AntiAliasing
    By devdept in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 04-02-2010, 03:06 AM
  2. Antialiasing on G80
    By PaladinOfKaos in forum OpenGL: Linux
    Replies: 3
    Last Post: 11-21-2007, 06:27 AM
  3. Antialiasing
    By yaro_dup1 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 02-04-2003, 03:01 PM
  4. AntiAliasing
    By cfranco in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-27-2002, 03:53 PM
  5. Antialiasing
    By sam02 in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 07-27-2002, 06:29 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
  •  
Proudly hosted by Digital Ocean