The PbrLutManager class This class will handle the registration of the LUTs for the multiple scattering.
More...
|
static void | init (OfApp &app) |
| init Compute the filepath where the LUTs are stored on the disk. By default it will be in the folder pbr_lut where the application is. You can change this folder by using environment variable CLARISSE_PBR_LUT_PATH.
|
|
static PbrBxdfLut * | get_lut (const CoreString &filename) |
| load_lut will load and return a PbrBxdfLut using the filename. To load the Lut it will concatenate the filename to the filepath automatically. If the lut already exist it will just return the LUTs.
|
|
The PbrLutManager class This class will handle the registration of the LUTs for the multiple scattering.
load_lut will load and return a PbrBxdfLut using the filename. To load the Lut it will concatenate the filename to the filepath automatically. If the lut already exist it will just return the LUTs.
- Parameters
-
filename | Name of the lut |
app | |
- Returns
- the PbrBxdfLut corresponding to the filename
void PbrLutManager::init |
( |
OfApp & |
app | ) |
|
|
static |
init Compute the filepath where the LUTs are stored on the disk. By default it will be in the folder pbr_lut where the application is. You can change this folder by using environment variable CLARISSE_PBR_LUT_PATH.
- Parameters
-