Page 1 of 1

OCIO Issues

Posted: Sat Sep 10, 2022 4:46 pm
by HandcraftedMedia
I am having a bunch of issues with OCIO in octane (and octane only). I figured it would be better if I outlined everything here. These are all issues that I did not have a few months ago.

First things first I'm on Houdini 19.5.303 and Octane 2021.1.1.5.0 on Windows 10. My OCIO config file is declared in the houdini.env file and I am using aces_1.2.

Issue 1:
The ipr on everything but srgb is way off. And when I set it to OCIO the screen goes completely black.
sRGB Setting
sRGB Setting
Aces Setting
Aces Setting
OCIO Setting
OCIO Setting
I figured out that the issue stems from the ocio_view node that comes in the render target by default does not show any available views. If I drop down a fresh one from the tab menu or reset the one that comes with it to defaults on the other hand all the views show.
OCIO view node that comes in render target
OCIO view node that comes in render target
Fresh OCIO view node that I dropped down
Fresh OCIO view node that I dropped down
Once I plugin my custom ocio view node the ipr now looks correct. I do not know why this is happening but it's very frustrating.
Here the project file that includes the original view node that comes in the rop node and then the one I dropped down! https://www.dropbox.com/sh/yypdmdv9stw0 ... kmFwa?dl=0

Re: OCIO Issues

Posted: Sun Sep 11, 2022 9:51 am
by elsksa
Hi,
Related forum threads:
viewtopic.php?f=101&t=80333
viewtopic.php?f=101&t=80123
viewtopic.php?f=101&t=79609

And I can't stress enough on insisting to share that ACES is dispensable and literally unnecessary for the vast majority cases. viewtopic.php?f=101&t=78635&p=405831#p405831

Re: OCIO Issues

Posted: Mon Sep 12, 2022 9:46 pm
by juanjgon
Hi,

You probably have the answer to the OCIO issue in the last topic you have attached: The OCIO settings for the IPR are available in the RenderTarget /mat HDA, in the Imager tab. Be aware that you need to select the ocio display name (for example "ACES") even if it is the default option to let the HDA populate the views drop-down menu.

I know that this is a weird behavior, but I've not found how to auto-populate the views menu without selecting any display first. I'm still investigating how to build a startup script to do that.

Hope it helps,
-Juanjo

Re: OCIO Issues

Posted: Thu Sep 15, 2022 3:52 pm
by HandcraftedMedia
Yeah that fixed it.
Could a simple python onCreated script fix the issue maybe?
With this it's working:

Code: Select all

node = kwargs
thisnode = node['node']
thisnode.parm("A_OCIO_DISPLAY_NAME").set("ACES")
Is there any scenario where the display name should not be ACES or at least by default?

Re: OCIO Issues

Posted: Thu Sep 15, 2022 5:28 pm
by juanjgon
Yeah, this is why had not added this script as default, but you can be right, probably ACES by default can be a good option in any case. Let's try that for the next build ;)

Thanks,
-Juanjo

Re: OCIO Issues

Posted: Thu Sep 15, 2022 11:49 pm
by HandcraftedMedia
Sweet.
I noticed for it to work it also needs to include the view name as well so:

Code: Select all

node = kwargs
thisnode = node['node']
thisnode.parm("A_OCIO_DISPLAY_NAME").set("ACES")
thisnode.parm("A_OCIO_VIEW_NAME").set("sRGB")