Hi,
I would like to understand if there is an easy way to generate custom thumbnail out of a set of objects (in RhinoCommon).
Let me phrase that better, I want to generate the thumbnail of layer-like objects that I am using in my plugin. I know that RhinoView has a CaptureToBitmap method. But my understanding is that I need to hide all the objects that I do not want to be visible within the thumbnail and then get the bitmap.
Is there another way to do this? Or I need to write a simple renderer myself?
RhinoCommon does not have a function that will generate preview images (like this for you). But you can probably code something up that works for you.
Basically, you need to provide a custom display conduit that draws only your preview geometry, and then capture it using DisplayPipeline.DrawToBitmap. Sorry I don’t have a sample of this.
Here are some other threads on the same topic that may help you.