question

Edgar Fernando Piña Vasquez avatar image
Edgar Fernando Piña Vasquez asked

ocio rules ignored with filename as user data

strings.hiplc.zipHi,

I'm reading the filename from a 'User Data String' node and then connecting that to the image's texture filename string. It works fine, but the rules set in the Color Space drop down menu are ignored (and the ROP's Color Management tab as well ).


in the following render, the grid on the right is using the same image as the grid to the left, but setting filename using primitive variable (color space rules are the same on both materials).

htoa-string.png

Any idea on how to force it?

Houdini 18.5.408 / HtoA 5.5.0.1 / linux

Thanks!

user_datacolorspace
htoa-string.png (502.2 KiB)
stringshiplc.zip (78.3 KiB)
10 |600

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Edgar Fernando Piña Vasquez avatar image
Edgar Fernando Piña Vasquez answered

I was generating texture paths and reading that string in my arnold shader. I was using '/path/to/texture.jpg' but I needed to use '/path/to/texture.tx' instead.

All textures go through maketx with the proper color correction flags now and now everything is working great.

That was my human mistake.


10 |600

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered

color space conversion is applied when the tx is generated, which happens before the render

10 |600

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Edgar Fernando Piña Vasquez avatar image
Edgar Fernando Piña Vasquez answered

In that case, what could be causing the problem in the rendered planes? I'm using a different method to set up a filename (string).


10 |600

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.