How to set color space for default srgb texture?

   4684   6   1
User Avatar
Member
680 posts
Joined: Nov. 2013
Offline
Hi,

The test pig looks more red when enable ocio/aces.
How to set default color space for the exist texture to keep the looking same?

Thanks!

Attachments:
aces.png (1017.7 KB)

User Avatar
Member
2658 posts
Joined: June 2008
Offline
I use this setting to maintain brand colors from Adobe based images. It may work with the SideFX pig texture.

Attachments:
Untitled-1.jpg (16.9 KB)

Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
8177 posts
Joined: Sept. 2011
Offline
jerry7
Hi,

The test pig looks more red when enable ocio/aces.
How to set default color space for the exist texture to keep the looking same?

Thanks!

the colorspace comes from the filename, so nothing you can do about the textures coming from test geo hdas. For your own textures, you can name them such that they contain the name of your srgb colorspace in them.
for example pig_basecolor.srgb_texture.1001.jpg

If you have an OCIO v2 profile, you might be able to set up extension based rules, but I haven't tested them in houdini.
User Avatar
Member
680 posts
Joined: Nov. 2013
Offline
file_rules:
  - !<Rule> {name: jpg, extension: "jpg", pattern: "*", colorspace: Output - sRGB}

I added file roles in Labs's aces_config. It doesn't work in my testing.
Edited by jerry7 - Aug. 23, 2022 02:35:13
User Avatar
Member
8177 posts
Joined: Sept. 2011
Offline
jerry7
file_rules:
  - !<Rule> {name: jpg, extension: "jpg", pattern: "*", colorspace: Output - sRGB}

I added file roles in Labs's aces_config. It doesn't work in my testing.

haha, these file rules don't even seem to be implemented in the OCIO library. I tried them with ocio.Config.parseColorSpaceFromString() and the patterns don't do anything.
User Avatar
Member
2658 posts
Joined: June 2008
Offline
A quick test using the ICIO setting I posted above does seems to work. The rendered colors look right to me.
Edited by Enivob - Aug. 26, 2022 08:38:37

Attachments:
Untitled-1.jpg (38.1 KB)

Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
8177 posts
Joined: Sept. 2011
Offline
Enivob
A quick test using the ICIO setting I posted above does seems to work. The rendered colors look right to me.

Wouldn't any colorspace transform where one of the spaces is "data" or "raw" do nothing? The correct transform would be "Utility - sRGB - Linear" to "ACES - ACEScg"; but I dont think they wanted to tranform the whole render, just the input textures.
  • Quick Links