Metal material scripted node

Forum for OctaneRender Lua scripting examples, discussion and support.
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

roeland wrote:
Tugpsx wrote:Super nice so we can go wild and add this database to a pick list.

A complete IOR list
You can use the indices in this list in the specular material node for things like glass or liquids. The values for metals are not useful because it doesn't include the K values.

--
Roeland
This may help
http://refractiveindex.info/
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
Tugpsx
Licensed Customer
Posts: 1150
Joined: Thu Feb 04, 2010 8:04 pm
Location: Chicago, IL
Contact:

smicha wrote:
roeland wrote:
Tugpsx wrote:Super nice so we can go wild and add this database to a pick list.

A complete IOR list
You can use the indices in this list in the specular material node for things like glass or liquids. The values for metals are not useful because it doesn't include the K values.

--
Roeland
This may help
http://refractiveindex.info/
WOW! awesome find, now to combine both to produce a dropdown list and all would be great.
Win 11 64GB | NVIDIA RTX3060 12GB
prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Is N and K option possible to implement in the plugins (i.e Maya)?

cheers.
User avatar
Elvissuperstar007
Licensed Customer
Posts: 2506
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia
Contact:

the script does not work
It's not like copper
Attachments
cooper2.png
cooper.png
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

I don't know if it's 100% accurate, but looks realistic to me.
Especially in Path Tracing or PMC.

Would still like to know if these material settings will, or can be available in maya?

cheers.
prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Any news on whether the N and K etc. are available in the plugins?
prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

roeland wrote:
Tugpsx wrote:Super nice so we can go wild and add this database to a pick list.

A complete IOR list
You can use the indices in this list in the specular material node for things like glass or liquids. The values for metals are not useful because it doesn't include the K values.

--
Roeland
Can you point us in the direction of a list of K values?
And is this N and K value available, or possible in the plugins?
prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

I think there's an N and K value in the Maxwell render engine too.

Would be super cool if this is possible in the plugins?
User avatar
roeland
OctaneRender Team
Posts: 1822
Joined: Wed Mar 09, 2011 10:09 pm

Updated the script — fixed bug where the metal had the wrong falloff after loading a scene and added icon.
User avatar
stratified
OctaneRender Team
Posts: 945
Joined: Wed Aug 15, 2012 6:32 am
Location: Auckland, New Zealand

The script was broken in 3.0 alpha 8 because the P_SMOOTH pin was removed from the gradient texture node.

Attached is the new script.
metal.orbx
(13.92 KiB) Downloaded 974 times
cheers,
Thomas
Post Reply

Return to “Lua Scripting”