|
Blender V4.3
|
#include "bvh/bvh.h"#include "scene/curves.h"#include "scene/hair.h"#include "scene/object.h"#include "scene/scene.h"#include "integrator/shader_eval.h"#include "util/progress.h"#include "util/tbb.h"Go to the source code of this file.
Functions | |
| NODE_DEFINE (Hair) | |
| static int | fill_shader_input (const Hair *hair, const size_t object_index, device_vector< KernelShaderEvalInput > &d_input) |
| static void | read_shader_output (float *shadow_transparency, bool &is_fully_opaque, const device_vector< float > &d_output) |
|
static |
Definition at line 557 of file hair.cpp.
References __int_as_float, device_vector< T >::data(), Hair::Curve::num_segments(), and KernelShaderEvalInput::object.
Referenced by GeometryManager::displace(), and Hair::update_shadow_transparency().
| NODE_DEFINE | ( | Hair | ) |
Definition at line 299 of file hair.cpp.
References NodeType::add(), NodeType::NONE, SOCKET_FLOAT_ARRAY, SOCKET_INT_ARRAY, SOCKET_POINT_ARRAY, and Node::type.
|
static |
Definition at line 583 of file hair.cpp.
References device_vector< T >::data(), and device_vector< T >::size().
Referenced by GeometryManager::displace(), and Hair::update_shadow_transparency().