Metal material scripted node

Forums: Metal material scripted node
Forum for OctaneRender Lua scripting examples, discussion and support.

Re: Metal material scripted node

Postby smicha » Fri Dec 19, 2014 5:25 am

smicha Fri Dec 19, 2014 5:25 am
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
User avatar
smicha
Licensed Customer
Licensed Customer
 
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Re: Metal material scripted node

Postby Tugpsx » Mon Dec 22, 2014 6:04 am

Tugpsx Mon Dec 22, 2014 6:04 am
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.
Dell Win Vista 32 | NVIDIA Quadro NVS135M | Core2 Duo T7500 2.20GHz | 4GB
CyberPowerPC Win 7 64| NVIDIA GTX660Ti (3G) GTX480(1.5G) | 16GB
Tugpsx
Licensed Customer
Licensed Customer
 
Posts: 1145
Joined: Thu Feb 04, 2010 8:04 pm
Location: Chicago, IL

Re: Metal material scripted node

Postby prodviz » Mon Dec 22, 2014 10:09 am

prodviz Mon Dec 22, 2014 10:09 am
Is N and K option possible to implement in the plugins (i.e Maya)?

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

Re: Metal material scripted node

Postby Elvissuperstar007 » Tue Dec 23, 2014 12:15 pm

Elvissuperstar007 Tue Dec 23, 2014 12:15 pm
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
User avatar
Elvissuperstar007
Licensed Customer
Licensed Customer
 
Posts: 2422
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia

Re: Metal material scripted node

Postby prodviz » Tue Dec 23, 2014 8:42 pm

prodviz Tue Dec 23, 2014 8:42 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
Licensed Customer
 
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Re: Metal material scripted node

Postby prodviz » Sun Dec 28, 2014 7:50 pm

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

Re: Metal material scripted node

Postby prodviz » Mon Dec 29, 2014 10:11 am

prodviz Mon Dec 29, 2014 10:11 am
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
Licensed Customer
 
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Re: Metal material scripted node

Postby prodviz » Tue Dec 30, 2014 11:36 am

prodviz Tue Dec 30, 2014 11:36 am
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?
prodviz
Licensed Customer
Licensed Customer
 
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Re: Metal material scripted node

Postby roeland » Wed Dec 30, 2015 12:36 am

roeland Wed Dec 30, 2015 12:36 am
Updated the script — fixed bug where the metal had the wrong falloff after loading a scene and added icon.
User avatar
roeland
OctaneRender Team
OctaneRender Team
 
Posts: 1808
Joined: Wed Mar 09, 2011 10:09 pm

Re: Metal material scripted node

Postby stratified » Thu Apr 14, 2016 8:18 pm

stratified Thu Apr 14, 2016 8:18 pm
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 849 times


cheers,
Thomas
User avatar
stratified
OctaneRender Team
OctaneRender Team
 
Posts: 945
Joined: Wed Aug 15, 2012 6:32 am
Location: Auckland, New Zealand
PreviousNext

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 4 guests

Tue Mar 19, 2024 5:29 am [ UTC ]