LDR Multi-Pass images with OCIO

Forums: LDR Multi-Pass images with OCIO
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

LDR Multi-Pass images with OCIO

Postby Meet » Sat Dec 04, 2021 6:43 am

Meet Sat Dec 04, 2021 6:43 am
Hello, is it possible to save render passes with OCIO look(as viewed in octane IPR) baked in as 8bit PNG/Jpeg images?
From reading the documentation I understand that when saving HDR images(EXR/TIFF 16/32bit) it's best to use Octane output and add the OCIO look in post, which is fine.
Now the manual also suggests to use C4D save/export(with proper octane render settings) if one wants to match the look of the octane IPR with OCIO enabled, which works perfectly for final images, but doesn't seem to work properly when one wants to render multiple render passes.
For example if one wants to render main + refraction passes as PNG image with OCIO look baked in to match the octane IPR, from my testing, only the main image renders as expected and the exported refraction pass doesn't match the octane IPR render pass. So, is this expected? cause when using blender or standalone there doesn't seem to be any problem when exporting LDR OCIO images via octane export.

Using Studio 2021.1 R3
C4D R25
Attachments
Cinema_4D_6BKiQJlmXG.png
Octane settings
Cinema_4D_lvpOuDec6z.png
C4D settings
Cinema_4D_c0vUQoSTay.png
On the left, exported refraction pass not matching the IPR
Cinema_4D_Dtd5Ero9kk.jpg
On the left, exported final image via c4d save matching octane IPR
Ryzen 9 5900x | 64GB RAM | 1x RTX 3090
Blender | C4D | Standalone
Win 10
Meet
Licensed Customer
Licensed Customer
 
Posts: 49
Joined: Thu Jan 07, 2021 10:59 am

Re: LDR Multi-Pass images with OCIO

Postby aoktar » Sat Dec 04, 2021 2:08 pm

aoktar Sat Dec 04, 2021 2:08 pm
Why do you wish to use LDR else of HDR. There's not any reason to desperately trying to do use it. You have to use linear color spaces if you want to make re-compositing of passes and LDR is not for that.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15940
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: LDR Multi-Pass images with OCIO

Postby omardex » Sat Dec 04, 2021 3:55 pm

omardex Sat Dec 04, 2021 3:55 pm
Hello, set the frame buffer as 8bit and assign the output to ocio Output SRGB, be aware that this is baked into the files and further compositing is super limited.

try not to use the c4d save system use the one in the octane render settings instead.

check this video. https://www.youtube.com/watch?v=4t3qHtwyWcs

people of knowledge, there is no one absolute way, only alternatives and multiple paths to get to the result.

But I give that the proper way is to export HDR files in exr for better color management and compositing.

Note:one issue I'm having exporting LDR passes from c4d using ACES is that I have to assign manually srgb color space in affinity or photoshop, if I save directly from the IPR or from octane standalone I don't have to do this.
Omar Tavera
Awesome Generalist

omardex.artstation.com

Octane render for c4d but moving more toward standalone with one 980ti
User avatar
omardex
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Wed Oct 21, 2015 4:45 pm
Location: Venezuela

Re: LDR Multi-Pass images with OCIO

Postby Meet » Sun Dec 05, 2021 7:46 am

Meet Sun Dec 05, 2021 7:46 am
aoktar wrote:Why do you wish to use LDR else of HDR. There's not any reason to desperately trying to do use it. You have to use linear color spaces if you want to make re-compositing of passes and LDR is not for that.


I understand that it is best practice to store passes as HDR images and recomposite them later but saving baked-in OCIO look in LDR images is quite handy for quick renders. I am moving from blender octane to c4d and asked this as this was pretty easy to set up in blender with the octane output or blender output, so was wondering if this was a bug with c4d octane, but from reading the manual I understand that saving LDR images with OCIO as octane output is not an option for some reason.

omardex wrote:Hello, set the frame buffer as 8bit and assign the output to ocio Output SRGB, be aware that this is baked into the files and further compositing is super limited.

try not to use the c4d save system use the one in the octane render settings instead.

check this video. https://www.youtube.com/watch?v=4t3qHtwyWcs

people of knowledge, there is no one absolute way, only alternatives and multiple paths to get to the result.

But I give that the proper way is to export HDR files in exr for better color management and compositing.

Note:one issue I'm having exporting LDR passes from c4d using ACES is that I have to assign manually srgb color space in affinity or photoshop, if I save directly from the IPR or from octane standalone I don't have to do this.


Thank you but I as you can see from the in the settings I attached, I have the settings set up just as you mentioned
Ryzen 9 5900x | 64GB RAM | 1x RTX 3090
Blender | C4D | Standalone
Win 10
Meet
Licensed Customer
Licensed Customer
 
Posts: 49
Joined: Thu Jan 07, 2021 10:59 am

Re: LDR Multi-Pass images with OCIO

