Gaussian Spectrum

Sub forum for help and tutorials.

Moderators: ChrisHekman, aoktar

Post Reply
DinoMuhic
OctaneRender Team
Posts: 193
Joined: Wed Mar 25, 2015 10:24 pm

Has anyone a good explaination what this node does? I just can't wrap my head around it. How and when is it supposed to be used?

Can anyone link me to a throughout explaination?

Thanks a lot.
User avatar
brasco
Licensed Customer
Posts: 198
Joined: Wed Apr 13, 2011 2:56 pm

Hi Dino,

Been looking into it myself, and I think in basic terms it's a way to give you colour based on realistic spectra.
Someone please correct me if I'm wrong here.

It's best described in images and a (very badly drawn) graph :)

Image


So inputting those values (roughly) into the GS node (wavelength in μm not nm like the graph) and putting it in the Spec channel (Index = 1) gives you this:

Image

Increasing the width value will widen the spectra included and eventually desaturate to white.
You can of course add variation to the wavelength to give you varying colours:

Image


cheers
brasc
Rig#1 Win 10 x64 | GTX 1080Ti | GTX 1080Ti | GTX 1080Ti | i7 7900K 4.7GHz | 64GB
Rig#2 Win 10 x64 | GTX 1080Ti | GTX 1080Ti | GTX 1080Ti | i7 3930K 4.4GHz | 32GB
Rig#3 Win 10 x64 | GTX 1070| GTX 1070| GTX 1070| i7 2600K 4.8GHz | 32GB
User avatar
bepeg4d
Octane Guru
Posts: 10340
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
perfect explanation, brasco ;)
In simple words we could consider it like another way to input colors. Since Octane converts the RGB colours to a spectrum, using this node, the color is not converted. It works in a similar way as the HSV space where the Hue is given by the Wavelength, the Saturation by the Width value (in the opposite direction, lower values will give more saturated colors), and finally the Value is given by the Power value. You can use it in any color input pin, for example in texture emission node gives much better results compared with a classic RGB node ;)
ciao beppe
ratata
Licensed Customer
Posts: 74
Joined: Tue Aug 19, 2014 1:28 am
Location: Ljubljana, Slovenia
Contact:

Hi, can you elaborate on this

"for example in texture emission node gives much better results compared with a classic RGB node"

what do you mean by better results? accurate color? faster render?

Thanks

Sandi
http://www.twitter.com/sandidolsak

6850k|64gb|4 x GTX980ti
User avatar
Yambo
Licensed Customer
Posts: 345
Joined: Tue May 12, 2015 1:37 pm
Location: Tel Aviv, Israel

wow thanks beppe! using the gaussianspectrum for colored emission is wonderful solution. i will definitely remember it.

:)
4x 980ti EVGA | 5930k | Asus X99 E WS 3.1 | corsair 64GB RAM |SSD 500GB system + SSD 2TB working files + 6TB HDD storage WD |
Phanteks Enthoo Primo | 1600W EVGA T2 BLACK | It's the fastest 4x980ti build: http://goo.gl/hYp8e0 :)

https://yambo.me
DinoMuhic
OctaneRender Team
Posts: 193
Joined: Wed Mar 25, 2015 10:24 pm

ratata
Licensed Customer
Posts: 74
Joined: Tue Aug 19, 2014 1:28 am
Location: Ljubljana, Slovenia
Contact:

Thanks for the links!
http://www.twitter.com/sandidolsak

6850k|64gb|4 x GTX980ti
MildMustard
Licensed Customer
Posts: 125
Joined: Tue Jun 10, 2014 6:00 am

Anyone know how to find the width and power of the wavelength on a given metal, like Copper on http://refractiveindex.info/?shelf=main ... age=Rakic/ ?
Post Reply

Return to “Help / Tutorials”