[OpenGL] 3D Vision Wrapper - Enabling 3D Vision in OpenGL apps

What game should I fix next ?

The Chronicles of Riddick: Assault on Dark Athena & Escape from Butcher Bay
Neverwinter Nights
Penumbra: Requiem
Penumbra: Overture
Penumbra: Black Plague
Return to Castle Wolfenstein
Rage
Star Wars Knights of the Old Republic (Kotor 1 & 2)
Half Life 1 (Series)
  48 / 92    
[quote="distant"]Is it possible for the series IL2 sturmovik 1946 and Forgotten battles to work with this wrapper? It would be tremendous. [/quote] IL2 series is DirectX 9. What's wrong with them exactly? (shadows, hud, etc..)
distant said:Is it possible for the series IL2 sturmovik 1946 and Forgotten battles to work with this wrapper? It would be tremendous.


IL2 series is DirectX 9. What's wrong with them exactly? (shadows, hud, etc..)

Dual boot Win 7 x64 & Win 10 (1809) | Geforce Drivers 417.35

Posted 08/24/2014 05:21 PM   
I tried Nvidia driver with directx and it worked when it first released, ( ~10 yrs ago) then directx suddenly stopped going into stereo. I've since then have tried a few more times, then when the series become available on Steam I acquired them waiting and hoping one day stereo will work on them a gain. I have not tried again in the past couple years, assuming that there is no changes. Has it changed?
I tried Nvidia driver with directx and it worked when it first released, ( ~10 yrs ago) then directx suddenly stopped going into stereo. I've since then have tried a few more times, then when the series become available on Steam I acquired them waiting and hoping one day stereo will work on them a gain. I have not tried again in the past couple years, assuming that there is no changes. Has it changed?

Xeon X5675 hex cores @4.4 GHz, GTX 1070, win10 pro
i7 7700k 5GHz, RTX 2080, win10 pro
Benq 2720Z, w1070, Oculus Rift cv1, Samsung Odyssey+

Posted 08/24/2014 05:31 PM   
[quote="distant"]I tried Nvidia driver with directx and it worked when it first released, ( ~10 yrs ago) then directx suddenly stopped going into stereo. I've since then have tried a few more times, then when the series become available on Steam I acquired them waiting and hoping one day stereo will work on them a gain. I have not tried again in the past couple years, assuming that there is no changes. Has it changed? [/quote] Try assigning the game's exe to the "Prototype" profile and see if the 3D turns on.
distant said:I tried Nvidia driver with directx and it worked when it first released, ( ~10 yrs ago) then directx suddenly stopped going into stereo. I've since then have tried a few more times, then when the series become available on Steam I acquired them waiting and hoping one day stereo will work on them a gain. I have not tried again in the past couple years, assuming that there is no changes. Has it changed?


Try assigning the game's exe to the "Prototype" profile and see if the 3D turns on.

Dual boot Win 7 x64 & Win 10 (1809) | Geforce Drivers 417.35

Posted 08/24/2014 06:03 PM   
Thank you! Thank you! Directx Setting works with prototype profile. Damn I feel like a dumb ass, so out of it after not playing games for so long....
Thank you! Thank you!
Directx Setting works with prototype profile. Damn I feel like a dumb ass, so out of it after not playing games for so long....

Xeon X5675 hex cores @4.4 GHz, GTX 1070, win10 pro
i7 7700k 5GHz, RTX 2080, win10 pro
Benq 2720Z, w1070, Oculus Rift cv1, Samsung Odyssey+

Posted 08/24/2014 09:45 PM   
Is there a download link for this wrapper available? I would like to test it. :D
Is there a download link for this wrapper available? I would like to test it. :D

SHIELD Specs:
Operating System (Portable & Tablet): Android 6.0 (Marshmallow), SHIELD Portable, SHIELD Tablet (32Gb 4G LTE), 2x Wireless SHIELD Controllers.

