Skip to content

Vray For Houdini Rez [WIP]

py

   env.VFH_ROOT.set("C:/VFH")

   env.VRAY_APPSDK.set(f"{env.VFH_ROOT}/appsdk")
   env.VRAY_OSL_PATH.set(f"{env.VFH_ROOT}/appsdk/bin")
   env.VRAY_UI_DS_PATH.set(f"{env.VFH_ROOT}/ui")
   env.VRAY_SDK=""
   env.VFH_HOME.set(f"{env.VFH_ROOT}/vfh_home")
   env.VFH_ASSET_PATH.set("[MTLLIB_DOWNLOAD_DIR]/assets")
   
   env.PATH.append(f"{env.HFS}/bin")
   env.PATH.append(f"{env.VRAY_APPSDK}/bin")
   env.PATH.append(f"{env.VFH_HOME}")
   env.PATH.append(f"{env.VFH_HOME}/bin")

   env.HOUDINI_GALLERY_PATH.append(f"{env.VFH_HOME}/gallery")
   env.HOUDINI_PATH.set(f"{env.VFH_HOME};&")
   # For V-Ray 6
   # Python version will be selected automatically on module import)
   env.PYTHONPATH.prepend(f"{env.VRAY_APPSDK}/python")
   env.HOUDINI_DSO_PATH.set(f"{env.VFH_HOME}/dso_py37;&")