AcademySoftwareFoundation / OpenColorIO

A color management framework for visual effects and animation.
https://opencolorio.org
BSD 3-Clause "New" or "Revised" License
1.78k stars 455 forks source link

houdini lut import/export should support "log" shaper #287

Closed jeremyselan closed 5 months ago

dbr commented 11 years ago

You mean the Sampling Log option?

http://www.sidefx.com/docs/hdk10.0/hdk_io_lut.html

Log color sampling is done at position (p) for LUT index (idx):

 p = e^(idx * (ln(in_end) - ln(in_start)) / (length-1) + log(in_start))

where ln() is the natural log function (log base e) and e is 2.718282. The actual base of the log doesn't matter, as long as it is the same throughout the computation.

jeremyselan commented 11 years ago

Oops, yes we do mean the log option