Jump to content
  • Advertisement
Sign in to follow this  
Grazer2

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

This topic is 2776 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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:

Cz9B1.png

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] http://artis.inrialp...a5-dimitrov.pdf

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!