Difference between revisions of "Ray shadows"

From PyMOLWiki
Jump to navigation Jump to search
(New page: === OVERVIEW === The '''ray_shadows''' setting determines whether or not PyMOL will ray trace shadows. This is also related to the '''ray_shadow''' setting. === SYNTAX === <source lang="python"> # tur...)
 
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
 
set ray_shadows, off
 
set ray_shadows, off
 
set ray_shadows, 0
 
set ray_shadows, 0
 +
</source>
 +
 +
===PYMOL API===
 +
<source lang="python">
 +
cmd.set('ray_shadows','on')
 +
cmd.set('ray_shadows','off')
 
</source>
 
</source>
  
Line 19: Line 25:
 
Image:Ray_shadow_on.png|Ray_shadow turned on.  Click on the image to see the full detail.
 
Image:Ray_shadow_on.png|Ray_shadow turned on.  Click on the image to see the full detail.
 
</gallery>
 
</gallery>
 +
 +
[[Category:Settings|Ray shadows]]

Latest revision as of 08:06, 5 May 2010

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: