“draw” creates an OpenGL-based image of the current frame.
draw [width [,height [,antialias ]]]
width = integer {default: 0 (current)}
height = integer {default: 0 (current)}
antialias = integer {default: -1 (use antialias setting)}
draw draw 1600
Default width and height are taken from the current viewpoint. If one is specified but not the other, then the missing value is scaled so as to preserve the current aspect ratio.
Because this feature uses the OpenGL rendering context to piece together the image, it does not work when running in the command-line only mode.
On certain graphics hardware, “unset opaque_background” followed by “draw” will produce an image with a transparent background. However, better results can usually be obtained using “ray”.