importing USD file, with OSL and arnold shaders

   652   1   0
User Avatar
Member
3 posts
Joined: April 2022
Offline
hello, so we have USD files, we are exporting from our gaffer lookdev into said USD file, so for example in out USD exported file we have in our materials a

def Shader "ouroslshader_specularRoughness_ourasset"
                {
uniform token info:id = "osl:Utility/ouroslshader"

}

now when we try to import these assets into houdini solaris when we then use the edit material to explode the matierals. it seems to just great 'generic shaders" with the outputs/inputs but not really the shader.
i've tried passing the OSL folder paths to the "ARNOLD_PLUGIN_PATH" but that does not seem to work. is thier a workflow thats built in to allow for osl shaders to be converted into the arnold:osl nodes? or find the names? etc.
Edited by mduffy - Oct. 2, 2023 11:49:43
User Avatar
Member
3 posts
Joined: April 2022
Offline
another issue i noticed is say we have an OSL code i've manually copped to a Arnold:OSL node. if i have a #include "../common/ourfuncs.h" and even if i include the path to the "fullpath/" (which includes common etc) in the ARNOLD_PLUGIN_PATH it does not seem to resolve the relative path so im unsure of how this should work.
  • Quick Links