External OSL Texture needs recompiling on doc load

Sub forum for bug reports
Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)
Post Reply
pegot
Licensed Customer
Posts: 934
Joined: Mon Nov 07, 2011 3:44 am

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?
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff

Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
pegot
Licensed Customer
Posts: 934
Joined: Mon Nov 07, 2011 3:44 am

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.
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff

Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
linograndiotoy
OctaneRender Team
Posts: 1365
Joined: Thu Feb 01, 2018 7:10 pm

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.
pegot
Licensed Customer
Posts: 934
Joined: Mon Nov 07, 2011 3:44 am

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?
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff

Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
linograndiotoy
OctaneRender Team
Posts: 1365
Joined: Thu Feb 01, 2018 7:10 pm

Can you please share a simple scene showing the issue? Thanks!
pegot
Licensed Customer
Posts: 934
Joined: Mon Nov 07, 2011 3:44 am

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 157 times
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff

Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
linograndiotoy
OctaneRender Team
Posts: 1365
Joined: Thu Feb 01, 2018 7:10 pm

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.
pegot
Licensed Customer
Posts: 934
Joined: Mon Nov 07, 2011 3:44 am

This appears fixed with the latest 21.8 release. Thanks!
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff

Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
linograndiotoy
OctaneRender Team
Posts: 1365
Joined: Thu Feb 01, 2018 7:10 pm

You're welcome!
Post Reply

Return to “Bug Reports”