[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)
  1 / 92    
=============================== EDITED ON 09/03/2019 =============================== Last development on the wrapper is found here: [url]https://forums.geforce.com/default/topic/682130/3d-vision/-opengl-3d-vision-wrapper-enabling-3d-vision-in-opengl-apps/post/6006249/#6006249[/url]
===============================
EDITED ON 09/03/2019
===============================

Last development on the wrapper is found here:
https://forums.geforce.com/default/topic/682130/3d-vision/-opengl-3d-vision-wrapper-enabling-3d-vision-in-opengl-apps/post/6006249/#6006249

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)

#1
Posted 02/01/2014 10:45 PM   
So not only are you busy trying to keep surround gaming alive, now you're trying to bring Opengl stereoscopic gaming to life too! Do you have a life away from the computer? ;-) Well done Helifax, you're awesome!
So not only are you busy trying to keep surround gaming alive, now you're trying to bring Opengl stereoscopic gaming to life too! Do you have a life away from the computer? ;-)

Well done Helifax, you're awesome!

Gigabyte RTX2080TI Gaming OC, I7-6700k ~ 4.4Ghz, 3x BenQ XL2420T, BenQ TK800, LG 55EG960V (3D OLED), Samsung 850 EVO SSD, Crucial M4 SSD, 3D vision kit, Xpand x104 glasses, Corsair HX1000i, Win 10 pro 64/Win 7 64https://www.3dmark.com/fs/9529310

#2
Posted 02/01/2014 11:10 PM   
This is awesome! An OpenGL 3D Vision wrapper would be amazing. I understand this is just a WIP, but I was curious, so I dropped it into a OpenGL project I made, which uses GLFW. Unfortunately, it crashes on the glfwCreateWindow() call. Most OpenGL games probably don't use GLFW though, so I don't know how useful this info might be to you. Anyway, thanks, and I hope you keep working on this!
This is awesome! An OpenGL 3D Vision wrapper would be amazing.

I understand this is just a WIP, but I was curious, so I dropped it into a OpenGL project I made, which uses GLFW. Unfortunately, it crashes on the glfwCreateWindow() call. Most OpenGL games probably don't use GLFW though, so I don't know how useful this info might be to you.

Anyway, thanks, and I hope you keep working on this!

i7 4770k, Asus Maximus VI Hero, Corsair Vengeance 16GB, Asus Strix 970, Asus VG236H, Win 8

#3
Posted 02/02/2014 12:10 AM   
[quote="woz2601"]This is awesome! An OpenGL 3D Vision wrapper would be amazing. I understand this is just a WIP, but I was curious, so I dropped it into a OpenGL project I made, which uses GLFW. Unfortunately, it crashes on the glfwCreateWindow() call. Most OpenGL games probably don't use GLFW though, so I don't know how useful this info might be to you. Anyway, thanks, and I hope you keep working on this![/quote] Yes, thats the thing... there are a bit of OpenGL libraries out there... (on which probably it will crash) However, using the core libs it should pretty much work. Big thanks for the test;)) I put GLFW on the list of STUFF to do/fix:)) By any chance, did you test it on any commercial game?
woz2601 said:This is awesome! An OpenGL 3D Vision wrapper would be amazing.

I understand this is just a WIP, but I was curious, so I dropped it into a OpenGL project I made, which uses GLFW. Unfortunately, it crashes on the glfwCreateWindow() call. Most OpenGL games probably don't use GLFW though, so I don't know how useful this info might be to you.

Anyway, thanks, and I hope you keep working on this!


Yes, thats the thing... there are a bit of OpenGL libraries out there... (on which probably it will crash)
However, using the core libs it should pretty much work.
Big thanks for the test;)) I put GLFW on the list of STUFF to do/fix:))

By any chance, did you test it on any commercial game?

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)

