0
0
forked from blender/blender
blender/intern/cycles/test
Alexander Brock 1b09654530 Fix and test direction_to_fisheye_lens_polynomial
The function direction_to_fisheye_lens_polynomial computes the inverse of
fisheye_lens_polynomial_to_direction.

Previously the function worked almost correctly if all parameters except k_0
and k_1 were zero (in that case it was correct except for flipping the x-axis).

I replaced the fixed-point iteration (?) by Newton's method and implemented a
test to make sure it works correctly with a wider range of parameter sets.

Pull Request: blender/blender#123737
2024-07-01 13:56:35 +02:00
..
CMakeLists.txt Fix and test direction_to_fisheye_lens_polynomial 2024-07-01 13:56:35 +02:00
integrator_adaptive_sampling_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
integrator_render_scheduler_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
integrator_tile_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
kernel_camera_projection_test.cpp Fix and test direction_to_fisheye_lens_polynomial 2024-07-01 13:56:35 +02:00
render_graph_finalize_test.cpp Fix: Command line Cycles render crash on multi-CUDA device 2024-06-07 17:53:44 +02:00
util_aligned_malloc_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_float8_avx2_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_float8_avx_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_float8_sse2_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_float8_test.h Cycles: Increase minimum target on x86 to SSE4.2 2024-02-26 14:49:19 +01:00
util_ies_test.cpp Fix heap buffer overflow in Cycles IES parser 2024-01-03 18:00:41 +01:00
util_math_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_md5_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_path_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_string_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_task_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_time_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_transform_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00