glodObjectParameteri, glodObjectParameterf - Sets an object's
parameter to a specified value.
void glodObjectParameteri(GLuint name, GLenum pname, GLint param)
void glodObjectParameterf(GLuint name, GLenum pname, GLfloat param)
- name, pname, param
pname of the object named
name is set to the value of
POSSIBLE PNAME/PARAM COMBINATIONS
Selects the method used for incrementally reducing the geometry while building the
multiresolution hierarchy. Possible values for param are:
Merges two vertices currently connected by an edge. One of the two
vertices is merged into the other, which remains (essentially)
Merges two vertices currently connected by an edge. Both vertices are
replace by a new, unified vertex, which is chosen to minimize error
according to some error metric.
Changes the way order in which vertices are chosen to be
collapsed. Possible values for param are:
After each simplification operation, GLOD will recalculate the
priority values for each of the neighboring edge.
After each simplification operation, GLOD will mark the priority
values of each neighboring edge to be dirty. Recomputation of costs
will only be done on required edges.
This method performs non-overlapping sets of operations on the input
geometry, resulting in hierarchies of logarithmic height.
Changes the handling of vertices on a geometric border (i.e. a vertex
without a full ring of triangles around it). Possible values for param
The default behavior, does not treat geometric border vertices
Prevents any modification to or removal of border vertices.
This floating point parameter is intended to compensate for small
floating point errors present in your data set. It controls the amount
of distance between two vertices before they are considered
coincident. Increase this number if cracks appear in your object.