Page 1 of 1

External OSL Texture needs recompiling on doc load

Posted: Mon May 18, 2020 8:56 pm
by pegot
I see that in latest version of Octane Blender (2020.1 21.7) the issue with the disappearing input pins on OSL Text nodes has been fixed. However, I still have to recompile the script each time I load the file again. Is that normal? Do external OSL scripts always have to be recompiled each time the file is open?

Re: External OSL Texture needs recompiling on doc load

Posted: Mon May 18, 2020 9:51 pm
by pegot
I also just took the same external script and wrote it into the OSL node as an internal script - but it still needs recompiling on every new document load after closing Blender.

Re: External OSL Texture needs recompiling on doc load

Posted: Wed May 20, 2020 8:06 am
by linograndiotoy
pegot wrote:I also just took the same external script and wrote it into the OSL node as an internal script - but it still needs recompiling on every new document load after closing Blender.
OSL nodes get compiled when you start the preview or a render.

Re: External OSL Texture needs recompiling on doc load

Posted: Wed May 20, 2020 5:47 pm
by pegot
linograndiotoy wrote:OSL nodes get compiled when you start the preview or a render.
That's not happening with my set up. I'm using the OSL blur shader. And I have to recompile it every time I close Bender and then upon that file again. Maybe the blur code is different than other OSL textures that causes this?

Re: External OSL Texture needs recompiling on doc load

Posted: Thu May 21, 2020 10:16 am
by linograndiotoy
Can you please share a simple scene showing the issue? Thanks!

Re: External OSL Texture needs recompiling on doc load

Posted: Fri May 22, 2020 3:41 pm
by pegot
Ok. See attached blend file. The OSL node is part of the environment texture. It blurs a procedural texture.
OSL-Compile-Issue.zip
(514.35 KiB) Downloaded 159 times

Re: External OSL Texture needs recompiling on doc load

Posted: Sun May 24, 2020 12:36 pm
by linograndiotoy
I've tried the scene in the current internal build. OSL nodes are compiled correctly, but the whole scene doesn't render on my system. We'll take a deeper look.

Re: External OSL Texture needs recompiling on doc load

Posted: Thu Jun 04, 2020 1:08 am
by pegot
This appears fixed with the latest 21.8 release. Thanks!

Re: External OSL Texture needs recompiling on doc load

Posted: Thu Jun 04, 2020 9:02 am
by linograndiotoy
You're welcome!