anti aliasing

This is a discussion on anti aliasing within the Game Programming forums, part of the General Programming Boards category; what is it how is it done?...

  1. #1
    muttski
    Guest

    anti aliasing

    what is it how is it done?

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    AA is a way of putting shaded pixels around curves, or diagonal lines to make them appear less pixelated, to do this, you put shaded pixels around curves or diagonal lines. Many graphics cards don't support this, and so it can slow games down considerably. Usually anti-aliasing is done previously in texture files to make them look nice and smooth.

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    Muttski you can do it a couple of ways. The easiest way is to re-draw the line you wish to anti-alias just a tad offset from the original and gradually blend the RGBS between the pixel that is there and the line color.

    The second way is as you are drawing the line using Bres. algo, any time you step down or increment on y, you will need to anti-alias. Usually you step back about half the size of the previous segment and draw your new colors from there.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Anti aliasing
    By arjunajay in forum Windows Programming
    Replies: 7
    Last Post: 08-15-2006, 09:24 PM
  2. Best Anti Virus Software...?
    By gardenair in forum Tech Board
    Replies: 4
    Last Post: 05-02-2003, 12:17 AM
  3. Looking for good anti spam software for Outlook 2002...
    By gicio in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-31-2002, 01:34 PM
  4. anti virus algorithm
    By sadat in forum C Programming
    Replies: 3
    Last Post: 06-03-2002, 10:58 AM
  5. help me in developing a good anti virus program
    By sadat in forum C++ Programming
    Replies: 3
    Last Post: 04-04-2002, 02:09 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21