#4
Posted 02/02/2014 12:08 AM   
Just tested a few games: [b]Broken Age[/b] - works! [b]FEZ[/b] - seems to work (opens all the MessageBoxes properly), until the actual Game window opens, at which point it crashes. I also tried it in fullscreen- and it gets a bit farther, opens the game, and I see it is indeed upside down- but the resolution is way off, and so most things are pushed off screen, and there's an endless stream of 3D Vision Wrapper MessageBoxes saying "S_PRESENT_MODE_CHANGED". [b]American McGee's Alice[/b] - crashes right away. [b]Angry Birds Star Wars[/b] - crashes right away. [b]Angry Birds Star Wars II[/b] - works, even in fullscreen (strange, as it has almost exactly the same file structure as the first).
Just tested a few games:

Broken Age - works!

FEZ - seems to work (opens all the MessageBoxes properly), until the actual Game window opens, at which point it crashes. I also tried it in fullscreen- and it gets a bit farther, opens the game, and I see it is indeed upside down- but the resolution is way off, and so most things are pushed off screen, and there's an endless stream of 3D Vision Wrapper MessageBoxes saying "S_PRESENT_MODE_CHANGED".

American McGee's Alice - crashes right away.

Angry Birds Star Wars - crashes right away.

Angry Birds Star Wars II - works, even in fullscreen (strange, as it has almost exactly the same file structure as the first).

i7 4770k, Asus Maximus VI Hero, Corsair Vengeance 16GB, Asus Strix 970, Asus VG236H, Win 8

#5
Posted 02/02/2014 01:26 AM   
Thank you so much for your contributions!
Thank you so much for your contributions!

#6
Posted 02/02/2014 01:38 AM   
Great news! I hear there's a white rabbit that's got time, you just have to catch him first! :) I guess I can contribute a lil something too ... here's a little snippet from something else I've been working on, just copy and paste into notepad and save as .bat, drop it into the directory with the exe you want to run. Then drag and drop the 'exe' onto the 'bat', it will rename the exe and any accompanying *_data folder if present(Unity games), it'll then run the exe and wait for you to exit and then restore everything back to the way it was ... [code]@ECHO OFF if [%1]==[] GOTO :EOF CALL :GLR %1 WOW .exe ECHO Restoring App ...& TIMEOUT /T 3& GOTO :EOF :GLR ECHO Renaming ^& Running App ... if EXIST "%~n1_Data" ( REN "%~n1_Data" "%2_Data"& REN "%~nx1" "%2%3"& %2%3 REN "%2_Data" "%~n1_Data"& REN "%2%3" "%~nx1" ) ELSE ( REN "%~nx1" "%2%3"& %2%3& REN "%2%3" "%~nx1" )[/code] Obviously this will only work with games that can be run using the 'renaming' method, some steam games won't work this way for instance. Everything else would have to be added to a profile manually using NVIDIA Inspector. For the lazy: [url]https://www.dropbox.com/s/jnly10k7bsvfylb/_WowDrag%26Drop.bat[/url]
Great news! I hear there's a white rabbit that's got time, you just have to catch him first! :)

I guess I can contribute a lil something too ... here's a little snippet from something else I've been working on, just copy and paste into notepad and save as .bat, drop it into the directory with the exe you want to run. Then drag and drop the 'exe' onto the 'bat', it will rename the exe and any accompanying *_data folder if present(Unity games), it'll then run the exe and wait for you to exit and then restore everything back to the way it was ...

@ECHO OFF
if [%1]==[] GOTO :EOF
CALL :GLR %1 WOW .exe
ECHO Restoring App ...& TIMEOUT /T 3& GOTO :EOF
:GLR
ECHO Renaming ^& Running App ...
if EXIST "%~n1_Data" (
REN "%~n1_Data" "%2_Data"& REN "%~nx1" "%2%3"& %2%3
REN "%2_Data" "%~n1_Data"& REN "%2%3" "%~nx1"
) ELSE (
REN "%~nx1" "%2%3"& %2%3& REN "%2%3" "%~nx1"
)

Obviously this will only work with games that can be run using the 'renaming' method, some steam games won't work this way for instance. Everything else would have to be added to a profile manually using NVIDIA Inspector.

