Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Corona Goodies - User Contributions => Topic started by: piotrus3333 on 2022-02-09, 02:22:55

Title: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2022-02-09, 02:22:55
Full tone mapping solution in just one LUT. simple and consistent between applications.
.3dl >> CIE
.csp >> PS/AP
old trusty formula for filmic look. falls somewhere between aces an fstorm. this one is ageing extremely well.



Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: NicolasC on 2022-02-09, 09:27:43
Interesting, thanks for sharing !
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: muoto on 2022-02-12, 12:48:41
How do you generate all these custom luts ? any specific soft/app ?
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2022-02-12, 16:21:42
notepad, spreadsheet and photoshop/affinity photo should be enough. Fusion makes it a bit easier.
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: romullus on 2022-02-12, 21:53:32
Thanks for sharing these Marcin. I have few questions though. Could you modify "mP_CoronaLogUE3Filmic_5.35_64.3dl" so it would not require to load it in log space please? Also, how one supposed to use these LUTs in Affinity Photo? I tried them both and they give very odd results, one looks very flat and the other one is extremely contrasty.
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2022-02-13, 14:14:38
what is the purpose of avoiding log transform before LUT?
and regarding Affinity Photo - only .csp would work - and what is your view transform?
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: romullus on 2022-02-13, 16:20:50
what is the purpose of avoiding log transform before LUT?

Just a convenience. All the other LUTs does not require this checkbox to be activated - i can conveniently scroll through the LUT list in Corona and immediately see the result. The fact that i need to do additional actions on some of them, simply means that i won't use them and will remove from the list.

and regarding Affinity Photo - only .csp would work - and what is your view transform?

Sorry, i have no slightest idea what it is.
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2022-02-13, 19:19:00
what is the purpose of avoiding log transform before LUT?

Just a convenience. All the other LUTs does not require this checkbox to be activated - i can conveniently scroll through the LUT list in Corona and immediately see the result. The fact that i need to do additional actions on some of them, simply means that i won't use them and will remove from the list.

and regarding Affinity Photo - only .csp would work - and what is your view transform?

Sorry, i have no slightest idea what it is.

heh, this one is a bit different. it should be used with intent, it is not a “look” lut. what it does is it provides a certain flavour of filmic tone mapping. the idea is you apply the lut and don’t touch ‘tone mapping section’ of CIE. lut tone maps the image for you - “one click” tone mapping if you will. the .csp lut provides the same in post.

view transform in AP - bottom right by default. when you open .exr or .hdr image you get 3 options: unmenaged, icc and ocio.

Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: romullus on 2022-02-13, 21:46:22
view transform in AP - bottom right by default. when you open .exr or .hdr image you get 3 options: unmenaged, icc and ocio.

Heh, i applied the LUT on 8 bit image, is that why i got wrong result? I tried it on EXR and it seems to be working ok.
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2022-02-16, 16:00:06
this LUT will help you create your own tone mapping LUTs for corona in PS/AP. it does the same transform as "input LUT is in log space" option in Corona.
Photoshop: open raw exr in 32bit color mode >> apply LUT and merge >> change to 16bit color mode >> create your LUT >> load in Corona with "input LUT is in log space" on.
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: dfcorona on 2022-03-16, 18:27:58
Nice LUT, I wanted to try it in my other render engine to see the results but it doesn't support "load it in log space". It only supports .Cube files, How can this LUT be used with that?
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2022-03-16, 19:13:41
which engine? does it process input above 1.0 for .cube luts or just clips input at 1.0?
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: dfcorona on 2022-03-17, 19:27:13
which engine? does it process input above 1.0 for .cube luts or just clips input at 1.0?
Hi, the Engine is Fstorm, not sure if it processes input above 1.0 for .cube luts or clips.
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2022-03-17, 23:20:45
fstorm? can’t help you, sorry. sanctions.
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: dfcorona on 2022-03-18, 03:18:03
fstorm? can’t help you, sorry. sanctions.
🤷‍♂️
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: _fosafosa on 2023-11-07, 11:13:55
I know it's an archive topic, but my colleague and I have a problem that we're having.

Is it possible to get an image from Corona which will look like "log" material from a video camera in order to impose professional LUTs on it, e.g. in Resolve?
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2023-11-07, 11:44:45
sure.
16 bit integer output? or float?
what kind of dynamic range do you need encoded into log?

or is it some specific log type you are after?
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: _fosafosa on 2023-11-07, 12:29:20
We do not have a particular manufacturer in mind , we are looking for the possibilities of export this wide tonal " faded" raw image in 16 bit ,to easily use film LUTs from the web.... 
Am I mixing something up :) ?
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2023-11-07, 12:44:06
use an "empty" lut in CIE:
Title: Re: Tone mapping with LUTs. Corona / Photoshop / Affinity Photo
Post by: piotrus3333 on 2023-11-07, 13:11:17
We do not have a particular manufacturer in mind , we are looking for the possibilities of export this wide tonal " faded" raw image in 16 bit ,to easily use film LUTs from the web.... 
Am I mixing something up :) ?

those luts will expect input encoded with certain log type. there are quite a few flavours, all a little bit different.
What Logarythmic option is outputing is classic Cineon Log curve.