Light Primitive: OSL Spread Function

Forums: Light Primitive: OSL Spread Function
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

Light Primitive: OSL Spread Function

Postby leehenshall » Tue Oct 27, 2020 12:36 pm

leehenshall Tue Oct 27, 2020 12:36 pm
I've been watching GTC 2020 presentation and noticed the new Spread Function OSL input for emission distribution. This looks very handy.

I've had a look around in C4D Plugin 2020.1.5 and well as SA 2020.1.5 but cannot find it.

Here's screengrab from the presentation

oslSpread.jpg


Here's a screengrab from the 2020.1 Features list on the Otoy website.

oslSpread2.jpg


It looks like it should just be OSL code that could be copied into the OSL texture.
Win 10 64 | 2 X 2080Ti | Threadripper 2970WX | 128GB + Win 10 64 | 4 X Titan X | Threadripper 1950x | 128GB
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 165
Joined: Sun Oct 25, 2015 5:44 pm
Location: England

Re: Light Primitive: OSL Spread Function

Postby bepeg4d » Wed Oct 28, 2020 7:24 am

bepeg4d Wed Oct 28, 2020 7:24 am
Hi,
here is an example scene of the Spread SpotLight OSL script in c4doctane:
SpreadSpotLight.c4d.zip
(53.97 KiB) Downloaded 112 times


A02A2B49-3B69-4ADC-AE1F-2581D3703837.jpeg

61235C53-2A96-4BAE-8AD4-591FE02319FD.jpeg


P.S. it works also in OctaneX PR3

Happy GPU Rendering,
ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 8279
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Light Primitive: OSL Spread Function

Postby leehenshall » Wed Oct 28, 2020 9:37 am

leehenshall Wed Oct 28, 2020 9:37 am
Thanks so much for providing the OSL script :)

Jules said some of these common tools being implemented via OSL might be exposed/baked into standard nodes accessible via the Standalone UI and therefore be exposed at a core level via the DCC plugins.

It seems a little strange that I had to ask for the OSL code so that I could access a feature advertised in 2020.1

I did look on liveDB for the OSL code for this feature but could not find it. Is this script buried somewhere in the forums?
Win 10 64 | 2 X 2080Ti | Threadripper 2970WX | 128GB + Win 10 64 | 4 X Titan X | Threadripper 1950x | 128GB
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 165
Joined: Sun Oct 25, 2015 5:44 pm
Location: England

Re: Light Primitive: OSL Spread Function

Postby Goldorak » Wed Oct 28, 2020 7:45 pm

Goldorak Wed Oct 28, 2020 7:45 pm
The spread function is in fact baked into Octane X already, and we are working to get this into 2020.2+ built in nodes too!
User avatar
Goldorak
OctaneRender Team
OctaneRender Team
 
Posts: 2287
Joined: Sun Apr 22, 2012 8:09 pm

Re: Light Primitive: OSL Spread Function

Postby leehenshall » Wed Oct 28, 2020 7:52 pm

leehenshall Wed Oct 28, 2020 7:52 pm
Goldorak wrote:The spread function is in fact baked into Octane X already, and we are working to get this into 2020.2+ built in nodes too!


Thanks for confirming Jules. Very much looking forward to the roadmap a head. It took me a long time to get round to watching the April presentation but I was seriously impressed with what I saw. It's an exciting time to be an Otoy customer!
Win 10 64 | 2 X 2080Ti | Threadripper 2970WX | 128GB + Win 10 64 | 4 X Titan X | Threadripper 1950x | 128GB
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 165
Joined: Sun Oct 25, 2015 5:44 pm
Location: England

Re: Light Primitive: OSL Spread Function

Postby chocbot » Fri Apr 16, 2021 8:39 am

chocbot Fri Apr 16, 2021 8:39 am
Hi there,

could someone please share that OSL-code, so I can use it in Houdini?

Cheers
chocbot
Licensed Customer
Licensed Customer
 
Posts: 29
Joined: Sun Apr 17, 2016 3:03 pm

Re: Light Primitive: OSL Spread Function

Postby bepeg4d » Mon Apr 19, 2021 6:39 am

bepeg4d Mon Apr 19, 2021 6:39 am
Hi,
you can get the Spot Spread OSL script from the following .orbx file:
https://render.otoy.com/downloads/d9/07 ... light.orbx

Happy GPU rendering,

ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 8279
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Light Primitive: OSL Spread Function

Postby chocbot » Mon Apr 19, 2021 9:58 am

chocbot Mon Apr 19, 2021 9:58 am
Hi Bepe,

thanks a lot! :)

Cheers
chocbot
Licensed Customer
Licensed Customer
 
Posts: 29
Joined: Sun Apr 17, 2016 3:03 pm

Return to General Discussion


Who is online

Users browsing this forum: No registered users and 10 guests

Fri May 14, 2021 6:32 am [ UTC ]