For the lazy:
https://www.dropbox.com/s/jnly10k7bsvfylb/_WowDrag%26Drop.bat
#7
Posted 02/02/2014 01:42 AM   
Nice work Helifax! Here are my findings. I dropped the alpha file into three different game directorys where the exe's are and each time, I am getting the following system error message against the exe file. I did also rename the exe for the window mode. These are also non steam games "MSVCR120.dll is missing..." 1.) Neverwinter Nights - Diamond Edition from GOG (I did try a much older opengl dll wrapper last year and the 3D Vision did kick in, the problem was half the textures and menus were royally f'd up, I was able to adjust convergence etc....you could play it, but you'd have to play the guess that texture game....lol) 2.) Star Wars - Knights of the old Republic 3.) Star Wars - Knights of the old Republic II These games do play fine in 2d but I don't play them and I have still installed on my PC. I'd be happy to help you from a testing point of view. Hope this feedback helps. Cheers
Nice work Helifax!

Here are my findings. I dropped the alpha file into three different game directorys where the exe's are and each time, I am getting the following system error message against the exe file. I did also rename the exe for the window mode. These are also non steam games

"MSVCR120.dll is missing..."

1.) Neverwinter Nights - Diamond Edition from GOG (I did try a much older opengl dll wrapper last year and the 3D Vision did kick in, the problem was half the textures and menus were royally f'd up, I was able to adjust convergence etc....you could play it, but you'd have to play the guess that texture game....lol)
2.) Star Wars - Knights of the old Republic
3.) Star Wars - Knights of the old Republic II

These games do play fine in 2d but I don't play them and I have still installed on my PC. I'd be happy to help you from a testing point of view. Hope this feedback helps.

Cheers

#8
Posted 02/02/2014 02:08 AM   
@TsaebehT Thanks, that is an awesome batch file you made. It'll come in handy!
@TsaebehT

Thanks, that is an awesome batch file you made. It'll come in handy!

#9
Posted 02/02/2014 02:21 AM   
[quote="Stryker_66"]@TsaebehT Thanks, that is an awesome batch file you made. It'll come in handy![/quote]No problem at all ... I was driving and it dawned on me that I forgot to add the damn quotes in case the file/folder names had spaces in them, I almost pulled over and edited it on my phone. Lol. Sigh. It's fixed and I updated the post and link above. :)
Stryker_66 said:@TsaebehT

Thanks, that is an awesome batch file you made. It'll come in handy!
No problem at all ... I was driving and it dawned on me that I forgot to add the damn quotes in case the file/folder names had spaces in them, I almost pulled over and edited it on my phone. Lol. Sigh. It's fixed and I updated the post and link above. :)
#10
Posted 02/02/2014 02:54 AM   
This is really exciting, I'm keen to see how this evolves!
This is really exciting, I'm keen to see how this evolves!

#11
Posted 02/02/2014 04:01 AM   
Exciting news indeed. I wonder what Nvidia's 3dv team think when they see posts like this and progress you guys make :) Thanks!
Exciting news indeed. I wonder what Nvidia's 3dv team think when they see posts like this and progress you guys make :)
Thanks!

#12
Posted 02/02/2014 05:19 AM   
[quote="Stryker_66"]Nice work Helifax! Here are my findings. I dropped the alpha file into three different game directorys where the exe's are and each time, I am getting the following system error message against the exe file. I did also rename the exe for the window mode. These are also non steam games "MSVCR120.dll is missing..." 1.) Neverwinter Nights - Diamond Edition from GOG (I did try a much older opengl dll wrapper last year and the 3D Vision did kick in, the problem was half the textures and menus were royally f'd up, I was able to adjust convergence etc....you could play it, but you'd have to play the guess that texture game....lol) 2.) Star Wars - Knights of the old Republic 3.) Star Wars - Knights of the old Republic II These games do play fine in 2d but I don't play them and I have still installed on my PC. I'd be happy to help you from a testing point of view. Hope this feedback helps. Cheers[/quote] Ah yes, I am using Visual Studio 2013 to build it... (I will probably go with VS 2010 later on). But basically you are missing [url=http://www.microsoft.com/en-gb/download/details.aspx?id=40784]Visual C++ Redistributable Packages for Visual Studio 2013[/url] Once you install those you should get rid of that error:)
Stryker_66 said:Nice work Helifax!

Here are my findings. I dropped the alpha file into three different game directorys where the exe's are and each time, I am getting the following system error message against the exe file. I did also rename the exe for the window mode. These are also non steam games

