MDL SDK API nvidia_logo_transpbg.gif Up
mdl_distiller_options.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
4
7
8#ifndef MDL_DISTILLER_OPTIONS_H
9#define MDL_DISTILLER_OPTIONS_H
10
11namespace mi {
12namespace mdl {
13
16public:
18 int trace;
20 bool quiet;
21 int bake;
23 const char* texture_dir;
25 //
34
37 : verbosity(3),
38 trace(0),
39 debug_print(false),
40 quiet(false),
41 bake(0),
42 all_textures(false),
43 texture_dir("."),
44 test_module(true),
45 top_layer_weight(0.04f),
46 layer_normal(true),
50 {}
51};
52
53} // namespace mdl
54} // namespace mi
55
56#endif // MDL_DISTILLER_OPTIONS_H
Options class to hold all parameters for algorithm and rule customizations.
Definition: mdl_distiller_options.h:15
int trace
0=none
Definition: mdl_distiller_options.h:18
int bake
texture baking resolution, 0 = no baking
Definition: mdl_distiller_options.h:21
float top_layer_weight
Weight in specific fresnel layer rules.
Definition: mdl_distiller_options.h:26
const char * texture_dir
directory where to store textures
Definition: mdl_distiller_options.h:23
Distiller_options()
Create options with default settings.
Definition: mdl_distiller_options.h:36
bool quiet
quiet, no output
Definition: mdl_distiller_options.h:20
bool target_material_model_mode
Create distilling output material in target material mode mode.
Definition: mdl_distiller_options.h:32
bool debug_print
enable MDLTL debug_print statements
Definition: mdl_distiller_options.h:19
bool layer_normal
Transfer layer normal maps to global one.
Definition: mdl_distiller_options.h:27
bool merge_metal_and_base_color
Merge metal and base color into one.
Definition: mdl_distiller_options.h:28
bool all_textures
bake all textures
Definition: mdl_distiller_options.h:22
bool merge_transmission_and_base_color
Merge transmission and base color into one.
Definition: mdl_distiller_options.h:30
int verbosity
log level: 0 = off, 3 = show errs and warns
Definition: mdl_distiller_options.h:17
bool test_module
Test the new module by compiling it.
Definition: mdl_distiller_options.h:24
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: example_derivatives.dox:5