-
I studied computer science at Heidelberg University. Now I'm working on camera calibration for RabbitAI GmbH.
- Joined on
2024-06-17
Block a user
Alexander Brock
pushed to test-panorama-roundtrip at Alexander-Brock/blender
2024-07-01 22:49:56 +02:00
118c929037
Fix order of includes
Add round-trip tests for *_to_direction functions and fix some of them
Build error on Darwin:
source/kernel/camera/projection.h:66:25: error: no matching function for call to 'safe_normalize'^[[0m
const float2 uv = r * safe_normalize(make_float2(dir.y,…
Add round-trip tests for *_to_direction functions and fix some of them
I don't see results of the build bot, does it work?
Alexander Brock
pushed to test-panorama-roundtrip at Alexander-Brock/blender
2024-07-01 15:17:33 +02:00
c1f674d439
Remove special handling of FisheyeEquisolid
80a140f457
Increase error threshold so the tests pass on Windows
Alexander Brock
pushed to test-panorama-roundtrip at Alexander-Brock/blender
2024-07-01 14:11:20 +02:00
a2a3853a22
Make equirectangular_to_direction easier to read
Alexander Brock
pushed to test-panorama-roundtrip at Alexander-Brock/blender
2024-07-01 00:04:38 +02:00
95bab73288
Simplify equiangular_cubemap_face_to_direction
Add round-trip tests for *_to_direction functions and fix some of them
Third possibility: Add a function len(float, float)
to math_float2.h:
ccl_device_inline float len(const float x, const float y)
{
return sqrtf(sqr(x) + sqr(y));
}
Which…
Add round-trip tests for *_to_direction functions and fix some of them
Alternative idea: len(make_float2(dir.y, dir.z))
Add round-trip tests for *_to_direction functions and fix some of them
Alexander Brock
pushed to test-panorama-roundtrip at Alexander-Brock/blender
2024-06-29 00:58:26 +02:00
2061cd7f17
Replace usage of safe_normalize by normalize because it's guaranteed to be safe
Alexander Brock
pushed to test-panorama-roundtrip at Alexander-Brock/blender
2024-06-29 00:46:23 +02:00
894bf1feba
Simplify direction_to_equiangular_cubemap_face
1fa3309606
Fix normalization error in equiangular_cubemap_face_to_direction
c5a6c7b549
Fix mirror bug in direction_to_fisheye_equisolid
309392de0d
Fix mirror bug in direction_to_fisheye
75095551b6
Fix bug in spherical_to_direction
Alexander Brock
created branch test-panorama-roundtrip in Alexander-Brock/blender
2024-06-29 00:46:23 +02:00
Fix and test direction_to_fisheye_lens_polynomial
The round-trip error on Windows for the x-coordinate went down from 1.5e-4 to below 1e-6, I suspect because of the removal of the trigonometry. I increased the threshold for the y-coordinate to…
bc91c4d927
Increase error threshold because of Windows somehow handling floats differently
2a0e43ed32
Add f suffix to all float constants