Hash max: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
m (→‎Exmaple: typo correction)
Line 8: Line 8:
where '''int''' is a positive integer.  (I'm not actually sure what good boundaries are for the hash_max setting.  Anyone?)
where '''int''' is a positive integer.  (I'm not actually sure what good boundaries are for the hash_max setting.  Anyone?)


== Exmaple ==
== Example ==
<source lang="python">
<source lang="python">
set hash_max, 200
set hash_max, 200

Revision as of 11:58, 9 April 2010

Overview

hash_max sets how much memory PyMOL uses when ray tracing. Use more then PyMOL will ray trace more quickly, less it's slower. For large scenes, it's useful to turn up this value. Simpler scenes probably don't need it. If you set hash_max too high, then PyMOL can (and will) crash if it can't secure the necessary memory.

Syntax

set hash_max, int

where int is a positive integer. (I'm not actually sure what good boundaries are for the hash_max setting. Anyone?)

Example

set hash_max, 200

See Also

ray, png, draw