Table of Contents

draw

“draw” creates an OpenGL-based image of the current frame.

Usage

draw [width [,height [,antialias ]]]

Arguments

width = integer {default: 0 (current)}

height = integer {default: 0 (current)}

antialias = integer {default: -1 (use antialias setting)}

Examples

draw 
draw 1600 

Notes

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”.

See Also

ray | png | save | cmd.draw | commands

Plus

Settings