Add GUI elements for defish and scale in perspective tool. Doesn't work very good yet.

This commit is contained in:
Alexander Brock
2023-02-11 20:31:08 +01:00
parent 9de5cb9915
commit fb90908cbd
11 changed files with 84 additions and 13 deletions

View File

@@ -960,6 +960,7 @@ struct PerspectiveParams {
* be interpreted with {@link #DEFAULT_CAMERA_CROP_FACTOR}.
*/
double camera_crop_factor;
bool camera_defish;
/**
* Negative and zero values indicate an unspecified focal length and should
* be interpreted with {@link #DEFAULT_CAMERA_FOCAL_LENGTH}.
@@ -972,6 +973,7 @@ struct PerspectiveParams {
double camera_yaw;
double projection_pitch;
double projection_rotate;
double camera_scale;
double projection_shift_horiz;
double projection_shift_vert;
double projection_yaw;