PC Specs:
Operating System: Windows 7 Professional SP1 (x64) on 120Gb Kingston HyperX Fury SSD.Intel i7-4790k 4.4Ghz CPU, Corsair H115i Liquid Cooler, ASUS Z97-K Motherboard, Corsair HX850i Platinum Grade 850w PSU, Gigabyte Extreme Gaming GTX1080 Water Cooled, with 8Gb GDDR5x RAM, 32Gb Corsair Vengeance Pro 2400 DDR3 RAM, ASUS VG278 27" 120Hz 3D Monitor (3D Vision 2), Logitech G710+ Mechanical Keyboard, Logitech G502 Proteus Core Mouse with 8 buttons, Microsoft Xbox One S Controller used as wired with MicroUSB cable to avoid Windows 10, Logitech Extreme 3D Pro Flightstick, Creative Labs Sound Blaster Zx, Logitech z906 5.1 THX Certified Surround Speakers, DirectX 11, 19.5Tb of storage space (WD Gold Enterprise class 10Tb DataCenter 7,200RMP HDD, WD 4Tb internal HDD, WD Caviar 1.5Tb Internal HDD, WD Elements 1Tb External USB 3.0 HDD, WD Elements 3Tb External USB 3.0 HDD).

Network Specs:
iiNet N.B.N. 100mbps Download/40Mbps Upload with Unlimited Data. (Slow in world standards, but the fastest and priciest connection in Australia), with an ASUS PCE-AC68U Wifi Card/ASUS RT-AC68U Router, 5Ghz/2.4Ghz Dual-Band WiFi My PC is connected to the 5Ghz Wifi, and my Guest Wifi is the 2.4Ghz band.

My Location:
Adelaide, South Australia.

Posted 09/07/2014 10:24 AM   
I've updated the wrappers for RAGE (x86 & x64) with the same improvements found in the v.1.50 version. As a result the framerate is now consistent (locked at 30fps per eye due to 60fps engine internal lock) and the main menu now renders properly in stereo3D (in both eyes) You can try the wrappers out at: [url=http://3dsurroundgaming.com/OpenGL3DVisionGames.html]OpenGL 3D Vision Fixed Games.[/url]
I've updated the wrappers for RAGE (x86 & x64) with the same improvements found in the v.1.50 version.
As a result the framerate is now consistent (locked at 30fps per eye due to 60fps engine internal lock) and the main menu now renders properly in stereo3D (in both eyes)

You can try the wrappers out at: OpenGL 3D Vision Fixed Games.

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 09/07/2014 10:51 AM   
[quote="njwride1979"]Is there a download link for this wrapper available? I would like to test it. :D[/quote] You can grab it at: [url=http://3dsurroundgaming.com/]3D Surround Gaming[/url] (in the OpenGL Section ofc) ^_^. The video documentation is there as well:)
njwride1979 said:Is there a download link for this wrapper available? I would like to test it. :D


You can grab it at: 3D Surround Gaming (in the OpenGL Section ofc) ^_^.
The video documentation is there as well:)

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 09/07/2014 10:52 AM   
Hey helifax. First off thanks for all the awesome work. Truely impressive. I was having problems getting the wrapper to work with Rage but finally managed to figure out what some of the issues were abd just wanted to share this info with everyone since no one else has posted a fix. The first issue was the same problem that TsaebehT had in which the game would load up but menus would be black and textures would also not get loaded. if you removed some of the fixed shaders like the shadows then the textures would load correctly but other things were still completely broken. This lead me to believe that the shaders were targeting the wrong sources and the wrong shaders being used. What would cause this? well it turns out that it's because of the different versions of them game that are available. I installed all the dlc and updates for Rage and it wouldn't work. But if you don't install the updates and the dlc then the opengl wrapper works perfectly. Somewhere down the line ID changed the shaders that the game uses and therefore the wrappers fixed shaders were incompatible with it. I also had issues with the game only being launched at 60hz instead of 120hz on my projector and therfore 3d wasn't working. I wasn't able to fix this completely but i figured out a workaround, just run the game in windowed mode and change the 3DVisionWrapper.ini to use windowed mode. You mentioned that you should have 3dvision set to 3d discovery, if i do this it reverts to anaglyph on everything. I have to actually set it to acer 5360 dlp (my projector) and run the setup wizard to make sure that the shutter glasses are being used. For some reason i have to unplug and replug the ir receiver and run the setup wizard every time i restart my pc, updating drivers and even a fresh os install doesn't help. Any idea why? is there a way to change a registry setting or file so that it just forces this behavior?
Hey helifax. First off thanks for all the awesome work. Truely impressive.

