https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_DocObjects_Material.htm
DocObjectsMaterial doesn’t have any Method can directly take RenderMaterial or .rmlt. or .xml.
Hello,
We are working on an Iray for Rhino plugin, and I am writing a material conversion routine, to help the user get nice initial materials in Iray. We have written an MDL material explicitly for mapping the Rhino material parameters, to ease this task. We do not expect anyone who wants to use Iray to continue to use the Rhino materials, as these do not expose very much of the power of MDL. Therefore I would like to write a routine to convert the Rhino materials on a one-time basis.
I see t…
This post mentioned need to transfer material properity by each.
Once get DocOBjectMaterial done, use “var dm = new Rhino.Display.DisplayMaterial(DocObject.Material);”