OSL Node issue

Forums: OSL Node issue
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)

OSL Node issue

Postby AndreasResch » Wed Dec 05, 2018 10:00 am

AndreasResch Wed Dec 05, 2018 10:00 am
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 ... https://render.otoy.com/forum/viewtopic.php?f=73&t=69211

Cheerio,
Andreas
AndreasResch
Licensed Customer
Licensed Customer
 
Posts: 78
Joined: Wed Jul 25, 2018 4:53 pm

Re: OSL Node issue

Postby J.C » Wed Dec 05, 2018 11:44 am

J.C Wed Dec 05, 2018 11:44 am
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.
Attachments

[ Play Quicktime file ] random uv osl issue.mp4 [ 6.41 MiB | Viewed 2118 times ]

random uw osl.blend
(689.45 KiB) Downloaded 141 times
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1712
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: OSL Node issue

Postby AndreasResch » Wed Dec 05, 2018 11:50 am

AndreasResch Wed Dec 05, 2018 11:50 am
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.
AndreasResch
Licensed Customer
Licensed Customer
 
Posts: 78
Joined: Wed Jul 25, 2018 4:53 pm

Re: OSL Node issue

Postby J.C » Wed Dec 05, 2018 11:52 am

J.C Wed Dec 05, 2018 11:52 am
With External OSL loading the script gives errors. "Compilation failed" etc.
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
J.C
Licensed Customer
Licensed Customer
 
Posts: 1712
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: OSL Node issue

Postby J.C » Wed Dec 05, 2018 3:28 pm

J.C Wed Dec 05, 2018 3:28 pm
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
J.C
Licensed Customer
Licensed Customer
 
Posts: 1712
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: OSL Node issue

Postby AndreasResch » Thu Dec 06, 2018 6:30 am

AndreasResch Thu Dec 06, 2018 6:30 am
It does not work when you restart the Preview render either. Only when you start to move the sliders while Preview is running.
AndreasResch
Licensed Customer
Licensed Customer
 
Posts: 78
Joined: Wed Jul 25, 2018 4:53 pm

Re: OSL Node issue

Postby J.C » Tue Dec 18, 2018 10:32 pm

J.C Tue Dec 18, 2018 10:32 pm
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
J.C
Licensed Customer
Licensed Customer
 
Posts: 1712
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: OSL Node issue

Postby DrawFun » Wed Dec 19, 2018 7:55 am

DrawFun Wed Dec 19, 2018 7:55 am
Hi AndreasResch and J.C,

Thanks for your report. I am looking into it now.

Cheers,
DrawFun
DrawFun
OctaneRender Team
OctaneRender Team
 
Posts: 350
Joined: Fri Aug 25, 2017 5:02 am

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 3 guests

Thu Mar 28, 2024 10:33 am [ UTC ]