@gerardb wrote:
Hello,
I’ve some trouble with CaptureToBitmap, I use a conduit (c#)
PreDrawObjects(DrawEventArgs e) { DisplayMaterial MyMaterial = new Rhino.Display.DisplayMaterial(Color.Red); e.Display.DrawBrepShaded(brep, MyMaterial); e.Display.Draw3dText(MyText, Color.Black, plan); }
ViewCapture.TransparentBackground = false
, it is Ok, Brep RED and Drawtext BLACK in the bitmap
ViewCapture.TransparentBackground = true
, Brep and Drawtext are WHITE in the bitmapDid I miss something ?
Thanks
Posts: 2
Participants: 1