Alexey Vanzhula Posted December 19, 2013 Share Posted December 19, 2013 (edited) Hi. I`m writing bridge between maya and houdini. At now i experiment with export mantra surface to arnold aiStandard material. It use user-base rules to accurate export materials from houdini All works fine but i dont understand how to correct translate specular roughness from mantra surface. 1. In mantra surface it is specular angle 2. In arnold aiStandard - specular roughness 3. Also arnold has two BRDF models - cook_torrance and ward_duler (with anisotropy and rotation attributes) 4. As you can see in export code it is remap(shop_node.evalParm('spec_angle'),0.0,90.0,0.0,1.0) ). remap is simple function to fit new range (0,90 -> 0.0,1.0 in this example) 5. Renders with specular angle=10 are diffrent 6. So, how to translate specular angle to specular roughness ? Edited December 19, 2013 by Alexey Vanzhula Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted December 19, 2013 Share Posted December 19, 2013 float rough = sin(radians(angle)); Quote Link to comment Share on other sites More sharing options...
Alexey Vanzhula Posted December 19, 2013 Author Share Posted December 19, 2013 Леха спасиба !!! Quote Link to comment Share on other sites More sharing options...
Alexey Vanzhula Posted December 22, 2013 Author Share Posted December 22, 2013 (edited) Still finding solution. This is sin(radians(angle)) result: Edited December 22, 2013 by Alexey Vanzhula Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.