MDL SDK API nvidia_logo_transpbg.gif Up
mi::mdl::Distiller_options Class Reference

Options class to hold all parameters for algorithm and rule customizations. More...

#include <mdl_distiller_options.h>

Public Member Functions

 Distiller_options ()
 Create options with default settings. More...
 

Public Attributes

int verbosity
 log level: 0 = off, 3 = show errs and warns More...
 
int trace
 0=none More...
 
bool debug_print
 enable MDLTL debug_print statements More...
 
bool quiet
 quiet, no output More...
 
int bake
 texture baking resolution, 0 = no baking More...
 
bool all_textures
 bake all textures More...
 
const char * texture_dir
 directory where to store textures More...
 
bool test_module
 Test the new module by compiling it. More...
 
float top_layer_weight
 Weight in specific fresnel layer rules. More...
 
bool layer_normal
 Transfer layer normal maps to global one. More...
 
bool merge_metal_and_base_color
 Merge metal and base color into one. More...
 
bool merge_transmission_and_base_color
 Merge transmission and base color into one. More...
 
bool target_material_model_mode
 Create distilling output material in target material mode mode. More...
 

Detailed Description

Options class to hold all parameters for algorithm and rule customizations.

Constructor & Destructor Documentation

 Distiller_options()

mi::mdl::Distiller_options::Distiller_options ( )
inline

Create options with default settings.

Member Data Documentation

 all_textures

bool mi::mdl::Distiller_options::all_textures

bake all textures

 bake

int mi::mdl::Distiller_options::bake

texture baking resolution, 0 = no baking

 debug_print

bool mi::mdl::Distiller_options::debug_print

enable MDLTL debug_print statements

 layer_normal

bool mi::mdl::Distiller_options::layer_normal

Transfer layer normal maps to global one.

 merge_metal_and_base_color

bool mi::mdl::Distiller_options::merge_metal_and_base_color

Merge metal and base color into one.

 merge_transmission_and_base_color

bool mi::mdl::Distiller_options::merge_transmission_and_base_color

Merge transmission and base color into one.

 quiet

bool mi::mdl::Distiller_options::quiet

quiet, no output

 target_material_model_mode

bool mi::mdl::Distiller_options::target_material_model_mode

Create distilling output material in target material mode mode.

 test_module

bool mi::mdl::Distiller_options::test_module

Test the new module by compiling it.

 texture_dir

const char* mi::mdl::Distiller_options::texture_dir

directory where to store textures

 top_layer_weight

float mi::mdl::Distiller_options::top_layer_weight

Weight in specific fresnel layer rules.

 trace

int mi::mdl::Distiller_options::trace

0=none

 verbosity

int mi::mdl::Distiller_options::verbosity

log level: 0 = off, 3 = show errs and warns