Is there any way to make a stereo cubemap (skybox)?

Is there any way to make a cubemap (i.e. skybox) that has proper stereo, no matter which way you look?

The goal is to have a pre-rendered scene, that maybe took a long time to render, but is then stored in some format that I can display it in true stereo on the headset. I’m OK with assuming the user can’t move around, but they certainly can look in any direction, and I want the stereo to remain correct (or at least, close enough to correct that the user won’t notice the difference).

I know how to render a plane with a different texture for each eye. The difficulty is that as you turn your head, the positions of your real eyes in space change slightly. I think if we just render the left/right textures for the North face as if you’re looking north, and for the East face as if you’re looking east, then there’s likely to be a visible seam where the North and East faces come together (and when you’re facing northeast, neither side is going to be quite right).

But there are a lot of people smarter than me who must have thought about this before. Is there any clever trick that lets us display a pre-rendered, stereo world?

Actually, someone on the GOmmunity Discord just pointed me to Google’s Seurat tool, which looks like it might be even better than what I was imagining:

…because it will work on a 6DOF headset as well as a 3DOF one. So maybe this is the solution I really need.

1 Like