Re: ociobakelut clamps tops?
Malcolm Humphreys <malcolmh...@...>
Hi Oliver, Ok I wrote all of this and then released are you trying to check these csp luts in the nuke vectorfield node? nuke vectorfield node currently doesn't support the prelut section in the csp format you will just get a blown out image. Check the luts in RV and if it still doesn't work feel free to read on..
All 1D or 3D luts are bound limited in nature, even for half floats you would need a very large lut to cover all values. So I would expect a scene_grey18 -> scene_grey18 to reflect an identity lut which would clamp input values outside the 0.0 - 1.0 range. I would hope this would be identical to the luts created for HP LCD but using a different cube for the Dreamcolors. You should have a color space defined for each of your display devices, in your case the sRGB and Dreamcolor LCDs. ie. - !<ColorSpace> name: # device space ... from_reference: !<GroupTransform> children: - !<CDLTransform> # cool grade in linear (drd custom) - !<FileTransform> # jp lin to log 1D - !<FileTransform> # log to device cube I would first check that each of these behave as expect in nuke using the OCIO node, if this does work (which I'm guessing does I would be surprised if it doesn't) this points to something going a bit wrong when baking. If it doesn't work something has gone a bit wrong with the truelight cube export. Just check that you have the following at the top of your config. - !<ColorSpace> name: scene_grey18 family: lin bitdepth: 32f isdata: false gpuallocation: lg2 gpumin: -15 gpumax: 6 - !<ColorSpace> name: scene_grey18_log family: log bitdepth: 10ui isdata: false gpuallocation: uniform gpumin: 0 gpumax: 1 from_reference: !<FileTransform> {src: jp_lin2log.lut, interpolation: linear} I would expect the baking command line in this case would be something the lines of. ociobakelut --iconfig ./config.ocio --inputspace scene_grey18 --shaperspace scene_grey18_log --outputspace <device space> --format cinespace When the serialisation/baking of the device space happens the grade will also be taken into account. You shouldn't need to create a separate linearGraded colorspace as ben suggested. I haven't checked the code but I have a feeling this might not work as expected. It should be noted that the shaperspace should only be used to allocate/shape the data and not contain colorimetry type transforms ie color grades. If you can test exporting both a houdini and cinespace lut and see if you get the same results in RV and Mplay and let us know. .malcolm
|
|