-
Notifications
You must be signed in to change notification settings - Fork 339
Description
Is your feature request related to a problem? Please describe.
I know there's been requests and attempts in the past, but are there any plans to officially implement stereoscopic 3D/VR?
Describe the solution you'd like
Would be nice to make Celestia render in 3D/VR.
Describe alternatives you've considered
I was able to enable stereo rendering by using the MESA OpenGL to Direct3D 12 wrapper with my NVIDIA 3D Vision setup (driver 425.31 + RTX 2080 Ti)
https://airtable.com/appByPZJsOQSVGDID/shrAfMuGs1IOIEpRT?uMgeK=recRfaZDGmmhI0bMU

But the problem is that background stars/galaxies/et are rendered at a different relative depth than the nearby objects, which breaks the stereoscopic coherence. Like if you cross your eyes (or view with a proper 3D display/VR) you'll notice some distant stars are rendered in front of Earth
I also found a plugin but it's paid and I'm not sure if it's still on sale and compatible: https://www.youtube.com/watch?v=3EXguHOVfzU
Additional context
SpaceEngine has an option for quad buffer OpenGL stereo 3D, which might be the easiest one to implement, and it was thought to only be supported by professional GPUs like the Quadro but it actually works quite well on my 3D-specific PC build (driver 425.31 + RTX 2080 Ti), though quad buffer support is extremely rare so it might also be a good idea to just add an option to render commonly supported layouts like side by side (SBS), top and bottom (TAB) and row/column interlaced, and virtual reality (I'd suggest OpenXR).