There are 10 types of basic graphical items built into VMD, which are used with graphics and draw commands. These are:
draws a point at the given position
|
dashed] -
draws either a solid or dashed line of the given width from the first point to the second. By default, this is a solid line of width 1.
|
no] -
draws a cylinder of the given radius (default r1) from the first point to the second. The cylinder is actually drawn as an n sided polygon. If the filled option is true (default), the ends are capped with flat disks, otherwise the cylinder is hollow.
draw a cone with the center of the base at the first point and the tip at the second. The radius(default r1) determines the width of the base. As with cylinder, the resolution determines the number of polygons used in the approximation.
draws a triangle with endpoints at each of the three vertices
draws a triangle with endpoints at each of the first three points. The second group of three values specify the normals for the three points. This is used for making a smooth shading across the triangle.
draws a sphere of the given radius (default r1) centered at the vertex. The resolution (default n6) determines how many polygons are used in the approximation of a sphere.
displays the text string with the bottom left of the string starting at the given vertex.
|
off -
Material properties are used to make the graphical objects
(lines, cylinders, etc.) be affected by the light sources. These make
the objects look more realistic, but are slower on machines which
don't implement materials in hardware (see
chapter § and
sections on color and
colorinfo commands
for the information on how to turn off
material characteristics for all objects in VMD). One surprising
effect of material characteristics is that lines are affected. In
some lighting situations, the lines can even appear to disappear.
Thus, you may want to turn off materials before drawing lines.