Difference between revisions of "Ambient"

From PyMOLWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
 +
Setting [[Ambient]] controls the amount of ambient light.
 +
  
set ambient controls the amount of ambient light
 
  
 
== Syntax ==
 
== Syntax ==
 
 
<source lang="python">
 
<source lang="python">
set ambient, <number>                         #default 0.1
+
# default 0.1
 +
set ambient, <number>
 
</source>
 
</source>
  
 
== Example ==
 
== Example ==
 
<gallery>
 
<gallery>
 +
Image:AmbientScale.gif|Ambient being set from 0 to 1.
 
Image:ambient_minus0.4.png|ambient -0.4
 
Image:ambient_minus0.4.png|ambient -0.4
 
Image:ambient_default.png|ambient 0.1 (default)
 
Image:ambient_default.png|ambient 0.1 (default)

Latest revision as of 07:46, 27 April 2009

Overview

Setting Ambient controls the amount of ambient light.


Syntax

# default 0.1
set ambient, <number>

Example