Categories
Articles

Stereo 3D from an Xbox Series X|S with alternate-frame sequencing

Microsoft Flight Simulator on Xbox Series X|S has no VR mode and no stereo output. The console draws one picture per frame, sends it over HDMI, and that is the end of it. Yet a cockpit is exactly the place where depth matters most: the glareshield, the yoke and the overhead panel sit within arm’s reach, and a flat picture loses all of it.

This article describes how to get real stereo 3D out of an unmodified console and into a Meta Quest headset. The trick is old – alternate-frame sequencing, the same idea behind shutter glasses – but it has to work through a chain where nothing is synchronised and nothing is lossless.

Disclaimer. This article is not an advertisement. It is an attempt to share findings we consider valuable with the flight simulation community, the simulator’s developers and the console maker. Any person or company interested in experimenting with this topic may request a copy of the DynamicPOV add-on, to have it available in their Xbox library, by sending their Xbox gamertag in a private message or by email to msfs@touching.cloud.

What you need to try it

    • A Meta Quest headset with the Dynamic POV app from SideQuest (free). 3D is part of the app’s VR MODE, which reads the capture card directly.


    • An Xbox Series X or Series S running Microsoft Flight Simulator 2024.


    • A USB 3 HDMI capture card with a MacroSilicon MS2130 chip, plugged into the Quest’s USB-C port, with the Xbox’s HDMI output going into it. The card has to deliver uncompressed 1080p at 60 frames per second. Cheap USB 2 cards with the MS2109 chip are not suitable: at 1080p they send most frames empty on a busy picture, which leaves nothing to tell the eyes apart. Other, more expensive capture cards may give a higher rendering resolution at the same 60 frames per second.


    • The DynamicPOV add-on for the simulator (payware). It is the part that moves the cockpit camera between the eyes on every frame, so without it the console only ever renders one eye.

In the app, choose 6DOF HDMI mode, set up the DynamicPOV add-on so head tracking works correctly, then enable the 3D NATIVE feature and raise the 3D depth slider. 3D works in the cockpit view; exterior views stay flat.

The idea in one paragraph

The simulator renders the left eye on one frame and the right eye on the next, by moving its own cockpit camera a few centimetres sideways each frame. The console’s HDMI output goes into a USB capture card plugged into the Quest. The headset decodes each captured frame, works out which eye it belongs to, and shows it to that eye only. Each eye therefore sees a picture from its own position, and the brain fuses them into depth.

Alternate-frame sequencing: rendered, captured and sorted frames

The whole chain looks like this:

The chain from the headset to the Xbox and back

    1. The headset tracks the head and sends the pose, plus the chosen eye separation, to the add-on running inside the simulator.


    1. The add-on sets the cockpit camera once per simulator frame, alternating between the left and the right eye.


    1. The console outputs every rendered frame over HDMI.


    1. The capture card on the Quest turns HDMI into a USB video stream.


    1. The Quest app decodes each frame, sorts it into an eye, undoes the eye tag (more on that below) and draws each eye’s picture on a virtual screen in front of the viewer.

Nothing in that list touches the console’s firmware or the game’s renderer. Everything on the console side goes through the simulator’s ordinary camera API.

Part one: rendering two eyes on the console

One eye per frame

An add-on in the simulator gets to set the camera once per rendered frame, and a camera written twice between two rendered frames only shows the last write. So the eye rate is fixed by the frame rate: one eye per frame, never faster. A game running at 30 frames per second gives each eye 15.

Where each eye goes

The simplest version of “move the camera sideways” is wrong. If the head is tilted, real eyes are tilted with it, so the offset has to follow the camera’s own right-hand direction, not the aircraft’s. The add-on takes the final pitch, bank and heading of the camera, builds the camera’s right vector from them, and places each eye half the eye separation along it, one to each side.

Eye placement along the camera's right direction

Two details are easy to get wrong:

    • Axis direction. Check which way the simulator’s sideways axis points before trusting it. Getting the sign wrong swaps the eyes, which the brain reads as inside-out depth.


    • Writing every frame. Head-tracking code often skips the camera write when nothing has moved. With 3D on, the camera must move every frame even with a still head, and once more when 3D stops so the camera lands back in the middle.

3D only makes sense in the cockpit. The parallax a few centimetres gives you is meaningless at the distance of a chase camera.

Tagging each eye

This is the central problem. The headset has to know which eye each frame is, and the order of frames cannot be trusted. The HDMI output repeats frames whenever the game is slower than the output rate, the capture card drops some, the decoder drops some more, and none of it follows a fixed pattern. Counting frames would drift out of phase within seconds.

So each frame has to carry its own label. Pixel watermarks are not an option: the picture is scaled, chroma subsampled and often compressed on the way, and anything small enough to be invisible would not survive.

The label that does survive is geometry. Each eye’s camera is given a small opposite roll about its line of sight: the left eye is rolled 0.75 degrees one way, the right eye 0.75 degrees the other. That gives a 1.5 degree difference between consecutive frames, large enough to measure reliably, and it costs nothing on the console side because roll is already part of the camera call. On the headset, each eye’s picture is turned back by its tag before it is shown, with a 2.3 percent zoom so the turned corners never show. The headset sends the tag size to the add-on, so both ends always agree on it.

