glv.sourceforge.net/fileformat.html
Developers * 10 Help * 11 Open Discussion Credits: * 12 Acknowledgements * 13 Authors/Contributors This is a free open-source project; ATTRIBUTES: glcolor R G B (GL = glColor3f) R,G,B = Color of the following drawn primitives. Values ranging from 0 to 1 for example: "glcolor 1 0 0" is pure red glpointsize SIZE (GL = glPointSize) SIZE = Radius, in pixels, of the drawn points, using the "point" primitive gllinewidth SIZE (GL = glLineWidth) SIZE = Width, in pixels, of the drawn lines, using the "line" primitive; PRIMITIVES: point X Y Z (GL = glBegin(GL_POINTS) + glVertex3f(X,Y,Z) + glEnd X,Y,Z = Position of the point drawn. Specify the coordinates inright handed order, in order for the triangle to be correctly lighted. Specify the coordinates inright handed order, in order for the triangle to be correctly lighted. Specify the coordinates in right handed order, in order for the polygon to be correctly lighted. Specify the coordinates in right handed order, in order for the polygon to be correctly lighted. RAW PRIMITIVES: Equivalent of their "one-line" declaration; Specify the coordinates inright handed order, in order for the triangle to be correctly lighted. Specify the coordinates inright handed order, in order for the triangle to be correctly lighted. Specify the coordinates in right handed order, in order for the quad to be correctly lighted. Specify the coordinates in right handed order, in order for the quad to be correctly lighted. GLUT PRIMITIVES: glutwirecube X Y Z SIZE (GL = glTranslatef(X,Y,Z) + glutWireCube(SIZE)) X,Y,Z = Position of the cube SIZE = Size of the cube The cube is drawn in wireframe using the current line width and drawing color. This is implicit when declaring a new object (obj_begin) VERTEX-BASED POLYGON PRIMITIVES: All vertex array primitives use a suffix "_v"; SPECIAL: If the command-line parameter "-smooth" is given; This is implicit with the start of a file OBJECTNAME = optional name for the object. Can be used for later execute_object and delete_object commands. After this, any call to OBJECTNAME is void (but wont produce an execution error) GENERAL DRAWING SETTINGS draw_double_sided / draw_single_sided In sigle-side drawing mode; This permits to draw lines onto edges of polygons, without the lines beign "dashed" by the superposition of the polygon onto the line. This produce cleaner output for wireframe grids superposed to facets grids. Performance warning: Lots of different "triangle"/"quad" primitives will beslower to render when this mode is activated. Using a raw_triangle_v is much faster, as the wireframe boundaries are drawn in one shot, after the polygons.
|