Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

plcombine(3gv) [debian man page]

plcombine(3gv)															    plcombine(3gv)

NAME
PLCombine - polylist two polylists (OFF file format) into one SYNOPSIS
Geom *PLCombine(Geom *, Geom *); DESCRIPTION
PLCombine() combines two polylists into a single polylist and returns the new polylist. If either of the old polylists was NULL, a copy of the other polylist (or NULL if both polylists were NULL) is returned. PLCombine() will generate an error if either of the parameters was not of the polylist type. If the two polylists represent color in an inconsistant way, PLCombine will attempt to preserve the color data. If either polylist has per-polygon colors, the result will have per-polygon colors. If the other object originally had per-vertex colors, the color of the first point of each polygon will be used as the color of the polygon. If the other polylist originally had no colors, the rgba value 0.15, 0.15, 0.15, 1.0 will be used as the color of each of that polyline's polygons. If neither of the polylists had per-polygon colors but one had per-vertex colors, the value 0.15, 0.15, 0.15, 1.0 will be used as the color value for each of the vertices of the colorless polylist. If neither polylist had color data, the result will not have color date. The result of PLCombine() will not include normal data if the two polylists represent normals in an inconsistent way, for example, if one has per-vertex data and one has per-face data or one has per-vertex data and one has no data. LINKING
PLCombine() is part of the geomutil library; see geomutil(3) for information on how to link your program with this library. SEE ALSO
offcombine(1), geomview(1), geomutil(3) AUTHOR
Celeste Fowler The Geometry Center Geometry Center June 15, 1992 plcombine(3gv)

Check Out this Related Man Page

GLSHADEMODEL(3G)														  GLSHADEMODEL(3G)

NAME
glShadeModel - select flat or smooth shading C SPECIFICATION
void glShadeModel( GLenum mode ) PARAMETERS
mode Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. DESCRIPTION
GL primitives can have either flat or smooth shading. Smooth shading, the default, causes the computed colors of vertices to be interpo- lated as the primitive is rasterized, typically assigning different colors to each resulting pixel fragment. Flat shading selects the com- puted color of just one vertex and assigns it to all the pixel fragments generated by rasterizing a single primitive. In either case, the computed color of a vertex is the result of lighting if lighting is enabled, or it is the current color at the time the vertex was speci- fied if lighting is disabled. Flat and smooth shading are indistinguishable for points. Starting when glBegin is issued and counting vertices and primitives from 1, the GL gives each flat-shaded line segment i the computed color of vertex i+1, its second vertex. Counting similarly from 1, the GL gives each flat-shaded polygon the computed color of the vertex listed in the following table. This is the last vertex to specify the polygon in all cases except single polygons, where the first vertex specifies the flat-shaded color. ------------------------------------- Primitive Type of Polygon i Vertex ------------------------------------- Single polygon (i==1) 1 Triangle strip i+2 Triangle fan i+2 Independent triangle 3i Quad strip 2i+2 Independent quad 4i ------------------------------------- Flat and smooth shading are specified by glShadeModel with mode set to GL_FLAT and GL_SMOOTH, respectively. ERRORS
GL_INVALID_ENUM is generated if mode is any value other than GL_FLAT or GL_SMOOTH. GL_INVALID_OPERATION is generated if glShadeModel is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_SHADE_MODEL SEE ALSO
glBegin(3G), glColor(3G), glLight(3G), glLightModel(3G) GLSHADEMODEL(3G)
Man Page