BlueSkyDefender / Depth3D

Depth Based 3D & Other post-process shaders
512 stars 64 forks source link

Frame sequential/HD3D possible? #10

Open DieKatzchen opened 6 years ago

DieKatzchen commented 6 years ago

Dunno if it's at all possible, but my projector is an older 3d projector that only accepts a 120hz frame sequential signal over VGA for 3d. I think there's also some kind of signal to send it into 3d mode, dunno how that works. Most games that have native 3D I select AMD HD3D and it just works, so that's probably a broader target to hit, if it's even possible. Tridef also orks through HD3D. Bino works too, but just calls it "left/right alternating" if that helps any.

BlueSkyDefender commented 6 years ago

Let me do some research on the subject. I will get back to you later.

DieKatzchen commented 5 years ago

Any progress on this?

BlueSkyDefender commented 5 years ago

Oh no I tried many things to get this working. The code is there on the shader side but a change to buffering needs to be done on Reshades side.

I don't know how to do this. But, I did save AMD HD3D code on my local drive. Since it was hard to find. Since it is hard to find I will be uploading it to MediaFire and putting a link here.

VR-Nima commented 5 years ago

@BlueSkyDefender Do you have the link to the HD3D code?

BlueSkyDefender commented 5 years ago

Here you go. Here is a PDF that explains some stuff. http://www.mediafire.com/file/d40hn5gtqq4s3z1/Active_Quad_Buffer_Stereo_on_DirectX__10_and_11.pdf/file And this link for the SDK http://www.mediafire.com/file/11gf468iv772qaq/AMD_Quad_Buffer_SDK_v11.zip/file

MopheusDG commented 4 years ago

This is an old issue, probably never gonna be done, right ? I'd love to use my 3D projector with games but only supports frame-sequential and couldn't make it work any way.... tridef, nvidia, none of them.

bo3b commented 3 years ago

BlueSkyDefender suggested I might post this here. This is an experimental build of Reshade that will generate a 3D Vision Direct mode output, which means that 3D Vision FrameSequential will work with SuperDepth3D_VR+.

http://bo3b.net/ReShade64.dll

Rename that to dxgi.dll or whatever is necessary for your DX11 game. Only supports DX11 at the moment, and 3D Vision must be enabled, but it will operate in Direct Mode, not Automatic, so you can use SuperDepth3D_VR+ to generate the 3D.

Setup will be a drag, I'm sorry. This is using a build based off Reshade 4.9.1, and that version of reshade doesn't work at all on the obvious driver of 425.31. It hangs in a loading shaders loop. Next logical driver is 452.06, last one working for 3D Vision. You can use this driver if you use the global hack in 3DFM, or the BringBack3DV tool. And probably the special 3Dmigoto that ships with 3DFM/HelixVision will also work, but is untested.

Edit: Set the preprocessor flag at the bottom of the shader to enable HelixVision=1. 3D Vision needs to be enabled or this will crash. And the NVidia profile needs to either be deleted, or set as non-stereo, otherwise 3D Vision will take over and block the output.

Experimental, just tested as functional in a single game, Rime, using 3D Vision monitor. Please let me know if you get it working with 3D Vision hardware, including projectors that do frame sequential.

Give it a try if you are motivated, and let us know your experience here. I'll monitor this issue and provide help where I can.

DieKatzchen commented 3 years ago

I have since upgraded my projector to one that does SBS and OU, but I'm pretty sure it can still do frame sequential so I'll try it this weekend.

bo3b commented 3 years ago

I have since upgraded my projector to one that does SBS and OU, but I'm pretty sure it can still do frame sequential so I'll try it this weekend.

Sounds good. Please let us know what you find.

On a bunch of games, we've been getting black in the left eye, instead of stereo. UE4 games would work, but others not. I've worked out the problem, and BlueSkyDefender has a fix in the works.

In the meantime, fetch his latest shader from the repo, and change the lines starting 731 from:

#if __RESHADE__ >= 40400

to

#if BUFFER_COLOR_BIT_DEPTH == 10 //This PreProcessor is not a bool it really is 8 or 10 not a bool
    #define RGBA RGB10A2
#else
    #define RGBA RGBA8
#endif

#if HelixVision
texture DoubleTex  { Width = BUFFER_WIDTH * 2; Height = BUFFER_HEIGHT; Format = RGBA; };//HDR Consideration

No change to the dxgi.dll I posted.

AkitoFire commented 3 years ago

I couldn't get it to work on my machine yet. I feel like I'm missing something here because I just get a standard SBS image in-game. I own an official 3D Vision monitor and glasses kit, have the driver version 452.06 installed through 3DFM, have the global hack switch on, set up Reshade, and replaced the dxgi.dll with your file (The Reshade menu says that it is version 4.9.0 UNOFFICIAL), replaced the lines of code in SuperDepth3D_VR+ and toggled it on in Reshade's menu. I tested Nioh 2 and RiME but both just show a simple SBS image. However, thank you for your time and effort! I hope I get it to work, I never imagined something like this would be developed.

bo3b commented 3 years ago

@AkitoFire: Yes- sorry forgot this key detail. You need to also enable the HelixVision=1 flag in the settings while it's running. Otherwise it's in normal SuperDepth3D mode. Preprocessor defines at bottom of SuperDepth3D settings.

Delete the Nvidia profile for the game in question, or remove the exe from the profile so that 3D Vision Automatic won't kick in and try to take over. We have yet to discover the minimal set of tweaks to the profile to get it working, and currently just delete the profiles.

We are planning to bring all the setup into 3DFM/HelixVision to make it a one-click setup once we work out all the details.

shinra358 commented 3 years ago

any progress? id also test things if need be. projector here also.

bo3b commented 3 years ago

Some progress, works now to convert a SuperDepth3D image into frame sequential 3D Vision, but only for DX11 games.

See this post for beta download and how to install: https://steamcommunity.com/app/1127310/discussions/0/3076495389981189251/?ctp=4#c3127164056428324766

DonFlymoor commented 2 years ago

Would it be possible to use this with a custom ir emmiter and active 3D glasses? This repo has the code for the ir emmiter. https://github.com/DonFlymoor/3DVisionAVR

saimonGX1 commented 1 year ago

any progress for sequential frame 3d display ?

BenGost commented 11 months ago

Some progress, works now to convert a SuperDepth3D image into frame sequential 3D Vision, but only for DX11 games.

See this post for beta download and how to install: https://steamcommunity.com/app/1127310/discussions/0/3076495389981189251/?ctp=4#c3127164056428324766

hi, does it work with the latest version of the driver? with a 3XXX or 4XXX rtx?