I was having problems getting the wrapper to work with Rage but finally managed to figure out what some of the issues were abd just wanted to share this info with everyone since no one else has posted a fix.

The first issue was the same problem that TsaebehT had in which the game would load up but menus would be black and textures would also not get loaded. if you removed some of the fixed shaders like the shadows then the textures would load correctly but other things were still completely broken. This lead me to believe that the shaders were targeting the wrong sources and the wrong shaders being used. What would cause this? well it turns out that it's because of the different versions of them game that are available. I installed all the dlc and updates for Rage and it wouldn't work. But if you don't install the updates and the dlc then the opengl wrapper works perfectly. Somewhere down the line ID changed the shaders that the game uses and therefore the wrappers fixed shaders were incompatible with it.

I also had issues with the game only being launched at 60hz instead of 120hz on my projector and therfore 3d wasn't working. I wasn't able to fix this completely but i figured out a workaround, just run the game in windowed mode and change the 3DVisionWrapper.ini to use windowed mode.

You mentioned that you should have 3dvision set to 3d discovery, if i do this it reverts to anaglyph on everything. I have to actually set it to acer 5360 dlp (my projector) and run the setup wizard to make sure that the shutter glasses are being used. For some reason i have to unplug and replug the ir receiver and run the setup wizard every time i restart my pc, updating drivers and even a fresh os install doesn't help. Any idea why? is there a way to change a registry setting or file so that it just forces this behavior?

Like my work? You can send a donation via Paypal to sgs.rules@gmail.com

Windows 7 Pro 64x - Nvidia Driver 398.82 - EVGA 980Ti SC - Optoma HD26 with Edid override - 3D Vision 2 - i7-8700K CPU at 5.0Ghz - ASROCK Z370 Ext 4 Motherboard - 32 GB RAM Corsair Vengeance - 512 GB Samsung SSD 850 Pro - Creative Sound Blaster Z

