imageworks/OpenColorIO — pull request #177 by jeremyselan (2011-11-01 00:22:43+00:00)
Title: ociobakelut: 3dl export shaper lut now matches 3dlut size

Previously, flame and lustre 3dl export was hard-coded to size 17 shaper luts, even when the cubelut was a different size (33x33x33 for lustre, for example).

The new default is that the shaper will match the cube size, unless manually overwritten on the commandline (in which case the specified shaper size will be obeyed).

Example:

ociobakelut
--format lustre (writes 33 shaper + 33 cube)
--format flame (writes 17 shaper + 17 cube)
--format flame --cubesize 9 (writes 9 shaper + 9 cube)
--format flame --cubesize 9 --shapersize 33 (writes 33 shaper + 9 cube)