Jump to content
The Dark Mod Forums

Stereoscopy support


MirceaKitsune

Recommended Posts

I'm well aware that the engine doesn't have actual support for VR headsets. Last I heard that was being worked on and I hope we will be seeing this feature next year.

But what about basic stereoscopy with proper eye separation? Red-cyan anaglyph, side-by-side separation, interlaced... will those modes be supported? Someone said that idTech 4 should have come with such support, but when I tried setting the cvars in TheDarkMod nothing happened.

I ask because I have red-cyan glasses, and as of this month also a cheap VR headset. The headset only works as a standard display on my Linux box, I can't use head tracking nor even tell my computer I have a headset... I can however watch anything that supports separated stereoscopy in fullscreen. So far Xonotic is the only game that I can play this way... for TDM given its scenery and pace, this would be a formidable way to experience it! Is there any way to enable at least basic stereoscopic, and if not can TDM 2.08 please consider this as a feature?

Link to comment
Share on other sites

6 hours ago, cabalistic said:

Stereoscopic support was only added with Doom3 BFG, but TDM is based on the older Doom3 engine. Therefore, there is no stereoscopic support whatsoever.

Ah... that makes sense and explains what I heard. How difficult would it be to add this, possibly porting the component from Doom 3 BFG if that route is easier? Is it something we can hope for in the next release? With VR becoming more common, at least support for standard stereoscopy would be a very welcome feature if the team can look into it.

Link to comment
Share on other sites

1 hour ago, duzenko said:

Makes you wonder how you do red\cyan thing on a regular PC

Is it, like monochrome, or??

Red-cyan mode works on any screen, it's the only mode that does. However it messes up the colors a lot so it's less than ideal.

For VR the mode that's needed is side-by-side stereoscopy, one view on each half of the screen. It doesn't even need to be rounded with lens distortion as you see in most cases, though you will need to increase the FOV by roughly 50% since the lenses only see a part of the screen in the middle so it would appear very zoomed in. The HUD also won't be visible since you generally can't see the screen edges, all panels would need to be moved around the crosshair where they're easier to see... here's how I made a VR friendly HUD in Xonotic using the builtin editor:

dPaSYC5.jpg

Edited by MirceaKitsune
Link to comment
Share on other sites

Well, I did get VR rendering working in my PoC, but it turned out that performance is too bad in many maps. That's why I abandoned the effort until perhaps one day enough performance bottlenecks are solved to make it more feasible.

A basic stereoscopic rendering would not be as performance critical and is not terribly difficult, but there are some gotchas. In particular, some optimizations in the engine do not play nicely with stereoscopic rendering, so it's still some effort to put in. GIven that the renderer is undergoing some major changes at the moment, I don't think the time is right to add this, as TDM has enough to do for 2.08. Also, as long as that work is ongoing, the renderer is fairly unstable codewise, so that makes adding (and maintaining) stereo support more work.

Link to comment
Share on other sites

Doom 3 \ TDM's affinity for low color saturation aesthetics or even black and white shader filters...

 

Means that red-cyan glasses would probably work better for us than with other games...

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Personally I have a 3D screen and I don't play games that way for the most part, I don't even remember the last time I played a game using the 3D capability of my screen, but for VR I comprehend why people would want it.

Btw idtech 3 (quake 3 engine) if i'm not mistaken has stereo capabilities perhaps someone with good knowledge of rendering code could see how it was done back then? Or even see how BFG does it? 

On my basic comprehension on how this stereo stuff works, it could be made by rendering two views (using two player cameras?!) with a small separation between them, then you just, interleave them for a 3D screen (like mine) or you color one view red and the other cyan for all screens, how that would be done on code is for a rendering programer to think about. :P 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...