Posted 09/08/2014 08:57 PM   
[quote="sgsrules"]Hey helifax. First off thanks for all the awesome work. Truely impressive. I was having problems getting the wrapper to work with Rage but finally managed to figure out what some of the issues were abd just wanted to share this info with everyone since no one else has posted a fix. The first issue was the same problem that TsaebehT had in which the game would load up but menus would be black and textures would also not get loaded. if you removed some of the fixed shaders like the shadows then the textures would load correctly but other things were still completely broken. This lead me to believe that the shaders were targeting the wrong sources and the wrong shaders being used. What would cause this? well it turns out that it's because of the different versions of them game that are available. I installed all the dlc and updates for Rage and it wouldn't work. But if you don't install the updates and the dlc then the opengl wrapper works perfectly. Somewhere down the line ID changed the shaders that the game uses and therefore the wrappers fixed shaders were incompatible with it. I also had issues with the game only being launched at 60hz instead of 120hz on my projector and therfore 3d wasn't working. I wasn't able to fix this completely but i figured out a workaround, just run the game in windowed mode and change the 3DVisionWrapper.ini to use windowed mode. You mentioned that you should have 3dvision set to 3d discovery, if i do this it reverts to anaglyph on everything. I have to actually set it to acer 5360 dlp (my projector) and run the setup wizard to make sure that the shutter glasses are being used. For some reason i have to unplug and replug the ir receiver and run the setup wizard every time i restart my pc, updating drivers and even a fresh os install doesn't help. Any idea why? is there a way to change a registry setting or file so that it just forces this behavior?[/quote] Now that is an interesting thing!!! Which I didn't know about... I didn't know RAGE had DLCs. I have the steam version (I imagine patched up to the latest version) but without any DLCs. That might be the problem then;)) since I tried it so far on 6 machines (from my Steam account) and it worked on all of them... There is some weird behavior there... Have you tried running the game in fullscreen with the WindowMode=true in the ini file? For some unknown reason the nvapi might get a bit confused on what modes are available. Problem is the opengl-directx interoperability layer (I think) never got 100% finished, thus running an app in fullscreen mode on ONE GPU and setting the fullscreen flag in the DirectX context will result in black screen. This does not happen for SLI configurations...and is directly related to the nvidia driver... The 3D Discover Mode is not required (unless you don't have 3D Vision of course). Where did I specify this? so I can correct it:( No, basically you should have your setup in the same mode as for any other game. I tested with Windows (7) running at 60Hz (in Windows) and the wrapper still worked (the Displays switched to 120Hz when the game started). Hope this helps, if not let me know how I can help even further:) Big thanx again for the info regarding the DLCS packs;)
sgsrules said:Hey helifax. First off thanks for all the awesome work. Truely impressive.

I was having problems getting the wrapper to work with Rage but finally managed to figure out what some of the issues were abd just wanted to share this info with everyone since no one else has posted a fix.

The first issue was the same problem that TsaebehT had in which the game would load up but menus would be black and textures would also not get loaded. if you removed some of the fixed shaders like the shadows then the textures would load correctly but other things were still completely broken. This lead me to believe that the shaders were targeting the wrong sources and the wrong shaders being used. What would cause this? well it turns out that it's because of the different versions of them game that are available. I installed all the dlc and updates for Rage and it wouldn't work. But if you don't install the updates and the dlc then the opengl wrapper works perfectly. Somewhere down the line ID changed the shaders that the game uses and therefore the wrappers fixed shaders were incompatible with it.

I also had issues with the game only being launched at 60hz instead of 120hz on my projector and therfore 3d wasn't working. I wasn't able to fix this completely but i figured out a workaround, just run the game in windowed mode and change the 3DVisionWrapper.ini to use windowed mode.

You mentioned that you should have 3dvision set to 3d discovery, if i do this it reverts to anaglyph on everything. I have to actually set it to acer 5360 dlp (my projector) and run the setup wizard to make sure that the shutter glasses are being used. For some reason i have to unplug and replug the ir receiver and run the setup wizard every time i restart my pc, updating drivers and even a fresh os install doesn't help. Any idea why? is there a way to change a registry setting or file so that it just forces this behavior?


Now that is an interesting thing!!! Which I didn't know about... I didn't know RAGE had DLCs. I have the steam version (I imagine patched up to the latest version) but without any DLCs. That might be the problem then;)) since I tried it so far on 6 machines (from my Steam account) and it worked on all of them...
There is some weird behavior there...
Have you tried running the game in fullscreen with the WindowMode=true in the ini file? For some unknown reason the nvapi might get a bit confused on what modes are available. Problem is the opengl-directx interoperability layer (I think) never got 100% finished, thus running an app in fullscreen mode on ONE GPU and setting the fullscreen flag in the DirectX context will result in black screen. This does not happen for SLI configurations...and is directly related to the nvidia driver...

