question

Girijashankar Senapati avatar image
Girijashankar Senapati asked ·

Rop-arnold does not write Texture path envrioment asString into .mtlx file

Hi,

I am implementing htoa production workflow. Since the material override and style-sheet method currently not supported in htoa, I thought to give a try to the MaterialX assignment process. It works amazing. There is a bug while mtlx look assignment.


1. It does not write the whole texture path asString data to mtlx file.

eg: my image node texture path: $PROJECT_PATH/$ASSET/asset_diff.jpg

data exported to mtlx file: value=/Drive/projects/Tombx_ride/Horse/asset_diff.jpg. Environments are not suppose to get expanded.


I use Ropnet-arnold node for writing .mtlx lookfile.

materialx
10 |600 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
Stephen Blair avatar image
Stephen Blair answered ·

I'm not sure this is a bug.

When the materialx operator reads in the mtlx file and creates the Arnold nodes, that happens in the render session, where $PROJECT_PATH and $ASSET are unknown. Those have meaning only in Houdini.

1 comment Share
10 |600 characters needed characters left characters exceeded

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

is there any way to get value=$PROJECT_PATH/$ASSET/asset_diff.jpg inside .mtlx file? Because, later If I need to change the project path, It will be easy for me.

0 Likes 0 · ·

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.