Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OSL preprocessor include search paths

1 REPLY 1
Reply
Message 1 of 2
seals77
254 Views, 1 Reply

OSL preprocessor include search paths

Hello,
right now the #include macro seems to search for included files in the same folder as the OSL shader is located.

Is it possible to set a custom directory for include sarch path? Setting ARNOLD_PLUGIN_PATH does not work for me.

Oslc compiler supports this parameter: -Ipath Add path to the #include search path . So compiling the shader myslef would solve the problem, but I like the automatic way of Arnold's compiling, which saves a bit of time and simplifies the workflow.

Best,
Juraj

Tags (1)
Labels (1)
1 REPLY 1
Message 2 of 2
Stephen.Blair
in reply to: seals77

There's currently no way to set header search paths to the automatic compilation.

For now, you'll have to use oslc



// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report