Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
HeightfieldChunker Class Reference

#include <ChunkLOD.h>

Public Member Functions

bool ProcessGrid (vtElevationGrid *grid, FILE *out, int tree_depth, float base_max_error, float vertical_scale, float input_vertical_scale, bool progress_callback(int)=NULL)
 

Detailed Description

Functionality for dealing with ChunkLOD files.

Member Function Documentation

bool HeightfieldChunker::ProcessGrid ( vtElevationGrid grid,
FILE *  out,
int  tree_depth,
float  base_max_error,
float  vertical_scale,
float  input_vertical_scale,
bool   progress_callbackint = NULL 
)

Generate LOD chunks from the given heightfield.

tree_depth determines the depth of the chunk quadtree.

base_max_error specifies the maximum allowed geometric vertex error, at the finest level of detail.

Spacing determines the horizontal sample spacing for bitmap heightfields only.


The documentation for this class was generated from the following files: