|
Blender V5.3
|
#include <algorithm>#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 | |
| static void | hair_step_buffers (const Attribute *attr_P, const Attribute *attr_R, const size_t step, const packed_float3 *&P, const float *&R) |
| 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 461 of file hair.cpp.
References __int_as_float, device_vector< T >::data(), fill_shader_input(), Hair::get_curve(), in, Hair::num_curves(), Hair::Curve::num_segments(), and Geometry::prim_offset.
Referenced by Hair::update_shadow_transparency().
|
static |
Definition at line 123 of file hair.cpp.
References Attribute::data_at_time_step(), hair_step_buffers(), Attribute::num_motion_steps(), P, R, and step.
Referenced by Hair::Curve::cardinal_keys_for_step(), hair_step_buffers(), and Hair::Curve::keys_for_step().
| NODE_DEFINE | ( | Hair | ) |
Definition at line 222 of file hair.cpp.
References NodeType::add(), NODE_DEFINE, NodeType::NONE, SOCKET_INT_ARRAY, and Node::type.
|
static |
Definition at line 487 of file hair.cpp.
References device_vector< T >::data(), read_shader_output(), and device_vector< T >::size().
Referenced by Hair::update_shadow_transparency().