利用者:Juicyfruit/Blackbody/

提供: wiki
< 利用者:Juicyfruit
2013年5月5日 (日) 22:06時点におけるwiki>Juicyfruitによる版
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Overview

To get from a the blackbody temperature to the rgb values we take a few steps.

  • Calculate the wavelength of the radiation by planck's law
  • Use CIE color matching functions to calculate the XYZ coordinates in CIE space ( lookuptable + linear interpolation seems to be most used )
  • Convert that to RGB space ( simple vector matrix multiplication with a constant matrix)

Tanner Helland made a pretty interresting direct [1]


Links