Analog film simulation file format
Posted: Tue May 21, 2019 8:20 am
What is the format of a file for analog film simulation preset?
Show your work, get help, participate in development
https://forums.luxcorerender.org/
May I ask, .crf is what? I've asked google and received very confusing result.Sharlybg wrote: Tue May 21, 2019 8:47 am Seem to be .crf
But we talk to support 3d LUT file format like .cube
There is a list of predefined camera responses (https://github.com/LuxCoreRender/LuxCor ... e.cpp#L429) and you need to use the name as file name (i.e. the name will be recognized and a corresponding internal pre-defined LUT will be used).wasd wrote: Tue May 21, 2019 9:07 am May I ask, .crf is what? I've asked google and received very confusing result.
I would like to know the exact format to make my own presets, if it's not too much trouble.Dade wrote: Tue May 21, 2019 10:28 am Otherwise you can write a .crf file: it is a text file with a table to translate each RGB color from a value to another (I have to check the parsing code if you need the exact format).
Code: Select all
Ektachrome-320TCDRed
graph-log-log-pos
I =
0.0 [... a long list of values ...] 1.0
B =
0.0 [... a long list of values ...] 1.0
Ektachrome-320TCDGreen
graph-log-log-pos
I =
0.0 [... a long list of values ...] 1.0
B =
0.0 [... a long list of values ...] 1.0
Ektachrome-320TCDBlue
graph-log-log-pos
I =
0.0 [... a long list of values ...] 1.0
B =
0.0 [... a long list of values ...] 1.0
My method for converting any film simulation from any image editor to crf data under B = data field.wasd wrote: Tue May 21, 2019 12:13 pm I would like to know the exact format to make my own presets, if it's not too much trouble.
The lut cube values go also from 0 to 1.Sharlybg wrote: Thu May 23, 2019 11:32 am Hi fox !
Do you think it is also possible to convert LUT .cube format in to CRF file ?
CRF can have any amount of values, you have only to have the same number of in and out values, it is the only constrain.Fox wrote: Thu May 23, 2019 11:52 am The crf has 1024 values, but cube that i looked had 32768 values.