Rhino.PlugIns.RenderPlugIn - how to write to the viewport



In protected Result RenderWindow, how to you write your render bitmap to the render window in Rhino pls? Does RenderWindow need to create a pipeline? RhinoCommon.Rhino5.


(John Morse) #2


If you are using a Rhino.Render.RenderPipeline then all you need to do is call the RenderWindow() method on your render pipeline and Rhino will take care of the rest. If you are not using a render pipeline then you will have to create a Rhino.Display.DisplayConduit, override the PostDrawObjects method and display your rendered bitmap.