Bugs

Horizontal FOV Tangent and FOV Stencil should preserve inner stereo overlap

6mo agoPending

If this doesnt format right im done. im just done. idk why i bother.[USE CASE]I use Virtual Desktop for seated PCVR sim racing, mainly iRacing and Assetto Corsa on Quest 3. I use FOV Tangent and FOV Stencil because they are useful for reducing wasted peripheral rendering and shaping the visible image into a more focused cockpit/visor-style view.[ASSETTO CORSA EXAMPLE]In Assetto Corsa, combining an aggressive Vertical FOV Tangent with some Horizontal FOV Tangent and FOV Stencil can create a very usable race-helmet visor type view. It can feel natural for sim racing because the important driving information is still visible, while wasted view at the top, bottom, and far edges is reduced or hidden.[ISSUE 1]Virtual Desktop’s Horizontal FOV Tangent appears to reduce the inner edge of each eye as well as the outer edge. That means the left eye is affected on its inner/right side, and the right eye is affected on its inner/left side.[ISSUE 2]Virtual Desktop’s FOV Stencil also appears to apply to the inner eye edges. This creates the same kind of problem, because the stencil is affecting the stereo overlap area between the two eyes.[WHY THIS FEELS WRONG]In VR, those inner eye edges are important. They are part of the stereo overlap that makes the centre view and depth perception feel correct. When the inner edges are cropped or stenciled, the centre stereo relationship can feel wrong. It can feel slightly cross-eyed, like the depth is off, or like the middle of the stereo image is being disturbed.[GOAL]Please make Horizontal FOV Tangent and FOV Stencil preserve the inner stereo overlap.[DESIRED BEHAVIOR]The left eye should only be reduced or stenciled on the outer-left side. The right eye should only be reduced or stenciled on the outer-right side. The inner/right side of the left eye and inner/left side of the right eye should stay stable.[WHAT I TESTED]I tested this by coding solutions for both issues in my OpenXR API layer tool, XR ViewLab.[HORIZONTAL FOV TANGENT FIX]For Horizontal FOV Tangent, I changed the logic so the inner edge of each eye is preserved and only the outer edge is scaled.Conceptually, the fix is: left eye keeps angleRight stable and scales angleLeft. Right eye keeps angleLeft stable and scales angleRight.In code, the logic is effectively: if viewIndex is left eye, keep desiredRightTan unchanged and scale desiredLeftTan. If viewIndex is right eye, keep desiredLeftTan unchanged and scale desiredRightTan.This avoids creating a growing stereo mismatch in the centre of the image. The reduction happens where it should happen: on the outside edge of each eye.[FOV STENCIL FIX]I also had to solve the same type of issue for FOV Stencil. The useful behavior is not a stencil that affects both sides of both eyes. The useful behavior is an outer-edge-only stencil.Conceptually, the left eye should keep the right/inner stencil area clear and apply stencil only to the left/outer side. The right eye should keep the left/inner stencil area clear and apply stencil only to the right/outer side.That way, the stencil can still hide unwanted peripheral edges without cutting into the stereo overlap.[ISSUE 3]FOV Stencil should also remain usable together with Horizontal FOV Tangent.[WHY COMBINING THEM MATTERS]From testing, FOV Stencil is very useful when combined with both Vertical and Horizontal FOV Tangent. In Assetto Corsa, an aggressive vertical tangent plus a mild horizontal tangent plus stencil can create a clean race-helmet visor style view.If FOV Stencil is disabled or removed when Horizontal FOV Tangent is used, that useful combination is lost. The stencil is not just a replacement for tangent reduction. It can also clean up the final visible shape after tangent reduction.[SUGGESTED IMPLEMENTATION]Please change Horizontal FOV Tangent so it preserves the inner edge of each eye and only reduces the outer edge. Please also make FOV Stencil preserve the inner stereo overlap by applying only to the outer eye edges. Finally, please allow FOV Stencil to be used together with Horizontal FOV Tangent, instead of treating them as mutually exclusive.[WHY THIS MATTERS]Horizontal FOV reduction is most comfortable when it removes peripheral pixels without disturbing the stereo centre. The same applies to FOV Stencil. If either feature affects the inner eye edges, the centre view can feel wrong even if the amount of reduction is small.[SUMMARY]This would make Horizontal FOV Tangent and FOV Stencil much more comfortable and more useful for sim racing and other seated VR games where stable depth perception matters. It would also allow users to combine Vertical FOV Tangent, Horizontal FOV Tangent, and FOV Stencil to create a cleaner cockpit/visor-style view without breaking stereo comfort.

3 comments

  1. Jai Cook6mo ago

    Heres an in-HMD screenshot of my game with my program is applying a Vtanget, Htangent, and solutions to block inner eye cropping, and allow FOV stencil whilst applying a horizontal/vertical tangent. Note how you can see the left side of the image starting to curve, but the right side of the image (this is the left eye captured) continues to the border of the screenshot, the edge of the lense, your inner eye area. Anyway. TLDR it would be nice if VD didnt crop OR FOV stencil inner eye, and let us apply FOV stencil regardless.

    • img/byg3youjnc9qwr6rg2j6ynoh
  2. Jai Cook6mo ago

    Heres an in-HMD screenshot of my game with VD's minimum vertical tangent values, and no FOV stencil availability, and a horizontal tangent, see how the horizontal tangent is starting to affect the right side of the image(this is the left eye being captured). Ideall Left eye right-side would not crop with Htangent. Also note that even with minimum 40% Vtangent, there is still alot of useable vertical periphery.

    • img/q7rbawka5n7a5339fs39p1rq
  3. Jai Cook6mo ago

    TLDR: VD’s Horizontal FOV Tangent and FOV Stencil should not affect the inner side of both eyes, because that is the stereo overlap area and it can make depth feel wrong or slightly cross-eyed. Horizontal FOV should crop only the outside edges, meaning left-eye-left and right-eye-right, and FOV Stencil should do the same. I coded and tested this behavior in XR ViewLab by preserving the inner FOV edge per eye and only scaling/stenciling the outer edge. Also, FOV Stencil should remain usable together with Horizontal FOV Tangent, because tangent reduction saves performance while stencil cleans up the final visible edge, which works especially well for a race-helmet visor style view in Assetto Corsa.