
| Graph axis blend color color bar fog freetype light line material node point plot polygon render scene stencil texcoord text texture vertex Utility array bio hdf make math netcdf Auxiliary curl expact sqlite window |
zeLineUse .new("line") to create the object. It is one of the shape objects that the OpenGL display list is implemented. A line object will be compiled into a display list if activated by the render. By default the object is treated as GL_LINE_STRIP with line width of one and style of solid. Improperly setting the line type is the most misuse of the object. When the rendered result is not what you anticipated, check the call object:set{type="?"}. The order of callig translate, scale, and rotate functions matters. :rotatex(angle) These functions rotate the object around the x-, y- and z-axis, respectively. The calling order matters. :reset() Resets transformations to none. :scale(xs, ys, zs) Scales the object in x, y, and z direction for the factors of xs, ys, and zs. :translate(dx, dy, dz) Moves the object dx, dy, and dz away from the current position. :update() Forces to update rendering of the object. It should be used when the data of vertex are changed after a rendering with the displaylist enabled. :set{...} Sets line properties with a Lua table. Valid key-value pairs in the Lua table are listed as follows.
|