Blender V4.3
cycles_precompute.cpp File Reference
#include "util/math.h"
#include "util/string.h"
#include "util/system.h"
#include "util/array.h"
#include "util/hash.h"
#include "util/task.h"
#include "kernel/device/cpu/compat.h"
#include "kernel/device/cpu/globals.h"
#include "kernel/sample/lcg.h"
#include "kernel/sample/mapping.h"
#include "kernel/util/color.h"
#include "kernel/closure/bsdf_microfacet.h"
#include <iostream>

Go to the source code of this file.

Classes

struct  PrecomputeTerm
 

Functions

static CCL_NAMESPACE_BEGIN float precompute_ggx_E (float rough, float mu, float3 rand)
 
static float precompute_ggx_glass_E (float rough, float mu, float eta, float3 rand)
 
static float precompute_ggx_gen_schlick_s (float rough, float mu, float eta, float exponent, float3 rand)
 
float ior_parametrization (float z)
 
static bool cycles_precompute (std::string name)
 
CCL_NAMESPACE_END int main (int argc, const char **argv)
 

Function Documentation

◆ cycles_precompute()

◆ ior_parametrization()

float ior_parametrization ( float z)
inline

Definition at line 133 of file cycles_precompute.cpp.

References ior_from_F0(), sqr(), and z().

Referenced by cycles_precompute().

◆ main()

CCL_NAMESPACE_END int main ( int argc,
const char ** argv )

Definition at line 268 of file cycles_precompute.cpp.

◆ precompute_ggx_E()

◆ precompute_ggx_gen_schlick_s()

◆ precompute_ggx_glass_E()