glodBuildObject - Compile the geometry created by glodInsertArrays()/glodInsertElements()
into a LOD hierarchy.
void glodBuildObject(GLuint name)
- name
-
The name of the object to be built.
This call takes the patch geometry that you placed into GLOD using
the glodInsertArrays()
and glodInsertElements()
calls and builds a
hierarchy of the format specified.
A number of configuration parameters are supported that control the
way in which an object is simplified. These are set and documented in
the glodObjectParameterif interface. Possible configuration values are:
-
GLOD_BUILD_QUEUE_MODE
-
GLOD_BUILD_OPERATOR
-
GLOD_BUILD_BORDER_MODE
-
GLOD_SHARE_TOLERANCE
See the glodObjectParameter documentation for more information on these
parameters and what they do.
- GLOD_INVALID_NAME is generated if if the object named
name
doesn't exist
-
- GLOD_INVALID_STATE if generated if the object has already been ``built''
-
- TODO: What is set when the simplifier fails?
-