Message 1 of 2
OSL preprocessor include search paths
Not applicable
11-02-2018
06:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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