Overview Function List GLOD Web Site
void glodAdaptGroup(GLuint name) Adapts a group to a particular LOD based on the bound transform matrices and group settings.
void glodBindObjectXform(GLuint objectname, GLenum what) Tell GLOD to use the current OpenGL modelview and projection matrices when it performs view-dependent refinement (e.g. when its group's GLOD_ERROR_MODE is set to GLOD_SCREEN_SPACE_ERROR).
void glodBuildObject(GLuint name) Compile the geometry created by glodInsertArrays.html">glodInsertArrays()/glodInsertElements.html">glodInsertElements() into a LOD hierarchy.
void glodDeleteGroup(GLuint name) delete an adaptation group
void glodDeleteObject(GLuint name) Deletes an object, removing it from its group.
void glodDrawPatch(GLuint name, GLuint patchname) Draws a specific patch in a GLOD object
void glodFillArrays(GLuint object_name, GLuint patch_name) Rather than drawing a patch, this places what would be drawn into the current OpenGL vertex/normal/color/texcoord arrays.
void glodFillElements(GLuint object_name, GLuint patch_name, GLenum type, GLvoid* out_elements) Rather than drawing a patch, this places what would be drawn into the current OpenGL vertex/normal/color/texcoord and index arrays.
GLenum glodGetError(void) Reports the most recently recorded GLOD error
void glodGetGroupParameter(GLuint name, GLenum pname, GLint* param) Gets a named group parameter
void glodGetObjectParameter(GLuint name, GLenum pname, GLint* param) Gets an object parameter
void glodGroupParameter(GLuint name, GLenum pname, GLint param) Sets a named group parameter to some value.
GLuint glodInit(void) Initializes the GLOD library
void glodInsertArrays(GLuint name, GLuint patchname, GLenum mode, GLint first, GLsizei count, GLuint level, GLfloat geometric_error) A direct analog of the OpenGL vertex array mechanism, this takes your current GL vertex array state and uses it as a particular patch within GLOD
void glodInsertElements(GLuint name, GLuint patchname, GLenum mode, GLuint count, GLenum type, GLvoid* indices, GLuint level, GLfloat geometric_error) A direct analog of the OpenGL vertex array mechanism, this takes your current GL vertex array state and uses it as a particular patch within GLOD.
void glodInstanceObject(GLuint name, GLuint instancename, GLuint groupname) Creates a new instance of an existing GLOD object.
void glodLoadObject(GLuint name , GLuint groupname , const GLvoid* data) Loads an object that was previously read with glodReadbackObject.html">glodReadbackObject()
void glodNewGroup(GLuint name) create a new group used to adapt one or more GLOD objects
void glodNewObject(GLuint name, GLuint groupname, GLenum format) create a new GLOD object
void glodObjectParameter(GLuint name, GLenum pname, GLint param) Sets an object's parameter to a specified value.
void glodObjectXform(GLuint objectname, float m1[16], float m2[16], float m3[16]) Tell GLOD to use the current OpenGL modelview and projection matrices when it performs view-dependent refinement.
void glodReadbackObject(GLuint name, GLvoid* data) Packs an object's LOD Hierarchy into a user specified buffer for later use.
void glodShutdown(void) Cleans up all the memory by the GLOD library and shuts it down.

Last modified: 06/10/04 06:46:12 PM