MDL implementations of USDPreviewSurface and/or Autodesk StandardSurface

Hi there
Does anyone know of any MDL implementations (ie declarative material definition) of USDPreviewSurface and/or Autodesk StandardSurface?
Thanks very much
Brian

What MDL version do you need?
There is the MaterialX MDL backend (https://github.com/materialx/MaterialX/tree/v1.38) which supports StandardSurface through MaterialX. But i also have a monolithic implementation here, still misses sheen which will make it require MDL 1.6. I could clean this up and post here.

Also soon to come omniverse beta will have a usdpreview implementation.

What MDL version do you need?

I’m working off the latest in GitHub, so… MDL 1.6 is fine.

I could clean this up and post here

That would be cool, thanks!
But no rush, in your own time.

Also soon to come omniverse beta will have a usdpreview implementation.

Great, I’ll keep an eye out for that.

Thanks Jan!

Here is my implementation of ad_standard_surface. I already added sheen. This is not an official release but code to use at your own risk. Of course there are some limitations. :

-sheen only over diffuse, not over sss (will need upcomming MDL 1.7)
-slightly different for edgecolor since in use our complex_ior implementation
-thin film gives different results for so far unknown reasons
-additional transmission roughness not implemented because i did not find documentation or implementation in the osl reference

ad_standard_surface.zip (6.1 KB)

Thanks Jan!