Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: AA in post?  (Read 1539 times)

Kyle

  • Full Member
  • ***
  • Posts: 184
    • View Profile
AA in post?
« on: September 06, 2010, 05:01:36 am »

Hey all. so I was wondering if anyone know of any cleaver ways of anti aliasing a render after its been rendered. obviously nothing beats the real thing and shadows would still be hard edged, but maybe there's a way to lessen the harshest edges at least? I'm pretty good with photoshop but nothing Ive tried seems to work too well. what I need is an edge finding blur of some sort. they have that for sharpening but not blurring.

There's probably not much you can do, just thought I'd ask.  it could really help me when I just want to see something rendered and AA'd fast
Logged

ENSONIQ5

  • Sr. Member
  • ****
  • Posts: 925
    • View Profile
    • Mission Backup Earth
Re: AA in post?
« Reply #1 on: September 06, 2010, 08:01:52 am »

For any AA system to work, it needs to know more about the image than is actually visible.  Applying any sort of blur will affect vertical and horizontal edges in the same way as jaggy diagonal ones, so the result is just a blur, without an AA effect.  The AA system needs to 'know' that a jaggy line is supposed to be diagonal, and apply AA 'blurring' accordingly, and the only way it can know that is if it has access to more detailed information about the image than you can see.

The AA applied at the time of rendering has access to the mathematical definition of each edge, so AA can be applied with a high degree of accuracy.  Edges that are supposed to be vertical or horizontal are left alone, whereas V & H edges that are actually making up a diagonal line can be anti-aliased to provide a clear, jag-free image.

The only post-render AA effect that I have found that has any degree of accuracy is to apply a light Gaussian blur to a render with at least double the resolution in both axes (twice the width and twice the height) and then resampling down to the required resolution.  For example, if producing a PAL animation with 720x576px, you would render at 1440x1152px, apply the Gaussian blur, and resample down to 720x576px.  In this way you are still going from a 'more information' state to a 'less information' state, so some degree of AA is possible.

The effect is not as good as true AA, and the technique isn't much use if you have already rendered your image.  Although the larger render will obviously be slower to produce, it will still be significantly quicker than rendering at a lower resolution with AA on, at least out of Anim8or's renderers.
Logged

Kyle

  • Full Member
  • ***
  • Posts: 184
    • View Profile
Re: AA in post?
« Reply #2 on: September 12, 2010, 03:05:14 am »

yeah, Ive done that before.  anyway, I figured as much, just wanted to make sure. Thanks.
Logged