I am trying to draw a bitmap in the model. I see that there is a DisplayPipeline.DrawBitmap(), but this is in screen coordinates. I am hoping to do something more like the command “PictureFrame”. It appears I can Draw a mesh with the material set correctly and do this. I don’t see how to get from a bitmap to a material or a texture though. I see DisplayMaterial.SetBitmapTexture() but it needs either filename or texture. I could get the filename, but I actually want to get the bitmap from a RhinoView.CaptureToBitmap(), so it seems an extra step to write to a file.
Just to frame this, the end result would be sort of like a projector, in the file, where the image projected on the mesh is coming from the camera (so its like a camera that is projecting).