利用者:Juicyfruit/Blackbody/

提供: wiki
< 利用者:Juicyfruit
2018年6月29日 (金) 05:54時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

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