Overview Function List GLOD Web Site

NAME

glodBuildObject - Compile the geometry created by glodInsertArrays()/glodInsertElements() into a LOD hierarchy.

C SPECIFICATION

void glodBuildObject(GLuint name)

PARAMETERS

name
The name of the object to be built.

DESCRIPTION

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.

CONFIGURATION OPTIONS

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.

ERRORS

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?

Last modified: 06/10/04 06:32:20 PM