Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

OSL preprocessor include search paths

1 ANTWORT 1
Antworten
Nachricht 1 von 2
Anonymous
333 Aufrufe, 1 Antwort

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)
Beschriftungen (1)
1 ANTWORT 1
Nachricht 2 von 2
Stephen.Blair
als Antwort auf: Anonymous

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

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report