Commit: 6b61f70d4e77c5133007742b36809c1fa5e5d5f6
Parent: e9232305c13fb325b0adec3e2f31216dbc2c9b7c
Author: Randy Palamar
Date: Wed, 21 Aug 2024 15:06:41 -0600
uforces: fix y-offset in starting distance
Why this gave somewhat reasonable data before is a little strange
but it is probably because that data had pretty good SNR.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shaders/uforces.glsl b/shaders/uforces.glsl
@@ -85,7 +85,7 @@ void main()
/* NOTE: for I-Q data phase correction */
float iq_time_scale = radians(360) * center_frequency;
- vec2 starting_dist = vec2(image_point.x - xdc_min_xy.x, image_point.z - xdc_min_xy.y);
+ vec2 starting_dist = vec2(image_point.x - xdc_min_xy.x, image_point.z);
float dx = xdc_size.x / float(dec_data_dim.y);
float dzsign = sign(image_point.z - focal_depth);