Next Previous Contents

The command entry

As you may have noticed, at the bottom of GLOTE's main window, there's an entry. This is the command entry. It allows to do things in GLOTE from a command line. More things will be supported in the future.

The allowed commands are:

vertex x [y] [z] Add a vertex at (x, y, z) if y and/or z are omitted, the current values are used
colour r [g] [b] [a] Current vertex colour components are changed, if g/b/a are omitted, the current values are kept
alpha a Set the current vertex alpha (opacity) to a
normal nx [ny] [nz] Current vertex normal components are changed, omitted components stay the same
texture u [v] Current vertex texture co-ordinate components are changed, omitted components stay the same
quit Quit GLOTE
help Bring up command entry help (not implemented)
triangles/triangle_fan/triangle_strip/quads/quad_strip/polygons/revolutions Set the current edit mode to foo

Note that these all have synonyms, see command_entry.c for them.

When a command is entered, it is added to a list above the entry. Clicking on one of these entries will copy that command to the entry.


Next Previous Contents
Robert Cleaver Ancell
Last modified: Thu Aug 16 17:57:08 NZST 2001