This is a read-only mirror of pymolwiki.org

Difference between revisions of "Ambient"

From PyMOL Wiki
Jump to navigation Jump to search
(Created new settings page for ambient)
 
m (4 revisions)
 
(3 intermediate revisions 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)
 
Image:ambient_0.6.png|ambient 0.6
 
Image:ambient_0.6.png|ambient 0.6
 
</gallery>
 
</gallery>
 +
 +
[[Category:Settings|Ambient]]

Latest revision as of 01:48, 28 March 2014

Overview

Setting Ambient controls the amount of ambient light.


Syntax

# default 0.1
set ambient, <number>

Example