forked from blender/blender
Alexander Brock
1b09654530
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
integrator_adaptive_sampling_test.cpp | ||
integrator_render_scheduler_test.cpp | ||
integrator_tile_test.cpp | ||
kernel_camera_projection_test.cpp | ||
render_graph_finalize_test.cpp | ||
util_aligned_malloc_test.cpp | ||
util_float8_avx2_test.cpp | ||
util_float8_avx_test.cpp | ||
util_float8_sse2_test.cpp | ||
util_float8_test.h | ||
util_ies_test.cpp | ||
util_math_test.cpp | ||
util_md5_test.cpp | ||
util_path_test.cpp | ||
util_string_test.cpp | ||
util_task_test.cpp | ||
util_time_test.cpp | ||
util_transform_test.cpp |