diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/gipfel-core/src/lsq.rs | 2 | ||||
| -rw-r--r-- | crates/gipfel/src/app.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/gipfel-core/src/lsq.rs b/crates/gipfel-core/src/lsq.rs index 078d421..fbce1a5 100644 --- a/crates/gipfel-core/src/lsq.rs +++ b/crates/gipfel-core/src/lsq.rs @@ -469,7 +469,7 @@ pub fn comp_params( let ratio = far.x.abs() / near.x.abs(); if ratio < min_ratio * 0.9 { return bail(format!( - "{} is {:.1} times farther from the image center than {} ({:.0} px vs {:.0} px, both {} of center). A pair {:.1} deg apart in azimuth needs a distance ratio of at least {:.0} in rectilinear mode. This looks like a panorama - switch to cylindrical mode, or place the view center between the peaks.", + "{} is {:.1} times farther from the image center than {} ({:.0} px vs {:.0} px, both {} of center). A pair {:.1} deg apart in azimuth needs a distance ratio of at least {:.0} in rectilinear mode. This looks like a panorama - switch to Panorama (cylindrical) mode, or place the view center between the peaks.", far.name, ratio, near.name, diff --git a/crates/gipfel/src/app.rs b/crates/gipfel/src/app.rs index c2a184d..d6ac231 100644 --- a/crates/gipfel/src/app.rs +++ b/crates/gipfel/src/app.rs @@ -1462,8 +1462,8 @@ pub fn app() -> Html { value={vp.roll} min={-10.0} max={10.0} step={0.01} onchange={on_roll} /> <div class="section">{ "Projection" }</div> <select class="textinput" onchange={on_projection}> - <option value="0" selected={*projection == 0}>{ "Rectilinear projection" }</option> - <option value="1" selected={*projection == 1}>{ "Cylindrical (panoramic)" }</option> + <option value="0" selected={*projection == 0}>{ "Normal (rectilinear)" }</option> + <option value="1" selected={*projection == 1}>{ "Panorama (cylindrical)" }</option> </select> // Distortion only affects the rectilinear // projection: the cylindrical formulas do not |
