Hey.
On OSL script was posted to randomize UV transformation which is supposed to work in the standalone version. It doesn't seem to work in Blender. I get a "No shader function defined" error. Maybe something to investigate.
Here's the link to the OSL thread ... viewtopic.php?f=73&t=69211
Cheerio,
Andreas
OSL Node issue
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)
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)
Got it working. I attach example file.
There is one issue with it. It does not work until you press script update button and change some value on it. In Standalone it works instantly.
There is one issue with it. It does not work until you press script update button and change some value on it. In Standalone it works instantly.
- Attachments
-
- random uv osl issue.mp4
- (6.41 MiB) Downloaded 2479 times
-
- random uw osl.blend
- (689.45 KiB) Downloaded 176 times
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
System – Windows 11
My Behance portfolio, Blender plugin FB support group
- AndreasResch
- Posts: 78
- Joined: Wed Jul 25, 2018 4:53 pm
It seems as if there's an issue with refering to the OSL file externally. Copying the code into Blender and using it internally works. So the error might be easier to find now.
With External OSL loading the script gives errors. "Compilation failed" etc.
There are also errors in log:
There are also errors in log:
Code: Select all
Node type 6 is either unknown, a linker or incompatible to static pin 'rotation' (P_ROTATION, type PT_TEXTURE) of node 'mat octane' (NT_MAT_GLOSSY, 0x7fcaa9102580)
Absolute path specified, but after normalization there are still some '..' left. Removing these...
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
System – Windows 11
My Behance portfolio, Blender plugin FB support group
In final rendering the osl script does not work.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
System – Windows 11
My Behance portfolio, Blender plugin FB support group
- AndreasResch
- Posts: 78
- Joined: Wed Jul 25, 2018 4:53 pm
It does not work when you restart the Preview render either. Only when you start to move the sliders while Preview is running.
Bug still present on 16.3.1 OSX version. It's even worse. Rotation and scale does not work. Loading from file results with the same error.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
System – Windows 11
My Behance portfolio, Blender plugin FB support group