This is a read-only mirror of pymolwiki.org

Difference between revisions of "Ray trace disco factor"

From PyMOL Wiki
Jump to navigation Jump to search
(created)
 
m (1 revision)
 
(No difference)

Latest revision as of 03:14, 7 January 2019

The ray_trace_disco_factor setting has an effect on ray_trace_mode 1-3. With small values, outlines will appear at surface curvature discontinuities.

set ray_trace_disco_factor, 0.0 set ray_trace_disco_factor, 1.0
Ray trace disco factor-0-cartoon.png Ray trace disco factor-1-cartoon.png
Ray trace disco factor-0-spheres.png Ray trace disco factor-1-spheres.png
Ray trace disco factor-0-sticks.png Ray trace disco factor-1-sticks.png

Usage

set ray_trace_mode
set ray_trace_disco_factor, 1.0 ;# disable effect
set ray_trace_disco_factor, 0.1 ;# some outlines
set ray_trace_disco_factor, 0.0 ;# strong outlines

Example

# load a molecule
fragment indane
show_as spheres

# white background makes black outlines
bg_color white

# enable outline mode
set ray_trace_mode, 3
set ray_trace_disco_factor, 0.0
ray

See Also