Blender Git Loki
Git Commits -> Revision 4541660
Revision 4541660 by Ton Roosendaal (master) December 22, 2003, 22:27 (GMT) |
- another fresnel improvement. :) At last irc meeting, eeshlo pointed to an error in the code. It didn't use the IOR value correctly. This has been solved. So how it works now: - the IOR button value influences (very subtle) the fresnel effect. Only for realism diehards. - the Fresnel value (slider) now denotes the power in the function rf + (1-rf) * (1-c)^5 where rf= rf = ((ior-1)/(ior+1))^2 and c the dot-product ray/normal. - so, set the slider at '5' and you have real fresnel. Lower values for interesting artistic effects. - put back the forgotten code for gaussian corrected sampling during antialising render. Normally, each sub-pixel sample in Blender counts equally, and together make up the pixel color. With 'Gauss' option set (F10 menu) each sub-pixel sample creates a small weighted mask with variable size, which (can) affect neighbouring pixels as well. The result is smoother edges, less sensitive for gamma, and well suited to reduce motion-aliasing (when things move extreme slow). This is result of *long* period of research in NeoGeo days, and based on every scientific sampling/reconstructing theory we could find. Plus a little bit of our selves. :) - I should write once how blender constructs Jitter tables for sub-sampling. this is a very nice method, and superior to normal block filter or random jittering... time! |
Commit Details:
Full Hash: 454166026afd52e546716a7aa33821e86d2371af
SVN Revision: 1754
Parent Commit: 3df84b7
Lines Changed: +51, -59
9 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+8, -2) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -2) (Diff)
/source/blender/render/intern/include/rendercore.h (+1, -1) (Diff)
/source/blender/render/intern/source/initrender.c (+12, -9) (Diff)
/source/blender/render/intern/source/ray.c (+2, -2) (Diff)
/source/blender/render/intern/source/rendercore.c (+11, -28) (Diff)
/source/blender/src/buttons_scene.c (+8, -7) (Diff)
/source/blender/src/buttons_shading.c (+3, -5) (Diff)
/source/blender/src/previewrender.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -2) (Diff)
/source/blender/render/intern/include/rendercore.h (+1, -1) (Diff)
/source/blender/render/intern/source/initrender.c (+12, -9) (Diff)
/source/blender/render/intern/source/ray.c (+2, -2) (Diff)
/source/blender/render/intern/source/rendercore.c (+11, -28) (Diff)
/source/blender/src/buttons_scene.c (+8, -7) (Diff)
/source/blender/src/buttons_shading.c (+3, -5) (Diff)
/source/blender/src/previewrender.c (+3, -3) (Diff)