The 3D Discover Mode is not required (unless you don't have 3D Vision of course). Where did I specify this? so I can correct it:( No, basically you should have your setup in the same mode as for any other game.
I tested with Windows (7) running at 60Hz (in Windows) and the wrapper still worked (the Displays switched to 120Hz when the game started).

Hope this helps, if not let me know how I can help even further:) Big thanx again for the info regarding the DLCS packs;)

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 09/08/2014 10:20 PM   
I'm running the original version of Rage and it works fine, except for the issues that shipped with the original discs (of which there were quite a few). I'm going to test it out with each update to see which one breaks the fix or which one of the dlcs it is. I'll keep you posted. The combo that worked for me to get the 3d to work was forcing my desktop to 120hz (forgot to mention this) switching the setting in the 3DVisionWrapper.ini to run in windowed mode and running the game in winowed mode. Oddly enough when i force to 120hz the game still runs the game in fullscreen mode maybe the OpenGL-DirectX interop forces it. I'm an OpenGl dev and i've always had issues with the OpenGL-DirectX interop it's pretty finicky. Btw do you have any source code regarding 3dvision on Opengl that you'd be willing to share? I would love to be able to natively support 3d in my OpenGL engine. Since i have access to the whole rendering pipeline i would rather code it in than use a wrapper. I found some other posts on the subject (some were probably yours) but i had issues with the OpenGL-DirectX interop along with the special 3d vision flags you need to get it working. It felt like i was trying to hack my way through everything instead of doing it properly, but then again with Nvidia's lack of 3d vision support i'm not to surprised.
I'm running the original version of Rage and it works fine, except for the issues that shipped with the original discs (of which there were quite a few). I'm going to test it out with each update to see which one breaks the fix or which one of the dlcs it is. I'll keep you posted.

The combo that worked for me to get the 3d to work was forcing my desktop to 120hz (forgot to mention this) switching the setting in the 3DVisionWrapper.ini to run in windowed mode and running the game in winowed mode. Oddly enough when i force to 120hz the game still runs the game in fullscreen mode maybe the OpenGL-DirectX interop forces it. I'm an OpenGl dev and i've always had issues with the OpenGL-DirectX interop it's pretty finicky.

Btw do you have any source code regarding 3dvision on Opengl that you'd be willing to share? I would love to be able to natively support 3d in my OpenGL engine. Since i have access to the whole rendering pipeline i would rather code it in than use a wrapper. I found some other posts on the subject (some were probably yours) but i had issues with the OpenGL-DirectX interop along with the special 3d vision flags you need to get it working. It felt like i was trying to hack my way through everything instead of doing it properly, but then again with Nvidia's lack of 3d vision support i'm not to surprised.

Like my work? You can send a donation via Paypal to sgs.rules@gmail.com

Windows 7 Pro 64x - Nvidia Driver 398.82 - EVGA 980Ti SC - Optoma HD26 with Edid override - 3D Vision 2 - i7-8700K CPU at 5.0Ghz - ASROCK Z370 Ext 4 Motherboard - 32 GB RAM Corsair Vengeance - 512 GB Samsung SSD 850 Pro - Creative Sound Blaster Z

