“ray” creates a ray-traced image of the current frame. This can take some time (up to several minutes, depending on image complexity).
ray [width [,height [,antialias [,angle [,shift [,renderer [,quiet [,async ]]]]]]]]]
width = integer {default: 0 (current)}
height = integer {default: 0 (current)}
antialias = integer {default: -1 (use antialias setting)}
angle = float: y-axis rotation for stereo image generation {default: 0.0}
shift = float: x-axis translation for stereo image generation {default: 0.0}
renderer = -1, 0, 1, or 2: respectively, default, built-in, pov-ray, or dry-run {default: 0}
async = 0 or 1: should rendering be done in a background thread?
ray ray 1024,768 ray renderer=2
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.
angle and shift can be used to generate matched stereo pairs
renderer = 1 uses PovRay. This is Unix-only and you must have “povray” in your path. It utilizes two two temporary files: “tmp_pymol.pov” and “tmp_pymol.png”.
See “help faster” for optimization tips with the builtin renderer. See “help povray” for how to use PovRay instead of PyMOL's built-in ray-tracing engine.