Postby jayroth2020 » Sun Dec 05, 2021 11:43 pm

jayroth2020 Sun Dec 05, 2021 11:43 pm
Actually, your screen shot has you saving using the Cinema 4D saver, not the Octane file saver in the Render AOV groups tab... Disable the Save option in the the list to the left, turn on the Enable toggle in the Render AOV group tab, and choose the file location and name. In the Main tab, set the Buffer type to HDR and the Color Space to OICO:/Output(Output - sRGB). Make sure you also have the view in the Camera Imager of Octane settings set to ACES:sRGB. DO NOT USE FORCE TONE MAPPING
CaseLabs Mercury S8 / ASUS Z10PE-D8 WS / Crucial 64GB 2133 DDR4 / 2 XEON E5-2687W v3 3.1 GHz / EVGA 1600 P2 / 1 EVGA RTX 3090Ti FTW3 Hybrid / 2 EVGA RTX 2080Ti FTW3 Hybrid/ Cinema 4D
jayroth2020
OctaneRender Team
OctaneRender Team
 
Posts: 468
Joined: Mon May 04, 2020 7:30 pm

Re: LDR Multi-Pass images with OCIO

Postby omardex » Sun Dec 05, 2021 11:54 pm

omardex Sun Dec 05, 2021 11:54 pm
I believe he already said that he has done that.

Have you tried assigning to the incorrect resulting images from c4d the srgb color space (assigning not converting) this resolves the incorrect colors and matching for me when saving from c4d LDR, the other versions of the renderer work good.
Omar Tavera
Awesome Generalist

omardex.artstation.com

Octane render for c4d but moving more toward standalone with one 980ti
User avatar
omardex
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Wed Oct 21, 2015 4:45 pm
Location: Venezuela

Re: LDR Multi-Pass images with OCIO

Postby Meet » Mon Dec 06, 2021 6:20 am

Meet Mon Dec 06, 2021 6:20 am
jayroth2020 wrote:Actually, your screen shot has you saving using the Cinema 4D saver, not the Octane file saver in the Render AOV groups tab... Disable the Save option in the the list to the left, turn on the Enable toggle in the Render AOV group tab, and choose the file location and name. In the Main tab, set the Buffer type to HDR and the Color Space to OICO:/Output(Output - sRGB). Make sure you also have the view in the Camera Imager of Octane settings set to ACES:sRGB. DO NOT USE FORCE TONE MAPPING

Yes, the documentation says to use C4D save instead of octane save when wanting to export in PNG with OCIO look baked in. I have already tried what you suggested and didn't get the proper results, I tried it again now and same, IPR not matching final output. It looks like the sRGB profile is getting applied twice to the exported image.
I would like to clarify again to avoid any confusion that I would like the result to be exported along with different passes/AOVs in PNG format with OCIO look baked in, something which can easily be achieved in Standalone or Blender Octane

Capture.PNG
Octane IPR on the right not matching PNG image output via octane export using the settings on the left
Ryzen 9 5900x | 64GB RAM | 1x RTX 3090
Blender | C4D | Standalone
Win 10
Meet
Licensed Customer
Licensed Customer
 
Posts: 49
Joined: Thu Jan 07, 2021 10:59 am

Re: LDR Multi-Pass images with OCIO

Postby aoktar » Mon Dec 06, 2021 10:01 am

aoktar Mon Dec 06, 2021 10:01 am
Png is marked as sRGB for saving if you are using it with default sRGB. But any OCIO profile is assumed linear. Set it as linear on saving.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15940
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: LDR Multi-Pass images with OCIO

Postby omardex » Mon Dec 06, 2021 12:28 pm

omardex Mon Dec 06, 2021 12:28 pm
yes the srgb curve is applied twice if the compositing software automatically converts the files to the color profile of the software used,

In affinity this is solved in the preferences turning off convert opened files to working space (I know you probably are not using this software but this is the settings that keeps the original color space in the file to apply the srgb, and the one I use to work on static images.)

and Im insisting in this because I had the same situation as you when learning about aces and ocio, one of the test I did was keeping the look and forgetting about the ocio part in the compositing software using LDR images, from c4d. I believe this is a solution, an incorrect one in a pipeline

and you are right at least standalone doesn't do it, the LDR images are output correctly
Omar Tavera
Awesome Generalist

omardex.artstation.com

Octane render for c4d but moving more toward standalone with one 980ti
User avatar
omardex
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Wed Oct 21, 2015 4:45 pm
Location: Venezuela

Re: LDR Multi-Pass images with OCIO

Postby aoktar » Mon Dec 06, 2021 12:46 pm

aoktar Mon Dec 06, 2021 12:46 pm
Standalone has the full control over all process but in picture viewer we don't for every parts. So you have to use correct combination by hand and with my advices.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15940
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Next

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: Bing [Bot] and 11 guests

Thu Mar 28, 2024 11:49 pm [ UTC ]
cron