[OSL scripts] Layer Blending mode and Normalize

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
LewisO
Licensed Customer
Posts: 43
Joined: Mon Aug 10, 2015 7:57 am

Hello everyone, I've made two OSL nodes in Octane before, the first one is a blending node which consists of 14 common modes, and a normalize node consists of one line of code only, hope these can be helpful ;)
005xfPeggy1gefpb9969fj30rr0i812y.jpg
Attachments
osl_scripts.zip
(1.65 KiB) Downloaded 430 times
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Thanks!
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Ghostmize
Licensed Customer
Posts: 18
Joined: Mon Jan 07, 2013 1:07 am

thanks! really cool
User avatar
aiven
Licensed Customer
Posts: 21
Joined: Wed Mar 11, 2015 4:19 pm
Location: Geneva, Switzerland
Contact:

Thanks! Good job. :D
aiven.net
5960X | 64GB ddr4 | 1x 1080ti + 2x 980ti
6850k | 64GB ddr4 | 4x 980ti hybrid
6850k | 64GB ddr4 | 4x 1080ti
mitchino
Licensed Customer
Posts: 450
Joined: Thu Jul 14, 2016 4:49 pm

would it be possible to create a blur node? I'd love to be able to tweak blur settings on image files I use for displacements etc
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

mitchino wrote:would it be possible to create a blur node? I'd love to be able to tweak blur settings on image files I use for displacements etc
I've added a lot of osl scripts but seems like nobody checked.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
mitchino
Licensed Customer
Posts: 450
Joined: Thu Jul 14, 2016 4:49 pm

I see there is a gaussian blur script - can't get it working though, I've piped an image node with a png image into the gaussian blur node, and connected that to my diffuse channel. Can't seem to get any blurring, but I am getting incredibly slow performance.
pegot
Licensed Customer
Posts: 934
Joined: Mon Nov 07, 2011 3:44 am

mitchino wrote:I see there is a gaussian blur script - can't get it working though, I've piped an image node with a png image into the gaussian blur node, and connected that to my diffuse channel. Can't seem to get any blurring, but I am getting incredibly slow performance.
You need to attach an "OSL Delayed UV” projection node to the image being blurred.
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)
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

Hi all!

Lewis - this is great!

As outlined in the GTC20 roadmap, we are going to bake in all useful osl shaders as native nodes into a forthcoming update. Joan and I are reviewing just about all the osl shaders - including those on liveDB, and shown in the roadmap slides. If there any others missing, please let us know.

The layer/compositing node is one we are paying special attention to right now - we want to get all porter diff operators working on top of the blend modes, and also allow mask texture input on top of layer opacity value.

For color correction, we are going to port the autodesk Uber CC shader (which I believe Lewis tested, as did I) as well as the more minimal CC node from Arnold that is currently a utility node on liveDB.
LewisO
Licensed Customer
Posts: 43
Joined: Mon Aug 10, 2015 7:57 am

Goldorak wrote:Hi all!

Lewis - this is great!

As outlined in the GTC20 roadmap, we are going to bake in all useful osl shaders as native nodes into a forthcoming update. Joan and I are reviewing just about all the osl shaders - including those on liveDB, and shown in the roadmap slides. If there any others missing, please let us know.

The layer/compositing node is one we are paying special attention to right now - we want to get all porter diff operators working on top of the blend modes, and also allow mask texture input on top of layer opacity value.

For color correction, we are going to port the autodesk Uber CC shader (which I believe Lewis tested, as did I) as well as the more minimal CC node from Arnold that is currently a utility node on liveDB.
Don't forget the long node list I shared earlier!
Post Reply

Return to “General Discussion”