"MSVCR120.dll is missing..."

1.) Neverwinter Nights - Diamond Edition from GOG (I did try a much older opengl dll wrapper last year and the 3D Vision did kick in, the problem was half the textures and menus were royally f'd up, I was able to adjust convergence etc....you could play it, but you'd have to play the guess that texture game....lol)
2.) Star Wars - Knights of the old Republic
3.) Star Wars - Knights of the old Republic II

These games do play fine in 2d but I don't play them and I have still installed on my PC. I'd be happy to help you from a testing point of view. Hope this feedback helps.

Cheers


Ah yes, I am using Visual Studio 2013 to build it... (I will probably go with VS 2010 later on).
But basically you are missing Visual C++ Redistributable Packages for Visual Studio 2013

Once you install those you should get rid of that error:)

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)

#13
Posted 02/02/2014 10:56 AM   
Dolphin Emulator: Faulting application name: Dolphin.exe, version: 0.0.0.0, time stamp: 0x52a8bfba Faulting module name: nvoglv64.DLL, version: 9.18.13.3467, time stamp: 0x52d6ed0d Exception code: 0xc0000005 Fault offset: 0x0000000000cbcdf4 Faulting process id: 0x217c Faulting application start time: 0x01cf2039d7d8fdb3 Faulting application path: E:\Users\T Dean Jr\My Documents\Games\CONSOLE\EMULATORS\NINTENDO\NintendoWII\Dolphin.exe Faulting module path: C:\Windows\system32\nvoglv64.DLL Report Id: 17dd9ac6-8c2d-11e3-8211-0090f5eff246 Mednafen: Everything seems to initialize and a ton of 3D vision Dialog boxes pop up but it gets stuck on last popup box called S_PRESENT_OCCLUDED. Then it just sends the game in a skip loop. EPSXE: Dialog boxes, but they all finish. But black screen on games. You can hear sound though. When pressing controlT, you can see a quick glimpse of a different game stored in the frame buffer. SNES9X: Dual upside down images in window mode, dialog fury in fullscreen mode. This one isn't important because everything is in 2D anyway. Illusion Eroge Games: Flashing, no 3D activation. Don't really have any normal Opengl PC games :P
Dolphin Emulator:

Faulting application name: Dolphin.exe, version: 0.0.0.0, time stamp: 0x52a8bfba
Faulting module name: nvoglv64.DLL, version: 9.18.13.3467, time stamp: 0x52d6ed0d
Exception code: 0xc0000005
Fault offset: 0x0000000000cbcdf4
Faulting process id: 0x217c
Faulting application start time: 0x01cf2039d7d8fdb3
Faulting application path: E:\Users\T Dean Jr\My Documents\Games\CONSOLE\EMULATORS\NINTENDO\NintendoWII\Dolphin.exe
Faulting module path: C:\Windows\system32\nvoglv64.DLL
Report Id: 17dd9ac6-8c2d-11e3-8211-0090f5eff246




Mednafen:

Everything seems to initialize and a ton of 3D vision Dialog boxes pop up but it gets stuck on last popup box called S_PRESENT_OCCLUDED. Then it just sends the game in a skip loop.




EPSXE:

Dialog boxes, but they all finish. But black screen on games. You can hear sound though. When pressing controlT, you can see a quick glimpse of a different game stored in the frame buffer.



SNES9X:

Dual upside down images in window mode, dialog fury in fullscreen mode. This one isn't important because everything is in 2D anyway.



Illusion Eroge Games:

Flashing, no 3D activation.



Don't really have any normal Opengl PC games :P

Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate

#14
Posted 02/02/2014 05:57 PM   
I'm trying it on broken age and I'm also getting all these 3D vision wrapper dialouge boxes that I gotta click OK and then it gets stuck on S_Present_Occluded as well. Anyone know whats wrong?
I'm trying it on broken age and I'm also getting all these 3D vision wrapper dialouge boxes that I gotta click OK and then it gets stuck on S_Present_Occluded as well. Anyone know whats wrong?

#15
Posted 02/02/2014 06:11 PM   
  1 / 92    
Scroll To Top