NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::IConfig_settings::Height_field_lod_config Struct Reference

Configuration settings for tiled/level-of-detail height-field scene elements. More...

#include <iconfig_settings.h>

Public Attributes

mi::math::Vector_struct< mi::Uint32, 2 > tile_dimensions
 Controls the dimensions of height-field tiles. More...
 
mi::Uint32 tile_shared_border_size
 Controls the size of shared border around height-field tiles. More...
 

Detailed Description

Configuration settings for tiled/level-of-detail height-field scene elements.

Member Data Documentation

 tile_dimensions

mi::math::Vector_struct<mi::Uint32, 2> nv::index::IConfig_settings::Height_field_lod_config::tile_dimensions

Controls the dimensions of height-field tiles.

The actual internally used tile size is a combination of the tile dimensions and the chosen shared tile border size. (it is calculated as tile_dimensions + 2 * tile_shared_border_size). The actual tile size should be powers of two in each dimension for optimal operation.

 tile_shared_border_size

mi::Uint32 nv::index::IConfig_settings::Height_field_lod_config::tile_shared_border_size

Controls the size of shared border around height-field tiles.

The default border, size is 1 which enables bi-linear filtering of height-field values. For more complex filters (using wider filtering kernels) a larger border size may be required.


The documentation for this struct was generated from the following file: