Blender
V3.3
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN ccl_device_noinline void | motion_triangle_shader_setup (KernelGlobals kg, ccl_private ShaderData *sd, const float3 P, const float3 D, const float ray_t, const int isect_object, const int isect_prim, bool is_local) |
CCL_NAMESPACE_BEGIN ccl_device_noinline void motion_triangle_shader_setup | ( | KernelGlobals | kg, |
ccl_private ShaderData * | sd, | ||
const float3 | P, | ||
const float3 | D, | ||
const float | ray_t, | ||
const int | isect_object, | ||
const int | isect_prim, | ||
bool | is_local | ||
) |
Definition at line 24 of file motion_triangle_shader.h.
References ATTR_STD_MOTION_VERTEX_NORMAL, ATTR_STD_MOTION_VERTEX_POSITION, ATTR_STD_NOT_FOUND, blender::math::cross(), intersection_find_attribute(), kernel_assert, kernel_data_fetch, min, motion_triangle_normals_for_step(), motion_triangle_point_from_uv(), motion_triangle_verts_for_step(), blender::math::normalize(), normals, NULL, object_motion_info(), offset, safe_normalize(), SD_OBJECT_NEGATIVE_SCALE_APPLIED, SHADER_SMOOTH_NORMAL, t, v, verts, and w().
Referenced by shader_setup_from_ray().