Home
last modified time | relevance | path

Searched refs:num_motion_steps (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/blender/blender-2.91.0/intern/cycles/bvh/
H A Dbvh_embree.cpp618 size_t num_motion_steps = 1; in set_tri_vertex_buffer() local
623 num_motion_steps = mesh->motion_steps; in set_tri_vertex_buffer()
624 t_mid = (num_motion_steps - 1) / 2; in set_tri_vertex_buffer()
625 if (num_motion_steps > RTC_MAX_TIME_STEP_COUNT) { in set_tri_vertex_buffer()
627 num_motion_steps = RTC_MAX_TIME_STEP_COUNT; in set_tri_vertex_buffer()
633 for (int t = 0; t < num_motion_steps; ++t) { in set_tri_vertex_buffer()
671 size_t num_motion_steps = 1; in set_curve_vertex_buffer() local
675 num_motion_steps = hair->motion_steps; in set_curve_vertex_buffer()
691 const int t_mid = (num_motion_steps - 1) / 2; in set_curve_vertex_buffer()
693 for (int t = 0; t < num_motion_steps; ++t) { in set_curve_vertex_buffer()
[all …]
/dports/graphics/blender/blender-2.91.0/intern/cycles/device/
H A Ddevice_optix.cpp1097 uint16_t num_motion_steps, in build_optix_bvh() argument
1117 options.motionOptions.numKeys = num_motion_steps; in build_optix_bvh()
1230 size_t num_motion_steps = 1; in build_optix_bvh() local
1233 num_motion_steps = hair->motion_steps; in build_optix_bvh()
1323 aabb_ptrs.reserve(num_motion_steps); in build_optix_bvh()
1327 width_ptrs.reserve(num_motion_steps); in build_optix_bvh()
1328 vertex_ptrs.reserve(num_motion_steps); in build_optix_bvh()
1401 size_t num_motion_steps = 1; in build_optix_bvh() local
1404 num_motion_steps = mesh->motion_steps; in build_optix_bvh()
1411 vertex_data.alloc(num_verts * num_motion_steps); in build_optix_bvh()
[all …]
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/
H A Dkernel_camera.h97 if (kernel_data.cam.num_motion_steps) { in camera_sample_perspective()
100 kernel_data.cam.num_motion_steps, in camera_sample_perspective()
210 if (kernel_data.cam.num_motion_steps) { in camera_sample_orthographic()
213 kernel_data.cam.num_motion_steps, in camera_sample_orthographic()
287 if (cam->num_motion_steps) { in camera_sample_panorama()
289 &cameratoworld, cam_motion, cam->num_motion_steps, ray->time); in camera_sample_panorama()
H A Dkernel_types.h1150 int num_motion_steps, have_perspective_motion; member
/dports/graphics/blender/blender-2.91.0/intern/cycles/render/
H A Dcamera.cpp339 kcam->num_motion_steps = 0; in update()
376 kcam->num_motion_steps = motion.size(); in update()
501 size_t num_motion_steps = kernel_camera_motion.size(); in device_update() local
502 if (num_motion_steps) { in device_update()
503 DecomposedTransform *camera_motion = dscene->camera_motion.alloc(num_motion_steps); in device_update()
504 memcpy(camera_motion, kernel_camera_motion.data(), sizeof(*camera_motion) * num_motion_steps); in device_update()