HeightfieldChunker Class Reference

List of all members.

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_callback(int) = 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.


Generated on Tue Apr 22 10:10:59 2008 for vtdata library by  doxygen 1.4.5