Blender Git Loki

Git Commits -> Revision 2a189a0

January 2, 2015, 15:57 (GMT)
SSAO - use concentric mapping.

Concentric mapping is a nice way to create a circular distribution from
orthogonal 2D coordinates. Using this allows us to expose directly the
number of samples to the user instead of quality options.

Concentric mapping will likely be used for DOF sampling too later.

References:

[1] A Low Distortion Map Between Disk and Square - Peter Shirley,
Kenneth Chiu

[2] http://psgraphics.blogspot.nl/2011/01/improved-code-for-concentric-

Commit Details:

Full Hash: 2a189a0546a60eb91d61decf4b2c144392639c96
Parent Commit: 376a004
Lines Changed: +103, -90

7 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+1, -1) (Diff)
/source/blender/gpu/GPU_extensions.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_compositing.c (+62, -53) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+17, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_fx_ssao_frag.glsl (+18, -19) (Diff)
/source/blender/makesdna/DNA_gpu_types.h (+1, -7) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021