The roll tag and how the headset turns it back

Part two: sorting frames on the headset

Two readings per frame

Every decoded frame is compared with the previous one on a few 64 by 64 pixel tiles of a downscaled copy, using 2D phase correlation. Two readings come out of that, and both jump back and forth with the eyes:

    • Roll: the difference between the vertical shifts of a tile on the left of the picture and one on the right. A pure rotation moves one side up and the other down. This is the tag, read back.


    • Slide: how far the bottom tile moves sideways. In a cockpit view the bottom of the picture is the instrument panel, the nearest object, so it shows the largest parallax between the eyes. It slides one way when the left eye comes in and the other way when the right eye does.

Roll and slide readings from three tiles

Of the two, the slide is the one to trust first. Its sign is pure physics: going into the left eye, near objects can only move one way. The roll can be bent by the cockpit itself – the near panel slides a long way sideways between the eyes, and slanted edges such as an arched glareshield read as a little vertical movement too, by up to the size of the tag. The roll is therefore the second opinion.

Both readings also change with the head itself. Turning slides the picture, and turning while looking down rolls it. So no single frame is judged alone. Each new frame re-fits the last eight: for every one of their 256 possible left/right labellings, a smooth head motion plus a constant gap between the eyes is fitted by least squares, per reading. The labelling that fits best names the newest frame’s eye. Because the gap is fitted rather than assumed, small systematic errors become part of the gap instead of errors in the labels.

Fitting a smooth head motion plus an eye gap to the last eight frames

The fit also knows that the eyes strictly alternate. A frame labelled with the same eye as the one before it has to pay a cost, unless the wait since the last frame was long enough that a frame could really have been lost in between. Judging that wait needs care: when the game runs slower than the output, the output repeats frames at regular intervals, and a repeat must not be taken for a lost frame. Learning the capture period and the game’s average frame time from the recent waits solves it.

All of this runs in about 2 to 3 milliseconds per frame on a Quest 2 at 720p.

The renderer

Each eye has its own swapchain. A frame sorted to the left eye replaces the left eye’s picture and the right eye keeps its last one, after the tag is turned back. The virtual screen is also shifted by half the viewer’s own eye separation in each eye, so the screen itself sits at a sensible distance while the cockpit inside it carries the simulator’s depth.

Part three: problems to expect

Menus

A menu is drawn on top of the camera’s picture, so it is pinned to the screen. Neither the tag nor the parallax moves it. Over a tile, a menu matches itself at zero shift, and phase correlation reports that instead of the picture moving behind it.

The answer is to watch the whole picture coarsely, in 16 by 9 cells. A cell with detail that stays still frame after frame is pinned. A tile under pinned cells, or one that matches at zero shift while everything else moves (see-through panels leave no still cells), is treated as covered and its reading is ignored. Spare tiles elsewhere in the picture take over.

When a menu holds most of the picture, there is no 3D left to read. Both eyes are then shown the same eye’s frames, not turned back, because a menu’s own tag would otherwise be undone in opposite directions in each eye and its text would double. If that lasts half a second, the headset tells the add-on to stop alternating and the picture becomes plain 2D.

One trap follows from this. A single camera shows no tag and no parallax, so a perfectly still head looks exactly like a menu. 2D therefore only ends when the picture moves with nothing pinned in it. In practice 3D comes back as soon as you look around after closing a menu.

Fallbacks from 3D to one eye and plain 2D

Tearing

Alternate-frame stereo needs whole frames. If the output is not synchronised, it scans out the top of one rendered frame and the rest of the next, and in 3D that means one captured picture holds both eyes, split at a line that moves.

A torn frame can be detected: a band of rows the full width of the picture is exactly unchanged from the previous capture, while rows beside it moved. A menu is still too, but it stays in place. A tear’s band moves from frame to frame. When several torn frames show up within a second or two, the headset switches to 2D for a while and shows a banner asking for VSync.

A torn capture holding both eyes

A console normally presents whole frames, so on Xbox this is a safeguard. The same chain also works with a PC as the source, and there VSync has to reach the HDMI output and frame generation has to be off, since it invents frames between the two eyes.

Half the frame rate per eye

Alternating eyes halves each eye’s frame rate, and that is visible as judder on any head turn. The headset fills the gap with in-between frames, computed separately for each eye from that eye’s last two pictures. The GPU estimates optical flow over a small pyramid (40 by 22, 80 by 45 and 320 by 180), seeded by a global motion estimate and smoothed with median and joint bilateral filters, then builds a midpoint frame.

Optical-flow in-between frames for each eye

What makes the in-betweens look clean:

    • A fine enough flow. At 80 by 45, one flow cell covers 24 pixels of a 1080p picture and smears across the cockpit’s edges, leaving a blurry shade beside vertical objects. The 320 by 180 level fixes most of it.


    • Picking the best vector at edges. Where a near object meets far scenery, a cell’s flow is wrong for half its pixels. Trying the cell’s own vector, its neighbours’ and the global one, and keeping whichever matches best, removes most of the ghosting.


    • A global estimate that prefers no motion. A global shift that is slightly wrong moves the whole in-between frame aside. Keeping zero shift unless another shift fits clearly better keeps still pictures still.


    • A fixed midpoint. Placing the in-between by the real arrival times brings their jitter back as judder.

