This is a read-only mirror of pymolwiki.org

Ray shadows

From PyMOL Wiki
Revision as of 03:53, 28 March 2014 by Bell (talk | contribs) (3 revisions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

OVERVIEW

The ray_shadows setting determines whether or not PyMOL will ray trace shadows. This is also related to the ray_shadow setting.

SYNTAX

# turn on ray traced shadows
set ray_shadows, on
set ray_shadows, 1

# turn off ray traced shadows
set ray_shadows, off
set ray_shadows, 0

PYMOL API

cmd.set('ray_shadows','on')
cmd.set('ray_shadows','off')

EXAMPLES

To illustrate the difference, look at the two following images: