Tag Archives: python

Fresnel Schlick’s approximation in Maya

fresnel_schlick_approximation

So recently I had the need to convert some Arnold materials to Vray. The aiStandard uses the Schlick’s approximation under the “reflectance at normal” attribute, similar to the Mental ray’s brdf control, the difference is that in Arnold you only have control over the 0 degree reflection, not 90 degrees slider or brdf curve control like in the Mia material. But, VrayMtl doesn’t have any other control for reflection falloff other than based on IOR, so having the background on the Fresnel formula implementation with remapValue node and sampler info, the Schlick’s approximation should be easy enough to implement and attach to a VrayMtl. In this post I am going to share with you the Schlick approximation formula in python and how to get around some issues.

Continue reading

Custom Fresnel curves in Maya

custom_fresnel_curves_maya

So, we all know about fresnel reflections, objects reflect more at grazing angles. A few years ago we would use the facing ratio and a ramp to achieve that effect, and then reverse the result in the diffuse to keep somehow a physical based workflow. With more recent shaders and render engines we can drive the reflection with the index of refraction (ior or n) which works great for dielectric materials (plastic, wood, etc) but for metals the index of refraction is a bit more complex and very few render engines have gone through the trouble of writing those more complex reflection formulas. The question is: does it make any difference at all? Can’t we just tweek it until “looks good”? Sure we can, after all it’s all about art, making it look good, and realism is not always pleasing. So don’t take this too serious, but in the end you might learn something.

Continue reading

5 useful Maya Tips

5_autodesk_maya_tips

In this post I am going to share 5 useful maya tips that will help you to get around problems in maya faster. From very simple maya python commands and use of expressions, there’s something for all maya users.

Continue reading

10 Maya quick tips

autodesk maya tips

In this post I will share a few more maya tips that can help you to work faster inside maya. Simple python scripts and some “not-so-obvious” maya options that will make your life easier.

Continue reading

10 Maya tips to boost your workflow

maya_tips

In this post I will share some tips and tricks that will help you to improve your workflow when working in Maya. From small python scripts that can resize your 4k images to a smaller format when doing some preview renders, to simple tips and shortcuts, I am sure that there will be something for every maya artist around.

Continue reading