RhinoCommon and Physically Based materials

Hi

For a given Material (which is a Physically Based material in a Rhino scene), how can I get all the Physically Based material properties please?

Thanks

Paul

For any material, first check if its simulated version is physically based, then request the physically based material from the simulated material.

bool isPbr = rm.SimulatedMaterial(RenderTexture.TextureGeneration.Skip).IsPhysicallyBased;
if(isPbr) {
    var pbrmat = rm.SimulatedMaterial(RenderTexture.TextureGeneration.Allow).PhysicallyBased;
    // you have now a Rhino.DocObjects.PhysicallyBasedMaterial in pbrmat to work with
}

Perfect - thanks @nathanletwory

Actually - this does not seem to work @nathanletwory. isPbr is false for the following material…

@pkinnane could you please drag the material from the material editor to your desktop, then attach it to this discussion? Thanks.

edit: I tried with what I think is the same material setup, but that works for me. So it would be good to get that material from you to see if there is anything different.

<xml>
	<material type-name="5a8d7b9b-cdc9-49de-8c16-2ef64fb097ab" render-engine-id="99999999-9999-9999-9999-999999999999" plug-in-id="638A0098-0511-482B-95BF-8CF47FD32C17" type-id="5A8D7B9B-CDC9-49DE-8C16-2EF64FB097AB" notes="" tags="" hidden="false" reference="false" auto-delete="false">
		<parameters>
			<automatic-dynamic-field-meta-data type="string">&lt;xml/&gt;</automatic-dynamic-field-meta-data>
			<pbr-base-color type="color">0.984313726425171,0.0156862754374743,0.0156862754374743,1</pbr-base-color>
			<pbr-base-color-on type="bool">false</pbr-base-color-on>
			<pbr-base-color-double-amount type="double">1</pbr-base-color-double-amount>
			<pbr-base-color-amount type="int">100</pbr-base-color-amount>
			<pbr-subsurface type="double">0</pbr-subsurface>
			<pbr-subsurface-on type="bool">false</pbr-subsurface-on>
			<pbr-subsurface-double-amount type="double">1</pbr-subsurface-double-amount>
			<pbr-subsurface-amount type="int">100</pbr-subsurface-amount>
			<pbr-subsurface-scattering-radius type="double">0</pbr-subsurface-scattering-radius>
			<pbr-subsurface-scattering-radius-on type="bool">false</pbr-subsurface-scattering-radius-on>
			<pbr-subsurface-scattering-radius-double-amount type="double">0.01</pbr-subsurface-scattering-radius-double-amount>
			<pbr-subsurface-scattering-radius-amount type="int">1</pbr-subsurface-scattering-radius-amount>
			<pbr-metallic type="double">0</pbr-metallic>
			<pbr-metallic-on type="bool">false</pbr-metallic-on>
			<pbr-metallic-double-amount type="double">1</pbr-metallic-double-amount>
			<pbr-metallic-amount type="int">100</pbr-metallic-amount>
			<pbr-specular type="double">0.5</pbr-specular>
			<pbr-specular-on type="bool">false</pbr-specular-on>
			<pbr-specular-double-amount type="double">1</pbr-specular-double-amount>
			<pbr-specular-amount type="int">100</pbr-specular-amount>
			<pbr-specular-tint type="double">0</pbr-specular-tint>
			<pbr-specular-tint-on type="bool">false</pbr-specular-tint-on>
			<pbr-specular-tint-double-amount type="double">1</pbr-specular-tint-double-amount>
			<pbr-specular-tint-amount type="int">100</pbr-specular-tint-amount>
			<pbr-roughness type="double">0</pbr-roughness>
			<pbr-roughness-on type="bool">false</pbr-roughness-on>
			<pbr-roughness-double-amount type="double">1</pbr-roughness-double-amount>
			<pbr-roughness-amount type="int">100</pbr-roughness-amount>
			<pbr-anisotropic type="double">0</pbr-anisotropic>
			<pbr-anisotropic-on type="bool">false</pbr-anisotropic-on>
			<pbr-anisotropic-double-amount type="double">1</pbr-anisotropic-double-amount>
			<pbr-anisotropic-amount type="int">100</pbr-anisotropic-amount>
			<pbr-anisotropic-rotation type="double">0</pbr-anisotropic-rotation>
			<pbr-anisotropic-rotation-on type="bool">false</pbr-anisotropic-rotation-on>
			<pbr-anisotropic-rotation-double-amount type="double">1</pbr-anisotropic-rotation-double-amount>
			<pbr-anisotropic-rotation-amount type="int">100</pbr-anisotropic-rotation-amount>
			<pbr-sheen type="double">0.5</pbr-sheen>
			<pbr-sheen-on type="bool">false</pbr-sheen-on>
			<pbr-sheen-double-amount type="double">1</pbr-sheen-double-amount>
			<pbr-sheen-amount type="int">100</pbr-sheen-amount>
			<pbr-sheen-tint type="double">0</pbr-sheen-tint>
			<pbr-sheen-tint-on type="bool">false</pbr-sheen-tint-on>
			<pbr-sheen-tint-double-amount type="double">1</pbr-sheen-tint-double-amount>
			<pbr-sheen-tint-amount type="int">100</pbr-sheen-tint-amount>
			<pbr-clearcoat type="double">0</pbr-clearcoat>
			<pbr-clearcoat-on type="bool">false</pbr-clearcoat-on>
			<pbr-clearcoat-double-amount type="double">1</pbr-clearcoat-double-amount>
			<pbr-clearcoat-amount type="int">100</pbr-clearcoat-amount>
			<pbr-clearcoat-roughness type="double">0</pbr-clearcoat-roughness>
			<pbr-clearcoat-roughness-on type="bool">false</pbr-clearcoat-roughness-on>
			<pbr-clearcoat-roughness-double-amount type="double">1</pbr-clearcoat-roughness-double-amount>
			<pbr-clearcoat-roughness-amount type="int">100</pbr-clearcoat-roughness-amount>
			<pbr-opacity-ior type="double">1.52</pbr-opacity-ior>
			<pbr-opacity-ior-on type="bool">false</pbr-opacity-ior-on>
			<pbr-opacity-ior-double-amount type="double">1</pbr-opacity-ior-double-amount>
			<pbr-opacity-ior-amount type="int">100</pbr-opacity-ior-amount>
			<pbr-opacity type="double">1</pbr-opacity>
			<pbr-opacity-on type="bool">false</pbr-opacity-on>
			<pbr-opacity-double-amount type="double">1</pbr-opacity-double-amount>
			<pbr-opacity-amount type="int">100</pbr-opacity-amount>
			<pbr-opacity-roughness type="double">0</pbr-opacity-roughness>
			<pbr-opacity-roughness-on type="bool">false</pbr-opacity-roughness-on>
			<pbr-opacity-roughness-double-amount type="double">1</pbr-opacity-roughness-double-amount>
			<pbr-opacity-roughness-amount type="int">100</pbr-opacity-roughness-amount>
			<pbr-alpha type="double">1</pbr-alpha>
			<pbr-alpha-on type="bool">false</pbr-alpha-on>
			<pbr-alpha-double-amount type="double">1</pbr-alpha-double-amount>
			<pbr-alpha-amount type="int">100</pbr-alpha-amount>
			<pbr-subsurface-scattering-color type="color">1,1,1,1</pbr-subsurface-scattering-color>
			<pbr-subsurface-scattering-color-on type="bool">false</pbr-subsurface-scattering-color-on>
			<pbr-subsurface-scattering-color-double-amount type="double">1</pbr-subsurface-scattering-color-double-amount>
			<pbr-subsurface-scattering-color-amount type="int">100</pbr-subsurface-scattering-color-amount>
			<pbr-emission type="color">0,0,0,1</pbr-emission>
			<pbr-emission-on type="bool">false</pbr-emission-on>
			<pbr-emission-double-amount type="double">1</pbr-emission-double-amount>
			<pbr-emission-amount type="int">100</pbr-emission-amount>
			<emission-multiplier type="double">1</emission-multiplier>
			<emission-multiplier-on type="bool">false</emission-multiplier-on>
			<emission-multiplier-double-amount type="double">1</emission-multiplier-double-amount>
			<emission-multiplier-amount type="int">100</emission-multiplier-amount>
			<alpha-transparency type="bool">true</alpha-transparency>
			<pbr-ambient-occlusion type="double">1</pbr-ambient-occlusion>
			<pbr-ambient-occlusion-on type="bool">false</pbr-ambient-occlusion-on>
			<pbr-ambient-occlusion-double-amount type="double">1</pbr-ambient-occlusion-double-amount>
			<pbr-ambient-occlusion-amount type="int">100</pbr-ambient-occlusion-amount>
			<pbr-bump type="color">0,0,0,1</pbr-bump>
			<pbr-bump-on type="bool">false</pbr-bump-on>
			<pbr-bump-double-amount type="double">0.3</pbr-bump-double-amount>
			<pbr-bump-amount type="int">30</pbr-bump-amount>
			<pbr-displacement type="double">0</pbr-displacement>
			<pbr-displacement-on type="bool">false</pbr-displacement-on>
			<pbr-displacement-double-amount type="double">0.01</pbr-displacement-double-amount>
			<pbr-displacement-amount type="int">1</pbr-displacement-amount>
			<pbr-clearcoat-bump type="color">0,0,0,1</pbr-clearcoat-bump>
			<pbr-clearcoat-bump-on type="bool">false</pbr-clearcoat-bump-on>
			<pbr-clearcoat-bump-double-amount type="double">1</pbr-clearcoat-bump-double-amount>
			<pbr-clearcoat-bump-amount type="int">100</pbr-clearcoat-bump-amount>
			<pbr-show-ui-basic-metalrough type="bool">false</pbr-show-ui-basic-metalrough>
			<pbr-show-ui-subsurface type="bool">false</pbr-show-ui-subsurface>
			<pbr-show-ui-specularity type="bool">false</pbr-show-ui-specularity>
			<pbr-show-ui-anisotropy type="bool">false</pbr-show-ui-anisotropy>
			<pbr-show-ui-sheen type="bool">true</pbr-show-ui-sheen>
			<pbr-show-ui-clearcoat type="bool">false</pbr-show-ui-clearcoat>
			<pbr-show-ui-opacity type="bool">false</pbr-show-ui-opacity>
			<pbr-show-ui-emission type="bool">false</pbr-show-ui-emission>
			<pbr-show-ui-bump-displacement type="bool">false</pbr-show-ui-bump-displacement>
			<pbr-show-ui-ambient-occlusion type="bool">false</pbr-show-ui-ambient-occlusion>
		</parameters>
		<simulation>
			<ambient type="color">0,0,0,1</ambient>
			<diffuse type="color">0.984313726425171,0.0156862754374743,0.0156862754374743,1</diffuse>
			<emission type="color">0,0,0,1</emission>
			<specular type="color">1,1,1,1</specular>
			<reflection type="color">1,1,1,1</reflection>
			<shine type="double">1</shine>
			<transparency type="double">0</transparency>
			<reflectivity type="double">1</reflectivity>
			<ior type="double">1.52</ior>
			<fresnel-enabled type="bool">true</fresnel-enabled>
			<polish-amount type="double">1</polish-amount>
			<clarity-amount type="double">1</clarity-amount>
			<transparent type="color">1,1,1,1</transparent>
			<is-physically-based type="bool">true</is-physically-based>
			<pbr-brdf type="string">ggx</pbr-brdf>
			<pbr-base-color type="color">0.984313726425171,0.0156862754374743,0.0156862754374743,1</pbr-base-color>
			<pbr-subsurface type="double">0</pbr-subsurface>
			<pbr-subsurface-scattering-color type="color">1,1,1,1</pbr-subsurface-scattering-color>
			<pbr-subsurface-scattering-radius type="double">0</pbr-subsurface-scattering-radius>
			<pbr-specular type="double">0.5</pbr-specular>
			<pbr-specular-tint type="double">0</pbr-specular-tint>
			<pbr-metallic type="double">0</pbr-metallic>
			<pbr-roughness type="double">0</pbr-roughness>
			<pbr-anisotropic type="double">0</pbr-anisotropic>
			<pbr-anisotropic-rotation type="double">0</pbr-anisotropic-rotation>
			<pbr-sheen type="double">0.5</pbr-sheen>
			<pbr-sheen-tint type="double">0</pbr-sheen-tint>
			<pbr-clearcoat type="double">0</pbr-clearcoat>
			<pbr-clearcoat-roughness type="double">0</pbr-clearcoat-roughness>
			<pbr-opacity type="double">1</pbr-opacity>
			<pbr-opacity-ior type="double">1.52</pbr-opacity-ior>
			<pbr-opacity-roughness type="double">0</pbr-opacity-roughness>
			<pbr-emission type="color">0,0,0,1</pbr-emission>
			<pbr-alpha type="double">1</pbr-alpha>
			<pbr-use-base-color-texture-alpha type="bool">true</pbr-use-base-color-texture-alpha>
		</simulation>
		<preview>
			<scene-scale type="double">1</scene-scale>
			<angle-x type="double">38.6746511713306</angle-x>
			<angle-y type="double">35.2369044005456</angle-y>
			<rotation-type type="string">camera</rotation-type>
			<geometry type="string">material-scene</geometry>
			<background type="string">material-scene</background>
			<lighting type="string">skylighting</lighting>
		</preview>
	</material>
	<meta-data>
		<renderer-name>Generic</renderer-name>
		<type-name>Physically Based</type-name>
	</meta-data>
	<thumbnail width="256" height="256" format="jpeg" original-size="16564" compressed-size="16564" compression="none" encoding="base64">/9j/4AAQSkZJRgABAAEASABIAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wCEAAUFBQgFCAwHBwwMCQkJDA0MDAwMDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0BBQgICgcKDAcHDA0MCgwNDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDf/EAaIAAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKCwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+foRAAIBAgQEAwQHBQQEAAECdwABAgMRB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gnSgBfrTEL9eKCROn+f8+lABTEB9KBCUCIaZInTigY0juKAIWFIorv8A5/z+dAFOZM8H/OPy/wA/lQM4y+iMchHrz+ePX/PavOrK0vU+wy+fNSS3cXb9fyZlN/nPNcTPqKZXYVgz04MrvCrDBH585+v+NYSjc9ajVcO9vxMeexZOUzj+73/D1/n9TXK4uJ7cKkalu6+5evbsRWdk93II1BBzjp09f/1VO+iN7qK5paJK/r2S9e56jpnhuK2licDLjCkDHJ7Hr16Z+nUmuuNNXT67HgVcbJQqQ2hvd9Ek7+mn+eh7pY2/2eJIhxtAH4jqe3r+p4r6OEeWKiuiPxevVderOs/tSb9F0XyVkXcA8d/8/wCf8itkcEmSKv8A+r86oweg8LngDv8A5/z/AIUzMkAxx/n/APX/AJ7UxEqqR/n/AD/9egRKBkY/z/n86BDhz7Z/z/n/ACaYth3SgRzmvXgUfZ1PJ5b2A6D8evTpRsLfQ5EnP4f57/59Kk1Wgzp+FBQ7pQAUCCgQUxBQAUCEAxQIhNMkb7UDEx6UhjTQMiK0DKsiUhnL6zAQBIv8J5+h/wA965q0bxuuh7mXVVCr7OW09vVbffscw+f8/wCf88d68pn3cO5XYYHt/P0rFnpw7/1/Www8jBrJndEQ9ORkH/PTvWbOyLttozqNCjDYO0YjGAQBnLHqx78DqewHtSgtX5F4puMIq7vPfXTRdu2v3ne6Jbefcgn7qfN9PT9a9GhHmmn0Wv8AkfHZnW9hhpRWkp+4vR7/AIL8T0lBwAelewfnGxMP5c/l3qkYt9B6r0zzg/lVGLJVXb1/rVEbEgAHX/8AV/j/AJ4oJJAvX0/zxTEPA9f8/wCf896A2Hj8vwoEZepaitguB80jD5V9Pc/557UE+RwksrSsXbJZjk/j+P0pFpEPTkUjQXPpQAn0oAUCgQUCAe1MYUCAUCACgR//2Q==</thumbnail>
</xml>
���
public static Node ConvertMaterial(Material material)
        {
            try
            {
#if RHINO7
                RenderMaterial renderMaterial = material.RenderMaterial;
                bool isPbr = renderMaterial.SimulatedMaterial(RenderTexture.TextureGeneration.Skip).IsPhysicallyBased;
                if (isPbr)
                {
                    var pbrmat = renderMaterial.SimulatedMaterial(RenderTexture.TextureGeneration.Allow).PhysicallyBased;

Can you please attach the material as a file instead of copy-pasting it as text?

While waiting for the material as file I used the one I created myself. This time I used the Material as one can retrieve from the RhinoDoc.Materials table, then access its RenderMaterial as you do. This still appears to be working for me:

Hi Nathan - I have worked out the problem. The plugin is doing a SimulateMaterial on the RenderMaterial before passing to my code above. Thanks for your great help as always, and sorry to waste your time on my coding error.

Thanks

Paul

I’m glad you figured it out.