Sharpness

Every picture is rotated back by its tag and slightly zoomed, and every in-between is resampled again. Bilinear sampling softens the image each time. Catmull-Rom sampling (built from nine bilinear taps) keeps edges and cockpit text noticeably crisper at little cost.

Latency and the following screen

The head moves the simulator’s camera, and the picture of that movement arrives back in the headset some time later – typically 200 to 250 ms through the whole chain. To keep the virtual screen from swimming, it follows the head with that same delay, and the delay has to be measured.

The headset measures it by stepping the camera and timing when the picture changes. Two points matter: any smoothing filter on the camera has to be bypassed during the steps, or the camera glides instead of jumping and the onset cannot be timed, and with 3D on only one eye’s frames should be compared, so the delay that 3D adds is included.

What to expect

At a normal eye separation, nearly every frame reaches the right eye – wrong ones are rare and isolated – and 3D holds through normal flying. Menus switch cleanly to a single eye or to 2D and back.

Limits to keep in mind:

    • Each eye gets half the game’s frame rate. In-betweens hide most of it, but they are estimates.


    • Very wide eye separations bend the roll more and push the near cockpit out of the tiles, and the eyes become harder to tell apart.


    • Featureless far scenery right after a close-up of the cockpit can leave neither reading usable. The picture then falls back to one eye or 2D until detail returns.


    • Exterior views are flat.

Room for improvement

The setup above works with today’s hardware and no help from the console or the game. There is plenty of room to do better, some of it open to anyone, some only to the people who make the game or the console.

What anyone can do

    • A better capture card. A card that captures 1440p or 4K at 60 frames per second gives each eye a sharper picture. A card that captures 120 Hz would let a game running above 60 frames per second hand each eye twice as many frames.


    • A higher game frame rate. Every extra frame the console renders is an extra eye picture. Lower graphics settings or a performance mode trade detail for smoother 3D, and 60 frames per second from the game means 30 real frames per eye.


    • A newer headset. Sharper displays and a faster GPU help both the picture and the in-between frames, which could then run at a finer flow resolution.


    • A clean network. The head pose travels from the headset to the console over the network, so a strong 5 GHz Wi-Fi link or a wired connection on the console side keeps that part of the delay short.

What an app or add-on developer could do

    • Reprojection on the headset. Each eye’s picture was drawn for a head pose some 200 ms old. Shifting or warping it by the head movement since then, as VR runtimes do, would make the picture feel attached to the head instead of following it.


    • Depth-aware in-betweens. The two eyes’ pictures together contain depth. Using it would help the in-between frames handle near and far objects at the same time, where optical flow alone struggles.


    • A learned eye classifier. A small trained model could read the eye from the picture more robustly than two hand-made readings, above all in featureless scenery and under see-through menus.


    • Wide-baseline 3D for exterior views. A separation of metres instead of centimetres (hyperstereo) could give chase and drone views a miniature-world depth effect.

What only the game developer could do

    • Side-by-side or top-and-bottom output. Rendering both eyes into one frame, each at half width or half height, gives both eyes a picture on every frame. There is no tag to read, nothing to sort and no judder from alternating, at the price of half the resolution per eye. 3D TVs and many headsets’ players already understand these layouts.


    • An eye flag in the picture. Even with alternating frames, a few pixels in a fixed corner telling the eye – left solid, right empty – would survive an uncompressed capture exactly and replace all of the sorting logic.


    • Stereo-aware rendering. Drawing two eyes as one pass, sharing shadows, culling and simulation work between them, would cost far less than two full frames and leave the frame rate nearly intact.


    • Menus and the HUD at a proper depth. Drawing menus in both eyes at a fixed distance, instead of over one eye’s camera, would keep them readable without dropping out of 3D.


    • The camera pose with each frame. Publishing the exact pose a frame was drawn from would let the headset reproject precisely instead of estimating the delay.

What only the console maker could do

    • Native stereo or VR output. A console-level stereo mode, or direct support for a headset over USB or the network, would remove the capture card and most of the delay.


    • Stereo in cloud and remote play. Streaming both eyes from the console or the cloud to a headset would make all of this a software feature, with no extra hardware at all.


    • Frame-packed 3D over HDMI. HDMI already defines 3D formats that carry both eyes in one signal. Supporting them on the console, with capture cards that accept them, would deliver full-resolution stereo through the same cable.

Closing thoughts

The key idea is to make every frame describe itself. Once the eye is encoded in the picture’s geometry, nothing between the console and the headset has to be reliable: frames can repeat, drop or arrive late and the sorter still recovers. The second is to trust physics over convention – the parallax of the nearest object can only go one way, while a roll tag can be bent by the scene.

Have some questions?

Your email address will not be published.

Email and website fields are optional.

The maximum upload file size: 10 MB. You can upload: image. Drop files here