Line smooth: Difference between revisions
Jump to navigation
Jump to search
(Created page) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
This is a display setting. | This is a display setting. | ||
The line_smooth setting determines whether lines are | The '''line_smooth setting''' determines whether lines are '''[[antialias]]'''ed. The default is to use antialiased lines. | ||
==Syntax== | ==Syntax== | ||
To turn off antialiasing: | To turn off antialiasing: | ||
<source lang="python"> | |||
set line_smooth, 0 | |||
</source> | |||
To turn on antialising (default): | To turn on antialising (default): | ||
<source lang="python"> | |||
set line_smooth, 1 | |||
</source> | |||
From python: | From python: | ||
<source lang="python"> | |||
cmd.set('line_smooth', '0') | |||
</source> | |||
or | or | ||
<source lang="python"> | |||
cmd.set('line_smooth', '1') | |||
</source> | |||
[[Category:Settings|Line smooth]] | |||
[[Category:Lines]] |
Latest revision as of 11:59, 2 September 2008
Overview
This is a display setting.
The line_smooth setting determines whether lines are antialiased. The default is to use antialiased lines.
Syntax
To turn off antialiasing:
set line_smooth, 0
To turn on antialising (default):
set line_smooth, 1
From python:
cmd.set('line_smooth', '0')
or
cmd.set('line_smooth', '1')