Page 1 of 1

COLOR SPACE -Tonemapped / Untonemapped...

Posted: Thu Jan 09, 2014 12:30 pm
by guitou
Hi all !

I made many test with Octane to render a real unclamped image. And, I haven't the solution yet...

I made a simple scene that I rendered in DL+Direct (Camera response : Agfacolor_Futura_II_200CD), and I saved one in tonemapped and the other is untonemapped (the both are saved in exr).

There are 3 images :
1-Print Screen of the OctaneRender Viewport (I work with 3dsMax, but I also tried with the standalone, and this is the same problem)
1-Print Screen of the OctaneRender Viewport (I work with 3dsMax, but I also tried with the standalone, and this is the same problem)
2-Tonemapped file read in linear by Nuke
2-Tonemapped file read in linear by Nuke
3-Untonemapped file read in linear by Nuke
3-Untonemapped file read in linear by Nuke
Ok, for the moment, there is no problem :)

Next, I configured my read node in Nuke to read the file in sRGB :
4-Tonemapped file read in sRGB by Nuke
4-Tonemapped file read in sRGB by Nuke
5-Untonemapped file read in sRGB by Nuke
5-Untonemapped file read in sRGB by Nuke
Image 4 (tonemapped in sRGB) and Image 1 (print screen) are exactly the same.
But first problem : The renderings aren't the same. Image 5 is more luminous than Image 4...
And that's not all : There is no color value upper 1, even on Image 5 which is untonemapped ! => Clamping :/

So, I tried an other solution to convert linear file in sRGB in nuke. I used the Colorspace node :
6-Tonemapped file with colorspace node
6-Tonemapped file with colorspace node
7-Untonemapped file with colorspace node
7-Untonemapped file with colorspace node
0k, Image 6 is exactly the same as Image 1.
And Image 7 has no pixel error on the sphere (for example)
Furthermore,the untonemapped image are color value upper 1 :D !
BUT, The renderings aren't the same. Image 7 is more luminous than Image 6... :/

Finally, I tried a last node in Nuke named "OCIO File Transform" (http://opencolorio.org/index.html). This node reads a file which convert linear files to Agfacolor files (http://code.metager.de/source/xref/blen ... _200.spi1d) :
8-Tonemapped file with OCIO node
8-Tonemapped file with OCIO node
9-Untonemapped file with OCIO node
9-Untonemapped file with OCIO node
Images are visually the same with OCIO node and Colorspace node. But the supers whites (untonemapped files) have not the same value...

So my question is : Do you know a way to have exactly the same image Tonemapped and Untonemapped with unclamped value ? I would like Image 1 result with color value upper 1 in the specular... Please :cry: !

Thanks to you !

See ya !

PS : Sorry for my english...
And this is my node graph :
Nuke Node Graph
Nuke Node Graph
Thanks again !

Re: COLOR SPACE -Tonemapped / Untonemapped...

Posted: Sat Jan 11, 2014 10:38 am
by gabrielefx
the tonemapped image is not 32 bit, is 8 bit only

you can save at 32 bit exr file using linear.

Re: COLOR SPACE -Tonemapped / Untonemapped...

Posted: Sat Jan 11, 2014 2:59 pm
by guitou
Yeah I know tonemapped is not 32bit, but untonemapped is. But the same rendering saved in tonemapped and untonemapped are differents... And this is my problem (with a specific camera response)...
For the 32 bit in linear, I think this is not a solution, nobody works in linear in 3D. Am I right ?

With V-ray, when you work in gamma 2.2, saving an image in 32bit or 8 bit has the same result visualy, but with color value upper 1 in the supers whites... :/