|
Blender V4.3
|
#include "kernel/bvh/util.h"Go to the source code of this file.
| ccl_device_inline void motion_triangle_compute_info | ( | KernelGlobals | kg, |
| int | object, | ||
| float | time, | ||
| int | prim, | ||
| ccl_private uint3 * | tri_vindex, | ||
| ccl_private int * | numsteps, | ||
| ccl_private int * | step, | ||
| ccl_private float * | t ) |
Definition at line 80 of file motion_triangle.h.
References kernel_data_fetch, and min.
Referenced by motion_triangle_shader_setup(), motion_triangle_smooth_normal(), motion_triangle_vertices(), and motion_triangle_vertices_and_normals().
| ccl_device_inline void motion_triangle_normals | ( | KernelGlobals | kg, |
| int | object, | ||
| uint3 | tri_vindex, | ||
| int | numsteps, | ||
| int | numverts, | ||
| int | step, | ||
| float | t, | ||
| float3 | normals[3] ) |
Definition at line 137 of file motion_triangle.h.
References ATTR_STD_MOTION_VERTEX_NORMAL, ATTR_STD_NOT_FOUND, intersection_find_attribute(), kernel_assert, motion_triangle_normals_for_step(), and normalize().
Referenced by motion_triangle_smooth_normal(), and motion_triangle_vertices_and_normals().
| ccl_device_inline void motion_triangle_normals_for_step | ( | KernelGlobals | kg, |
| uint3 | tri_vindex, | ||
| int | offset, | ||
| int | numverts, | ||
| int | numsteps, | ||
| int | step, | ||
| float3 | normals[3] ) |
Definition at line 52 of file motion_triangle.h.
References kernel_data_fetch, uint3::x, uint3::y, and uint3::z.
Referenced by motion_triangle_normals().
| ccl_device_inline float3 motion_triangle_smooth_normal | ( | KernelGlobals | kg, |
| float3 | Ng, | ||
| int | object, | ||
| int | prim, | ||
| float | u, | ||
| float | v, | ||
| float | time ) |
Definition at line 196 of file motion_triangle.h.
References motion_triangle_compute_info(), motion_triangle_smooth_normal(), and v.
| ccl_device_inline float3 motion_triangle_smooth_normal | ( | KernelGlobals | kg, |
| float3 | Ng, | ||
| int | object, | ||
| uint3 | tri_vindex, | ||
| int | numsteps, | ||
| int | step, | ||
| float | t, | ||
| float | u, | ||
| float | v ) |
Definition at line 175 of file motion_triangle.h.
References is_zero(), kernel_data_fetch, motion_triangle_normals(), N, safe_normalize(), v, and w().
Referenced by motion_triangle_shader_setup(), and motion_triangle_smooth_normal().
| ccl_device_inline void motion_triangle_vertices | ( | KernelGlobals | kg, |
| int | object, | ||
| int | prim, | ||
| float | time, | ||
| float3 | verts[3] ) |
Definition at line 125 of file motion_triangle.h.
References kernel_data_fetch, motion_triangle_compute_info(), motion_triangle_vertices(), and verts.
| ccl_device_inline void motion_triangle_vertices | ( | KernelGlobals | kg, |
| int | object, | ||
| uint3 | tri_vindex, | ||
| int | numsteps, | ||
| int | numverts, | ||
| int | step, | ||
| float | t, | ||
| float3 | verts[3] ) |
Definition at line 101 of file motion_triangle.h.
References ATTR_STD_MOTION_VERTEX_POSITION, ATTR_STD_NOT_FOUND, intersection_find_attribute(), kernel_assert, motion_triangle_verts_for_step(), and verts.
Referenced by OSLRenderServices::get_object_standard_attribute(), integrate_surface_ray_offset(), motion_triangle_intersect(), motion_triangle_shader_setup(), motion_triangle_vertices(), motion_triangle_vertices_and_normals(), triangle_world_space_vertices(), and wireframe().
| ccl_device_inline void motion_triangle_vertices_and_normals | ( | KernelGlobals | kg, |
| int | object, | ||
| int | prim, | ||
| float | time, | ||
| float3 | verts[3], | ||
| float3 | normals[3] ) |
Definition at line 162 of file motion_triangle.h.
References kernel_data_fetch, motion_triangle_compute_info(), motion_triangle_normals(), motion_triangle_vertices(), and verts.
Referenced by shadow_ray_smooth_surface_offset().
| CCL_NAMESPACE_BEGIN ccl_device_inline void motion_triangle_verts_for_step | ( | KernelGlobals | kg, |
| uint3 | tri_vindex, | ||
| int | offset, | ||
| int | numverts, | ||
| int | numsteps, | ||
| int | step, | ||
| float3 | verts[3] ) |
Definition at line 24 of file motion_triangle.h.
References kernel_data_fetch, verts, uint3::x, uint3::y, and uint3::z.
Referenced by motion_triangle_vertices().