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!
How to set color space for default srgb texture?
4684 6 1-
- jerry7
- Member
- 680 posts
- Joined: Nov. 2013
- Offline
-
- Enivob
- Member
- 2658 posts
- Joined: June 2008
- Offline
-
- jsmack
- 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.
-
- jerry7
- Member
- 680 posts
- Joined: Nov. 2013
- Offline
-
- jsmack
- Member
- 8177 posts
- Joined: Sept. 2011
- Offline
jerry7file_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.
-
- Enivob
- Member
- 2658 posts
- Joined: June 2008
- Offline
-
- jsmack
- 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

