Approximate Ambient Occlusion
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 17 Jan 2008 19:27:16 +0000 (19:27 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 17 Jan 2008 19:27:16 +0000 (19:27 +0000)
commit8cdfe865ecd79383399296a29b57b10d30ea9173
tree2c27e5438e7427ac32219ac6b9eacb5cc1ca3815
parent9af3b8a07e5ec51cc7838f8cbcd130262e2e095e
Approximate Ambient Occlusion
=============================

A new approximate ambient occlusion method has been added, next to the
existing one based on raytracing. This method is specifically targetted
at use in animations, since it is inherently noise free, and so will
not flicker across frames.

http://www.blender.org/development/current-projects/changes-since-244/approximate-ambient-occlusion/
http://peach.blender.org/index.php/approximate-ambient-occlusion/

Further improvements are still needed, but it can be tested already. There
are still a number of known issues:

- Bias errors on backfaces.
- For performance, instanced object do not occlude currently.
- Sky textures don't work well, the derivatives for texture evaluation
  are not correct.
- Multiple passes do not work entirely correct (they are not accurate
  to begin with, but could be better).
18 files changed:
source/blender/blenkernel/intern/world.c
source/blender/blenloader/intern/readfile.c
source/blender/makesdna/DNA_world_types.h
source/blender/render/extern/include/RE_shader_ext.h
source/blender/render/intern/include/occlusion.h [new file with mode: 0644]
source/blender/render/intern/include/render_types.h
source/blender/render/intern/include/renderdatabase.h
source/blender/render/intern/include/shading.h
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/occlusion.c [new file with mode: 0644]
source/blender/render/intern/source/pipeline.c
source/blender/render/intern/source/rendercore.c
source/blender/render/intern/source/renderdatabase.c
source/blender/render/intern/source/shadeinput.c
source/blender/render/intern/source/shadeoutput.c
source/blender/render/intern/source/strand.c
source/blender/render/intern/source/texture.c
source/blender/src/buttons_shading.c