Posted 09/08/2014 10:43 PM   
[quote="sgsrules"]I'm running the original version of Rage and it works fine, except for the issues that shipped with the original discs (of which there were quite a few). I'm going to test it out with each update to see which one breaks the fix or which one of the dlcs it is. I'll keep you posted. The combo that worked for me to get the 3d to work was forcing my desktop to 120hz (forgot to mention this) switching the setting in the 3DVisionWrapper.ini to run in windowed mode and running the game in winowed mode. Oddly enough when i force to 120hz the game still runs the game in fullscreen mode maybe the OpenGL-DirectX interop forces it. I'm an OpenGl dev and i've always had issues with the OpenGL-DirectX interop it's pretty finicky. Btw do you have any source code regarding 3dvision on Opengl that you'd be willing to share? I would love to be able to natively support 3d in my OpenGL engine. Since i have access to the whole rendering pipeline i would rather code it in than use a wrapper. I found some other posts on the subject (some were probably yours) but i had issues with the OpenGL-DirectX interop along with the special 3d vision flags you need to get it working. It felt like i was trying to hack my way through everything instead of doing it properly, but then again with Nvidia's lack of 3d vision support i'm not to surprised.[/quote] Glad to hear it:D Finally somebody who actually played with the DirectX-OGL interop !!! I agree 100% that it would be best to code the OpenGL-3D Vision support directly in the app rather than using a wrapper for the following simple reason: - I did a lot of research before starting the wrapper including reading the nvidia documentation + posts etc that I could find. Everywhere they say: duplicate render targets and DUPLICATE draw calls. Now based on my own testing and some hacking around I noticed that the nvidia driver has "a different path" when a DirectX texture with a peculiar signature(for 3D Vision) is created. This path makes the GPU render a frame 2 times. I don't know what exactly happens in the driver (since we don't have access to it..unfortunately) but this is what I believe, the duplication of draw calls. - Now in my wrapper's case I am unable to do this (lefteye->drawLoop; righteye->drawLoop) and thus I am forced to render in left and right eye sequential frames. This isn't a problem IF the engine is not capped at 60fps (like the ID5 engine is). - Since the Vblank is set to 120Hz you get the normal 60fps per eye(if the hardware is fast enough) and you won't see any difference. Now in case of RAGE and Wolfenstein since the game is locked at 60fps you get the max of 30fps per eye and you can see some tearing on rapid left-right movements. - Since I always loved to hack my way around:)) I also added the ability to create a FPS unlocker to the wrapper. Basically one must find the "central" timer that "pushes" the rendering loop in the game and for 2 consecutive frames keep the same timestamp. This will make the engine render the exact frame twice. Now with Id5 engine this proved almost impossible since it has alot of timers for a lot of things and I wasn't able to find all of them... - So if you code it directly in the App you can MANUALLY say to render the same frame for each eye before going "forward" in time;)) But back to the other question: At the moment I haven't released the source code for the wrapper. It is mostly C ( for the actual OpenGL-DirectX interop) and C++ for the shader manager part, etc. If you really want the source code for the wrapper I can send it (after I clean it up a bit) but I believe it will only be more confusing if you want to implement the OGL-DirectX interop in your app. For that purpose I have exactly the source code I can send you (I just need to properly document it) without the extra overheads for the OGL hooking procedures and so on... I can also help you set it up if you encounter problems with it;)) Just let me know;))
sgsrules said:I'm running the original version of Rage and it works fine, except for the issues that shipped with the original discs (of which there were quite a few). I'm going to test it out with each update to see which one breaks the fix or which one of the dlcs it is. I'll keep you posted.

The combo that worked for me to get the 3d to work was forcing my desktop to 120hz (forgot to mention this) switching the setting in the 3DVisionWrapper.ini to run in windowed mode and running the game in winowed mode. Oddly enough when i force to 120hz the game still runs the game in fullscreen mode maybe the OpenGL-DirectX interop forces it. I'm an OpenGl dev and i've always had issues with the OpenGL-DirectX interop it's pretty finicky.

Btw do you have any source code regarding 3dvision on Opengl that you'd be willing to share? I would love to be able to natively support 3d in my OpenGL engine. Since i have access to the whole rendering pipeline i would rather code it in than use a wrapper. I found some other posts on the subject (some were probably yours) but i had issues with the OpenGL-DirectX interop along with the special 3d vision flags you need to get it working. It felt like i was trying to hack my way through everything instead of doing it properly, but then again with Nvidia's lack of 3d vision support i'm not to surprised.


Glad to hear it:D

Finally somebody who actually played with the DirectX-OGL interop !!!
I agree 100% that it would be best to code the OpenGL-3D Vision support directly in the app rather than using a wrapper for the following simple reason:

- I did a lot of research before starting the wrapper including reading the nvidia documentation + posts etc that I could find. Everywhere they say: duplicate render targets and DUPLICATE draw calls. Now based on my own testing and some hacking around I noticed that the nvidia driver has "a different path" when a DirectX texture with a peculiar signature(for 3D Vision) is created. This path makes the GPU render a frame 2 times. I don't know what exactly happens in the driver (since we don't have access to it..unfortunately) but this is what I believe, the duplication of draw calls.

- Now in my wrapper's case I am unable to do this (lefteye->drawLoop; righteye->drawLoop) and thus I am forced to render in left and right eye sequential frames. This isn't a problem IF the engine is not capped at 60fps (like the ID5 engine is).

- Since the Vblank is set to 120Hz you get the normal 60fps per eye(if the hardware is fast enough) and you won't see any difference. Now in case of RAGE and Wolfenstein since the game is locked at 60fps you get the max of 30fps per eye and you can see some tearing on rapid left-right movements.

