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
Post Reply
leehenshall
Licensed Customer
Posts: 184
Joined: Sun Oct 25, 2015 5:44 pm
Location: England
Contact:

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.
User avatar
bepeg4d
Octane Guru
Posts: 10326
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
here is an example scene of the Spread SpotLight OSL script in c4doctane:
SpreadSpotLight.c4d.zip
(53.97 KiB) Downloaded 380 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
leehenshall
Licensed Customer
Posts: 184
Joined: Sun Oct 25, 2015 5:44 pm
Location: England
Contact:

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?
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

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!
leehenshall
Licensed Customer
Posts: 184
Joined: Sun Oct 25, 2015 5:44 pm
Location: England
Contact:

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!
chocbot
Licensed Customer
Posts: 73
Joined: Sun Apr 17, 2016 3:03 pm

Hi there,

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

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

Hi Bepe,

thanks a lot! :)

Cheers
feels
Licensed Customer
Posts: 11
Joined: Wed Apr 13, 2016 10:26 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!
Will this ever be implemented into the C4D build without a need for the OSL script?
john_otoy
OctaneRender Team
Posts: 246
Joined: Tue Aug 10, 2021 9:38 pm

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
Post Reply

Return to “General Discussion”