Blender Git Loki
Git Commits -> Revision cb20f1c
Revision cb20f1c by Ton Roosendaal (master) December 18, 2003, 21:34 (GMT) |
another trace commit - implemented tracing of transparency for shadows. This is a material option, in the new RayTrace panel. it only traces color and alpha, not shading. So the results of some transparant colored unlit faces can look odd. I will look onto that. - changed fresnel formula (got hint from eeshlo!). this simplifies the UI, now only one button needed. The fresnel value "should" be identical as the refraction index, but that is booooring! So i added a special fresnel refraction slider for both mirroring and transparency. By setting all 3 sliders equal, you get 'realism'. - fresnel for transparancy works for Ztra rendering too. Same for transpa- rent shadow. But then you need to set 'ray' on in F10 menu. - uploaded new monkey_glass blend in download.blender.org/demo/test/ Next stage: killing the globals from render, and implement "translucency" which is effectively allowing faces being lit from behind, as paper or cloth. |
Commit Details:
Full Hash: cb20f1cdb421ab4d5159dfb5b1549950752a7bf8
SVN Revision: 1740
Parent Commit: d1122ae
Lines Changed: +239, -120
9 Modified Paths:
/source/blender/blenkernel/intern/material.c (+2, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+7, -2) (Diff)
/source/blender/makesdna/DNA_material_types.h (+4, -3) (Diff)
/source/blender/render/intern/include/rendercore.h (+2, -1) (Diff)
/source/blender/render/intern/source/pixelblending.c (+0, -47) (Diff)
/source/blender/render/intern/source/ray.c (+120, -13) (Diff)
/source/blender/render/intern/source/rendercore.c (+86, -33) (Diff)
/source/blender/src/buttons_shading.c (+12, -12) (Diff)
/source/blender/src/previewrender.c (+6, -7) (Diff)
/source/blender/blenloader/intern/readfile.c (+7, -2) (Diff)
/source/blender/makesdna/DNA_material_types.h (+4, -3) (Diff)
/source/blender/render/intern/include/rendercore.h (+2, -1) (Diff)
/source/blender/render/intern/source/pixelblending.c (+0, -47) (Diff)
/source/blender/render/intern/source/ray.c (+120, -13) (Diff)
/source/blender/render/intern/source/rendercore.c (+86, -33) (Diff)
/source/blender/src/buttons_shading.c (+12, -12) (Diff)
/source/blender/src/previewrender.c (+6, -7) (Diff)