- Since I always loved to hack my way around:)) I also added the ability to create a FPS unlocker to the wrapper. Basically one must find the "central" timer that "pushes" the rendering loop in the game and for 2 consecutive frames keep the same timestamp. This will make the engine render the exact frame twice. Now with Id5 engine this proved almost impossible since it has alot of timers for a lot of things and I wasn't able to find all of them...

- So if you code it directly in the App you can MANUALLY say to render the same frame for each eye before going "forward" in time;))

But back to the other question: At the moment I haven't released the source code for the wrapper. It is mostly C ( for the actual OpenGL-DirectX interop) and C++ for the shader manager part, etc.
If you really want the source code for the wrapper I can send it (after I clean it up a bit) but I believe it will only be more confusing if you want to implement the OGL-DirectX interop in your app. For that purpose I have exactly the source code I can send you (I just need to properly document it) without the extra overheads for the OGL hooking procedures and so on... I can also help you set it up if you encounter problems with it;))

Just let me know;))

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 09/08/2014 11:01 PM   
Hi, Any thoughts of making a wrapper for THE EVIL WITHIN ? someone? Second question: Can we use Wolfenstein wrapper in order to activate The evil within in 3D Vision (same engine , IDtech 5) Thanks,
Hi,
Any thoughts of making a wrapper for THE EVIL WITHIN ? someone?

Second question: Can we use Wolfenstein wrapper in order to activate The evil within in 3D Vision (same engine , IDtech 5)

Thanks,

CPU: Intel Core i7 4770 @ 3.4GHz (8 CPUs) 8MB cache Motherboard: Gigabyte GA-B85M Memory: 8GB DDR3 1600MHz RAM Operation System : Windows 7 Ultimate 64-bit English Video card : Geforce GTX 680 Zotac 2048MB Monitor : Alienware AW2310 Power-supply: Seasonic SSP-650RT 650W Active PFC

Posted 09/15/2014 01:56 PM   
Man - good thinking. Hope to hear Helifax`s opinion about this title. It`s looking promising since he mastered this engine.
Man - good thinking.
Hope to hear Helifax`s opinion about this title.
It`s looking promising since he mastered this engine.
[quote="dekgol"]Hi, Any thoughts of making a wrapper for THE EVIL WITHIN ? someone? Second question: Can we use Wolfenstein wrapper in order to activate The evil within in 3D Vision (same engine , IDtech 5) Thanks,[/quote] Is in my to do list. However, last I checked, the game will be released next month (19 October) ? So until then I can't actually do anything about it;)) When is out I will look at the game. That's to be sure:)
dekgol said:Hi,
Any thoughts of making a wrapper for THE EVIL WITHIN ? someone?

Second question: Can we use Wolfenstein wrapper in order to activate The evil within in 3D Vision (same engine , IDtech 5)

Thanks,


Is in my to do list. However, last I checked, the game will be released next month (19 October) ? So until then I can't actually do anything about it;))
When is out I will look at the game. That's to be sure:)

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 09/15/2014 05:22 PM   
[quote="dekgol"]Hi, Any thoughts of making a wrapper for THE EVIL WITHIN ? someone? Second question: Can we use Wolfenstein wrapper in order to activate The evil within in 3D Vision (same engine , IDtech 5) Thanks,[/quote] I hate this engine, I do not understand how people can play in 3D with no eyes-synchronized. I get seasick in 10 seconds :(
dekgol said:Hi,
Any thoughts of making a wrapper for THE EVIL WITHIN ? someone?

Second question: Can we use Wolfenstein wrapper in order to activate The evil within in 3D Vision (same engine , IDtech 5)

Thanks,


I hate this engine, I do not understand how people can play in 3D with no eyes-synchronized. I get seasick in 10 seconds :(

i7 4970k@4.5Ghz, SLI GTX1080Ti Aorus Gigabyte Xtreme, 16GB G Skill 2400hrz, 3*PG258Q in 3D surround.

Posted 09/15/2014 05:45 PM   
  48 / 92    
Scroll To Top