This is a read-only mirror of pymolwiki.org
Difference between revisions of "Light count"
Jump to navigation
Jump to search
(Created new settings page for light_count) |
m (3 revisions) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
| − | set light_count | + | set [[light_count]] defines the number of light sources.<br> |
Setting to 0 or 1 removes any directional light source resulting in no shadows. Light_count does affect [[ambient]] lighting. | Setting to 0 or 1 removes any directional light source resulting in no shadows. Light_count does affect [[ambient]] lighting. | ||
== Syntax == | == Syntax == | ||
| − | |||
<source lang="python"> | <source lang="python"> | ||
set light_count, <integer> #default 2 | set light_count, <integer> #default 2 | ||
</source> | </source> | ||
| + | |||
| + | ==PyMol API== | ||
| + | <source lang="python">cmd.set(light_count,int sources)</source> | ||
| + | |||
== Example == | == Example == | ||
| Line 16: | Line 19: | ||
Image:light_count_10.png|light_count 10 | Image:light_count_10.png|light_count 10 | ||
</gallery> | </gallery> | ||
| + | |||
| + | =See Also= | ||
| + | [[Light]] | ||
| + | |||
| + | [[Category:Settings|Light count]] | ||
| + | [[Category:Lighting]] | ||
Latest revision as of 20:23, 9 July 2015
Overview
set light_count defines the number of light sources.
Setting to 0 or 1 removes any directional light source resulting in no shadows. Light_count does affect ambient lighting.
Syntax
set light_count, <integer> #default 2
PyMol API
cmd.set(light_count,int sources)


