Not tried them in DJV, but the CSP 3D LUT format contains a per-channel prelut, a 1D LUT applied to each channel before the cube - usually it's used to do a linear-to-log transform, and the cube does a log-to-display transform
The format is pretty straight forward - in the following example, the "4" is the number of values (well, pairs of input/output numbers), then the first line is input values, and they are remapped to the corresponding output value on the next line.. Meaning 0.0 is not changed, 0.5 is remapped to 0.7, 1.0 -> 0.8, and 15 -> 1.0 (other values are of course interpolated) CSPLUTV100 3D BEGIN METADATA END METADATA 4 0.0 0.5 1.0 15.0 0.0 0.7 0.8 1.0 4 0.0 0.5 1.0 15.0 0.0 0.7 0.8 1.0 4 0.0 0.5 1.0 15.0 0.0 0.7 0.8 1.0 32 32 32 0.0 0.0 0.0 0.0 0.0 0.1 [...rest of 3D LUT] http://www.tweaksoftware.com/static/documentation/rv/current/html/rv_manual.html#toc-Chapter-G ..contains a nice(r!) explanation of the format. Although the best resource is probably OpenColorIO, which fully supports reading and writing CSP files: https://github.com/imageworks/OpenColorIO/blob/master/src/core/FileFormatCSP.cpp ..and contains some test files (there's some test-cases at the end of the FileFormatCSP.cpp file which have short example files) https://github.com/imageworks/OpenColorIO/tree/master/testdata This obviously assumes DJV have implemented their CSP support correctly! I guess it uses cinespacelutlib (which RSR released ages ago), so the above should hopefully be useful.. On 29/07/2011, at 10:07 PM, Dan Rosen wrote: > There were some threads about DJV lut formats last year, but nothing > conclusive that I could see. It appears that DJV can read/use Inferno > .lut files. Has anyone figured out if you can use a .csp for linear > luts? or any other information about the subject? > > Thanks, > Dan > _______________________________________________ > Nuke-users mailing list > Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________ Nuke-users mailing list Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users