Blender
V3.3
|
#include "device/device.h"
#include "scene/background.h"
#include "scene/camera.h"
#include "scene/colorspace.h"
#include "scene/integrator.h"
#include "scene/light.h"
#include "scene/mesh.h"
#include "scene/object.h"
#include "scene/osl.h"
#include "scene/procedural.h"
#include "scene/scene.h"
#include "scene/shader.h"
#include "scene/shader_graph.h"
#include "scene/shader_nodes.h"
#include "scene/svm.h"
#include "scene/tables.h"
#include "util/foreach.h"
#include "util/murmurhash.h"
#include "util/task.h"
#include "util/transform.h"
Go to the source code of this file.
Macros | |
#define | MSVC_VOLATILE |
Functions | |
static float | beckmann_table_P22 (const float slope_x, const float slope_y) |
static float | beckmann_table_slope_max () |
static void | beckmann_table_rows (float *table, int row_from, int row_to) |
static void | beckmann_table_build (vector< float > &table) |
NODE_DEFINE (Shader) | |
#define MSVC_VOLATILE |
Definition at line 58 of file scene/shader.cpp.
Definition at line 131 of file scene/shader.cpp.
References beckmann_table_rows(), BECKMANN_TABLE_SIZE, function_bind, blender::compositor::pool, TaskPool::push(), and TaskPool::wait_work().
Referenced by ShaderManager::device_update_common().
Definition at line 41 of file scene/shader.cpp.
References expf.
Referenced by beckmann_table_rows().
Definition at line 66 of file scene/shader.cpp.
References beckmann_table_P22(), BECKMANN_TABLE_SIZE, beckmann_table_slope_max(), double(), float(), fmaxf, interp(), MSVC_VOLATILE, safe_sqrtf(), and U.
Referenced by beckmann_table_build().
|
static |
Definition at line 47 of file scene/shader.cpp.
Referenced by beckmann_table_rows().
NODE_DEFINE | ( | Shader | ) |
Definition at line 146 of file scene/shader.cpp.
References NodeType::add(), blender::bke::idprop::create(), DISPLACE_BOTH, DISPLACE_BUMP, DISPLACE_TRUE, NodeEnum::insert(), SOCKET_BOOLEAN, SOCKET_ENUM, SOCKET_FLOAT, SOCKET_INT, type, VOLUME_INTERPOLATION_CUBIC, VOLUME_INTERPOLATION_LINEAR, VOLUME_SAMPLING_DISTANCE, VOLUME_SAMPLING_EQUIANGULAR, and VOLUME_SAMPLING_MULTIPLE_IMPORTANCE.