You can save to a file by reading back the contents of the framebuffer with GL.ReadPixels, storing them to a System.Drawing.Bitmap and calling its Save() method. Check the source code for GLControl.GrabScreenshot() to find out how to do this - I have used this method to record 720p/30Hz video in realtime.
Comments
Re: Extrascreen drawing
GL.ReadPixels, storing them to aSystem.Drawing.Bitmapand calling itsSave()method. Check the source code forGLControl.GrabScreenshot()to find out how to do this - I have used this method to record 720p/30Hz video in realtime.Edit: I have added documentation on how to save an OpenGL rendering to disk.
Re: Extrascreen drawing
Fiddler! Many thanks!
All works well.
But, if the figure is more 4096 * 4096 it is impossible...
This limitation FBO or OpenGL or OpenTK?
Aklev.
Re: Extrascreen drawing
This is a video card limitation. Check MaxTextureSize with
GL.GetInteger().