Re: Review: DisplayTransform interface update
Jeremy Selan <jeremy...@...>
Here's a chunk from spi-vfx with the new options:
displays: - !<Display> {device: sRGB, alias: Raw, colorspace: nc10} - !<Display> {device: sRGB, alias: Log, colorspace: lg10} - !<Display> {device: sRGB, alias: Film, colorspace: srgb8} - !<Display> {device: DCIP3, alias: Raw, colorspace: nc10} - !<Display> {device: DCIP3, alias: Log, colorspace: lg10} - !<Display> {device: DCIP3, alias: Film, colorspace: p3dci8} device_defaults: [sRGB, DCIP3] alias_defaults: [Film, Log, Raw] I feel that the term 'alias' is simpler to understand, but then again I wrote it so if you have a better term I'm open to ideas. You'll see that the default value is also explicitly specified now. Under common circumstances, only the 1st value will be returned as default, but a full search order is allowed for corner cases where not all aliases are defined for all devices, or there are OCIO_DEVICE_MASK specified that disallow particular device options. The idea behind OCIO_DEVICE_MASK is that your config will contain the master list of all devices in use on a show, but still allow the flexibility (through the use of envvars) to control which an end user sees. This allows for example, a facility to roll out code to make sure the user only has the "sRGB" option on desktop machines. (Which DLP connected machines may have all the options: sRGB, DCIP3, etc). -- Jeremy On Sat, Jan 22, 2011 at 9:40 PM, Malcolm Humphreys <malcolmh...@...> wrote: Hi, |
|