Page 1 of 1
Light Primitive: OSL Spread Function
Posted: Tue Oct 27, 2020 12:36 pm
by leehenshall
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
Here's a screengrab from the 2020.1 Features list on the Otoy website.
It looks like it should just be OSL code that could be copied into the OSL texture.
Re: Light Primitive: OSL Spread Function
Posted: Wed Oct 28, 2020 7:24 am
by bepeg4d
Hi,
here is an example scene of the Spread SpotLight OSL script in c4doctane:
P.S. it works also in OctaneX PR3
Happy GPU Rendering,
ciao Beppe
Re: Light Primitive: OSL Spread Function
Posted: Wed Oct 28, 2020 9:37 am
by leehenshall
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?
Re: Light Primitive: OSL Spread Function
Posted: Wed Oct 28, 2020 7:45 pm
by Goldorak
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!
Re: Light Primitive: OSL Spread Function
Posted: Wed Oct 28, 2020 7:52 pm
by leehenshall
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!
Re: Light Primitive: OSL Spread Function
Posted: Fri Apr 16, 2021 8:39 am
by chocbot
Hi there,
could someone please share that OSL-code, so I can use it in Houdini?
Cheers
Re: Light Primitive: OSL Spread Function
Posted: Mon Apr 19, 2021 6:39 am
by bepeg4d
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
Re: Light Primitive: OSL Spread Function
Posted: Mon Apr 19, 2021 9:58 am
by chocbot
Hi Bepe,
thanks a lot!
Cheers
Re: Light Primitive: OSL Spread Function
Posted: Thu Nov 04, 2021 1:43 am
by feels
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!
Will this ever be implemented into the C4D build without a need for the OSL script?
Re: Light Primitive: OSL Spread Function
Posted: Thu Nov 04, 2021 3:04 am
by john_otoy
feels wrote: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!
Will this ever be implemented into the C4D build without a need for the OSL script?
This was added in OctaneRender 2020.2. It's called the "Spotlight Distribution" node.
https://docs.otoy.com/StandaloneH_STA/S ... bution.htm
I just searched the C4D docs and it appears to be in the plugin too:
https://docs.otoy.com/cinema4d/Spotligh ... ution.html