This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/blenkernel/intern
Ton Roosendaal d8b21b01c3 Added improved exposure calculation
- based at 1.0-exp(-color) trick in Yafray. But to guarantee backwards
  compatibility, and some more control, Stefano Selleri hacked a useful
  formula for it.
- We now have 2 values to set:
  - "exp": the exponential correction value (0-1)
  - "range": the light range that maps on color 1.0 (0-5)
- Using exp(x) (is e^x) we can much better prevent overflows from render,
  which are currently hard-clipped in Blender. Setting a small 'exp' value
  wil efficiently smooth out high energy and map that back to a color for
  display.
- total formula:
  newcol= linfac*(1.0-exp(col*logfac))
    col, newcol are colors
  linfac= 1.0 + 1.0/((2.0*wrld.exp +0.5)^10)
  logfac= log( (linfac-1.0)/linfac )/wrld.range
    wrld.exp and wrld.range are the button values
- default setting: exp=0.0 and range=1.0 give results extremely close to
  previous rendering.
- graph: http://www.selleri.org/Blender/buffer/Image1.png  for 'exp' setting
  ranging from 0-1, and with 'range'=2

Thanks Stefano for the help!
2003-12-30 18:03:37 +00:00
..
2003-12-15 14:18:37 +00:00
2002-11-25 12:02:15 +00:00
2002-11-25 12:02:15 +00:00
2003-12-21 22:23:20 +00:00
2002-11-25 12:02:15 +00:00
2003-04-26 11:56:44 +00:00
2003-04-26 11:56:44 +00:00
2003-12-23 22:31:48 +00:00
2003-12-08 13:48:20 +00:00
2003-11-08 13:36:16 +00:00
2002-11-25 12:02:15 +00:00
2003-12-29 16:52:51 +00:00
2002-11-25 12:02:15 +00:00
2002-11-25 12:02:15 +00:00
2002-11-25 10:13:52 +00:00
2003-12-30 18:03:37 +00:00
2002-11-25 12:02:15 +00:00