From 6340f2def1b41a8c36d20dc549e3a726a6ba33be Mon Sep 17 00:00:00 2001 From: Scott Shambaugh <14363975+scottshambaugh@users.noreply.github.com> Date: Thu, 18 Jan 2024 09:38:05 -0700 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7b2c9da..c389914 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,9 @@ axstereo.wiggle('sun_wiggle.gif') # saves to file ## Advanced Usage +### Parallel vs Cross-Eyed Viewing +By default, the stereograms are set up for the "parallel" or "divergent" viewing method as described above. For "cross-eyed" viewing, initialize with a negative `ipd` parameter. An ipd (Inter-Pupilary Distance) of 65 millimeters is the default, so call `AxesStereo2D(ipd=-65)` for the default cross-eyed viewing. + ### Working With Plots The figure and subplot axes can be accessed with the following: ```python @@ -178,10 +181,7 @@ These are not [*auto*stereograms](https://en.wikipedia.org/wiki/Autostereogram),

-### Parallel vs Cross-Eyed Viewing -By default, the stereograms are set up for the "parallel" or "divergent" viewing method as described above. For "cross-eyed" viewing, initialize with a negative `ipd` parameter. An ipd (Inter-Pupilary Distance) of 65 millimeters is the default, so call `AxesStereo2D(ipd=-65)` for the default cross-eyed viewing. - -### Derivation of Geometry +## Derivation of Geometry Two eyes with separation `IPD` are looking at a point a distance `z` offset from a focal plane at distance `d`, resulting in view angle `θ`. If this point were projected back to the focal plane, it would be offset by `δ` from where it visually appears on that plane. This offset `δ` is used to displace each point in the stereogram for each eye based on its `z` value to achieve the stereoscopic effect. The `eye_balance` parameter allocates the total relative displacement of `2δ` between the two eyes. ```