Sign in to follow this  
Grazer2

Horizon-Split Ambient Occlusion - How to derive the formula?

Recommended Posts

Hey,
There's this paper about horizon based ambient occlusion [1] which you may or may not know. It essentially states that ambient occlusion (which afaik is proportional to an area on the surface of a hemisphere) may be approximated by a sum of sin² functions. Here's how it is shown in the GDC08 slides on this topic courtesy of Miguel Sainz:

[img]http://i.imgur.com/Cz9B1.png[/img]

It is shown in [1] that the H is basically the sine of the elevation angle of the blue arrows in the right depiction. Another way to think of this as the height of those linear section from the ground. So it's essentially the squared height of the sections which is summed up. Anybody got an idea how this relates to the area of the hemisphere or to the general ambient occlusion formulation. Basically I'm wondering what this formula is expressing and where it is coming from. Thanks.

edit: The above picture is taken from a pdf containing the slides. However there's also a ppt version which seems to add another bit of information: http://imgur.com/8en9B
It's almost the same, but maybe it helps someone understand it just the little bit better.

[1] [url="http://artis.inrialpes.fr/Membres/Olivier.Hoel/ssao/nVidiaHSAO/a5-dimitrov.pdf"]http://artis.inrialp...a5-dimitrov.pdf[/url]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this