@hugh_groves wrote:
I’m creating some surfaces in a grasshopper preview that are somewhat transparent.
Rhino.Display.DisplayMaterial dm = new Rhino.Display.DisplayMaterial(color, transparency); args.Display.DrawBrepShaded(brep, dm);
For looking through the surface and seeing CAD objects this is fine. However, one of my users wants to see a background picture that he has inserted, and no matter the transparency value of view mode this is always blocked by my preview brep.
However, if in Rhino I create a surface then apply a glass material to it and set Rhino to render mode I can see the picture through the surface. How do I create my own ‘glass’ materials for previewing purposes?
Posts: 1
Participants: 1