 
 
 
 
 
 
 
 
 
 
 Next: draw
 Up: Tcl Text Commands
 Previous: colorinfo
     Contents 
     Index 
  
display
Change various aspects of the graphical display window.  For
information about the options, see the section describing the 
Display window.
- get < backgroundgradient | 
  eyesep | focallength | height | 
  distance | antialias | depthcue | 
  culling  | rendermode | size | stereo | 
  projection | nearclip | farclip |
  cuestart | cueend | cuedensity | cuemode 
  shadows | ambientocclusion | aoambient | aodirect |
  backgroundgradient >: 
  Return the current value of the requested option.
 
- get < rendermodes | stereomodes |  projections | 
  details >: Return a list of the available values for the given 
  options.
  (See section 5.4.6 and
  chapter 7 
  for more information.)
 
- antialias <  on | off >: Turn
    antialiasing on or off.
 
- ambientocclusion <  on | off >: Turn
    ambient occlusion lighting on or off.  This only affects renderers
    that support ambient occlusion lighting.  It will have no visible effect
    on the interactive VMD display or on renderers that don't support it.
    At present, only the Tachyon and TachyonInternal renderers are capable
    of ambient occlusion lighting.
 
- aoambient value:
    Set ambient occlusion lighting factor to value.
    Useful values tend to range from 0.7 to 1.0. 
    At present, only the Tachyon and TachyonInternal renderers are capable
    of ambient occlusion lighting.
 
- aodirect value:
    Set ambient occlusion direct lighting rescaling factor to value.
    Useful values tend to range from 0.0 to 0.4. 
    At present, only the Tachyon and TachyonInternal renderers are capable
    of ambient occlusion lighting.
 
- backgroundgradient <  on | off >: 
  Enable or disable the gradient background. 
 
- culling <  on | off >: Turn backface culling on or off.
- depthcue <  on | off >: Turn depth cueing on or off.
 
- eyesep value: Set the eye separation to value.
 
- fps <  on | off >: Turn frames-per-second
  indicator on or off.
 
- focallength value: Set the focal length to value.
- height value: Set the screen height to value.
- distance value: Set the screen distance to value.
 
- nearclip <  set | add >  value: Add or set near clipping plane position to it value.
- farclip <  set | add >  value: Add or set far clipping plane position to value.
 
- projection < perspective | orthographic >: Set the projection mode to mode.
 
- rendermode < Normal | GLSL | Acrobat3D >:
   Set the rendering mode to mode.
   This parameter allows the use of various OpenGL extensions to implement 
   alpha-blended transparency, or programmable shading for higher quality
   molecular graphics.  The default rendering mode does not enable these 
   features since they significantly alter the rendering and performance
   characteristics of VMD when they are enabled.  The Acrobat3D mode is
   used to allow successful capture of molecular geometry into Acrobat3D.
 
- resetview: Reset the view. 
 
- resize valueX valueY: Set the size of the
    display window to valueX  valueY. valueY.
 
- reposition valueX valueY: Set the position of
    the upper-left corner of the display window to valueX  valueY pixels from the lower-left corner of the screen. valueY pixels from the lower-left corner of the screen.
 
- shadows <  on | off >: 
    Turn shadow rendering on or off.  This only affects renderers
    that support control of shadow rendering.  It will have no visible effect
    on the interactive VMD display or on renderers that don't support it.
    At present, only the Tachyon and TachyonInternal renderers are capable
    of controlling the shadow rendering mode.
 
- stereo mode: Set the stereo mode to mode.
 
- update: Force a display update. Used if the display 
  update is off or to force a redraw. This does not necessarily take care 
  of resizing the display window or using the GUI while the display 
  update is turned off.
- update on: Turn display update on. 
- update off: Turn display update off. By default VMD does the
  display updates constantly. Sometimes it is beneficial to turn the turn
  the display updates off. This prevents VMD from redrawing the scene 
  as a response to every change, thus saving time while doing changes of 
  representations.  See the VMD script library for examples of use.
- update status: Return the display update status (on or off).
- update ui: Similar to display update, but also forces
  updates of the GUI windows. The windowed interface is subject to the
  following behavior: if the display update is set to off and 
  actions (such as, e.g., iconify/deiconify)
  have been performed to the windows, the windows do not get updated 
  by just display update command, whereas display update ui
  forces both updates to happen. Tk does not seem to have this problem,
  so this option will become obsolete after switching to Tk graphics user
  interface. 
 
 
 
 
 
 
 
 
 
 
 
 Next: draw
 Up: Tcl Text Commands
 Previous: colorinfo
     Contents 
     Index 
vmd@ks.uiuc.edu