Functions | |
void | Regenerate_LOD (const char *segment, const char *options) |
void | Regenerate_LOD_By_Key (HC_KEY segKey, const char *options) |
void Regenerate_LOD | ( | const char * | segment, | |
const char * | options | |||
) |
Throws away any existing LODs in the provided segment tree and regenerates them according to the supplied options.
segment | - The segment that the LOD should be calculated for. | |
options | - The initial lod generating options. |
The options string accepts the lod options of Set_Rendering_Options() that relate to generation: ratio, min triangle count, levels, algorithm, collapse duplicate vertices, tolerance, usefulness heuristic, usefulness cutoff and mode. In most cases, these values can be overridden by child segments. The one exception to that rule is that settings become locked at the level of the first "mode=segment" setting (either in the initial settings passed into this function or set on a segment).
void Regenerate_LOD_By_Key | ( | HC_KEY | segKey, | |
const char * | options | |||
) |
Similar to Regenerate_LOD(), but operates on an object referenced by an HC_KEY.
segKey | - The key to the segment that the LOD should be calculated for. | |
options | - The default lod generating options. |