Line smooth: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
==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')