Access shader image through GH or Rhinocommon

If i’m not wrong, all materials/texture in Rhino exist as temp file.

This returns the bitmap of the first material in the document:

System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(this.RhinoDocument.Materials[0].GetBitmapTexture().FileReference.FullPath);


1 Like