Hi,
I've been researching how to setup metals correctly in Vray. I've looked at the blog post and was wondering how to get the values in the metal chart. I've found on the forum that you can use this code to get those values and some graphs.
the Solid line is the Vray, small dotted is Gulbrandsen and large dotted is the complex fresnel
The way the IOR for a given metal is found is in a for loop with trial and error and not mathematically derived from the real world n and k values. That doesn't seem very elegant.
But I've noticed a problem in the Gulbrandsen calculations for the fresnel. The edgetint wasn't setup correctly in those calculations.
When I fixed them and tried it again, these are my results
We can see that the Gulbrandsen fresnel is exactly the same as the complex fresnel and that by comparison the Vray fresnel of
I've made a pull request on the original github so you can look at it
I've been researching how to setup metals correctly in Vray. I've looked at the blog post and was wondering how to get the values in the metal chart. I've found on the forum that you can use this code to get those values and some graphs.
the Solid line is the Vray, small dotted is Gulbrandsen and large dotted is the complex fresnel
The way the IOR for a given metal is found is in a for loop with trial and error and not mathematically derived from the real world n and k values. That doesn't seem very elegant.
But I've noticed a problem in the Gulbrandsen calculations for the fresnel. The edgetint wasn't setup correctly in those calculations.
When I fixed them and tried it again, these are my results
We can see that the Gulbrandsen fresnel is exactly the same as the complex fresnel and that by comparison the Vray fresnel of
I've made a pull request on the original github so you can look at it
Comment