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.
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 183
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 350 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: 9940
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?
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 183
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: 2321
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!
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 183
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: 55
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: 9940
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: 55
Joined: Sun Apr 17, 2016 3:03 pm

Re: Light Primitive: OSL Spread Function

Postby feels » Thu Nov 04, 2021 1:43 am

feels Thu Nov 04, 2021 1:43 am
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?
feels
Licensed Customer
Licensed Customer
 
Posts: 11
Joined: Wed Apr 13, 2016 10:26 pm

Re: Light Primitive: OSL Spread Function

Postby john_otoy » Thu Nov 04, 2021 3:04 am

john_otoy Thu Nov 04, 2021 3:04 am
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
john_otoy
OctaneRender Team
OctaneRender Team
 
Posts: 206
Joined: Tue Aug 10, 2021 9:38 pm

Return to General Discussion


Who is online

Users browsing this forum: No registered users and 24 guests

Thu Mar 28, 2024 11:22 pm [ UTC ]