|
Blender
V2.93
|
#include "render/light.h"#include "device/device.h"#include "render/background.h"#include "render/film.h"#include "render/graph.h"#include "render/integrator.h"#include "render/mesh.h"#include "render/nodes.h"#include "render/object.h"#include "render/scene.h"#include "render/shader.h"#include "render/stats.h"#include "util/util_foreach.h"#include "util/util_hash.h"#include "util/util_logging.h"#include "util/util_path.h"#include "util/util_progress.h"#include "util/util_task.h"Go to the source code of this file.
Functions | |
| static CCL_NAMESPACE_BEGIN void | shade_background_pixels (Device *device, DeviceScene *dscene, int width, int height, vector< float3 > &pixels, Progress &progress) |
| NODE_DEFINE (Light) | |
| static void | background_cdf (int start, int end, int res_x, int res_y, const vector< float3 > *pixels, float2 *cond_cdf) |
| NODE_DEFINE | ( | Light | ) |
Definition at line 107 of file light.cpp.
References NodeType::add(), angle(), NodeEnum::insert(), LIGHT_AREA, LIGHT_BACKGROUND, LIGHT_DISTANT, LIGHT_POINT, LIGHT_SPOT, M_PI_4_F, M_PI_F, one_float3(), shader(), size(), SOCKET_BOOLEAN, SOCKET_COLOR, SOCKET_ENUM, SOCKET_FLOAT, SOCKET_INT, SOCKET_NODE, SOCKET_POINT, SOCKET_TRANSFORM, SOCKET_UINT, SOCKET_VECTOR, transform_identity(), type, and zero_float3().
|
static |
Definition at line 39 of file light.cpp.
References __float_as_int(), device_vector< T >::alloc(), Device::const_copy_to(), device_vector< T >::copy_from_device(), device_vector< T >::copy_to_device(), device_vector< T >::data(), DeviceScene::data, device_memory::device_pointer, device_vector< T >::free(), function_bind, DeviceTask::get_cancel, Progress::get_cancel(), height, make_uint4(), MEM_READ_ONLY, MEM_READ_WRITE, DeviceTask::num_samples, DeviceTask::SHADER, SHADER_EVAL_BACKGROUND, DeviceTask::shader_eval_type, DeviceTask::shader_input, DeviceTask::shader_output, DeviceTask::shader_w, DeviceTask::shader_x, DeviceTask::split(), blender::compositor::task, Device::task_add(), Device::task_wait(), v, width, x, y, and device_vector< T >::zero_to_device().
Referenced by LightManager::device_update_background().