Chaos Corona for 3ds Max > [Max] Corona Goodies - User Contributions

ComplexFresnel Texmap

<< < (2/11) > >>

gabyanz:
Any chanche to have it for max 2012?

I'd like to play with.... since I've read the Viscorbel article...


tnx
Gaby

fco3d:
So... how do I use this?
If I go to that website link I only get one value for n and k, I can't find anything that tell me the RGB parts,
also if I compare the presets values with the info in that website, they look different.

Any ideas?
Thanks.

steyin:

--- Quote from: fco3d on 2015-04-28, 20:45:02 ---So... how do I use this?
If I go to that website link I only get one value for n and k, I can't find anything that tell me the RGB parts,
also if I compare the presets values with the info in that website, they look different.

Any ideas?
Thanks.

--- End quote ---

The RGB wavelength values are taken as the median of their ranges typically. If you look up red on wikipedia for example, its range is 620-740, so the 650 value used in the map is an approximation of its average. You would then find that number for each color, and input it into the wavelength box on the refractive index page.

For example (the copper values), inputting the R value of .65 gives you an n=.27105 and k=3.6092, hence the .271 and 3.609 in the map. Inputting the same RGB wavelength values under a different material from the index pull down will give you the corresponding n and k values for that material (ie: for aluminum, R value of .65, n=1.3424, k=7.4737, which aligns with the values on the fresnel map)

These are estimated numbers of course, not exact values.

Siger:
Another experiment ;)
I try to develop a Texmap plug-in which reproduces the effect of thin film interference on a surface.
It is based on code: http://www.gamedev.net/page/resources/_/technical/graphics-programming-and-theory/thin-film-interference-for-computer-graphics-r2962
Plugin will be free and compatible with Corona Renderer.

fco3d:

--- Quote from: steyin on 2015-04-28, 21:42:57 ---
--- Quote from: fco3d on 2015-04-28, 20:45:02 ---So... how do I use this?
If I go to that website link I only get one value for n and k, I can't find anything that tell me the RGB parts,
also if I compare the presets values with the info in that website, they look different.

Any ideas?
Thanks.

--- End quote ---

The RGB wavelength values are taken as the median of their ranges typically. If you look up red on wikipedia for example, its range is 620-740, so the 650 value used in the map is an approximation of its average. You would then find that number for each color, and input it into the wavelength box on the refractive index page.

For example (the copper values), inputting the R value of .65 gives you an n=.27105 and k=3.6092, hence the .271 and 3.609 in the map. Inputting the same RGB wavelength values under a different material from the index pull down will give you the corresponding n and k values for that material (ie: for aluminum, R value of .65, n=1.3424, k=7.4737, which aligns with the values on the fresnel map)

These are estimated numbers of course, not exact values.

--- End quote ---

Thank you for the explanation, now it make sense.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version