vmd.display.set

vmd.display.set()

Sets display properties. One or more properties may be set at a time.

Parameters:
  • eyesep (float) – Eye separation
  • focallength (float) – Focal length
  • height (float) – Screen height relative to the camera
  • distance (float) – Screen distance relative to the camera
  • nearclip (float) – Near clipping plane distance
  • farclip (float) – Far clipping plane distance
  • antialias (bool) – If antialiasing is on
  • depthcueue (bool) – If depth cueuing is used
  • culling (bool) – If backface culling is used. Can reduce performance
  • stereo (bool) – If stereo mode is on
  • projection (str) – Projection mode, in [Perspective, Orthographic]
  • size (list of 2 ints) – Display window size, in px
  • ambientocclusion (bool) – If ambient occlusion is used
  • aoambient (float) – Amount of ambient light
  • aodirect (float) – Amount of direct light
  • shadows (bool) – If shadows should be rendered
  • dof (bool) – If depth of field effects should be rendered
  • dof_fnumber (float) – F-number for depth of field effects
  • dof_focaldist (float) – Focal distance for depth of field effects