Searched refs:num_motion_steps (Results 1 – 5 of 5) sorted by relevance
618 size_t num_motion_steps = 1; in set_tri_vertex_buffer() local623 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() local675 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 …]
1097 uint16_t num_motion_steps, in build_optix_bvh() argument1117 options.motionOptions.numKeys = num_motion_steps; in build_optix_bvh()1230 size_t num_motion_steps = 1; in build_optix_bvh() local1233 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() local1404 num_motion_steps = mesh->motion_steps; in build_optix_bvh()1411 vertex_data.alloc(num_verts * num_motion_steps); in build_optix_bvh()[all …]
97 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()
1150 int num_motion_steps, have_perspective_motion; member
339 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() local502 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()