[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)
  61 / 92    
So that wrapper I linked in the Prey thread isn't good for anything? http://code.google.com/p/stereowrap/ Overview Stereowrap is an emulation layer implementing stereoscopic OpenGL visuals on top of non stereo capable OpenGL implementations. To do that it overrides, using LD_PRELOAD, the GLX visual selection functions (glXChooseVisual and glXChooseFBConfig), glDrawBuffer, and glXSwapBuffers to capture and composite the two stereo images rendered by the application, in a number of ways.
So that wrapper I linked in the Prey thread isn't good for anything?


http://code.google.com/p/stereowrap/


Overview

Stereowrap is an emulation layer implementing stereoscopic OpenGL visuals on top of non stereo capable OpenGL implementations. To do that it overrides, using LD_PRELOAD, the GLX visual selection functions (glXChooseVisual and glXChooseFBConfig), glDrawBuffer, and glXSwapBuffers to capture and composite the two stereo images rendered by the application, in a number of ways.

Posted 04/22/2015 11:04 PM   
[quote="D-Man11"]So that wrapper I linked in the Prey thread isn't good for anything? http://code.google.com/p/stereowrap/ Overview Stereowrap is an emulation layer implementing stereoscopic OpenGL visuals on top of non stereo capable OpenGL implementations. To do that it overrides, using LD_PRELOAD, the GLX visual selection functions (glXChooseVisual and glXChooseFBConfig), glDrawBuffer, and glXSwapBuffers to capture and composite the two stereo images rendered by the application, in a number of ways. [/quote] That is a very rudimentary implementation of exactly what my wrapper is doing. First of all it will probably work only for demo applications written in a very basic openGL API. Also, as you can see he is also rendering sequential frames in a standard app or same frame in an app coded to render in both LEFT & RIGHT buffers (QUAD Buffering) but is only presenting LEFT due to hardware capabilities;)) I defo recommend to avoid that code if you are interested in OpenGL as that is very old fashion code and most stuff in there is not even used anymore (for the past 10+ years lol). @Stryker: Big thanks for the info on Gothic I and II. Wasn't aware of that renderer;)) Will defo use it soon;)) PS: Also, he only hooks like 2 functions which are "sometimes" used:)
D-Man11 said:So that wrapper I linked in the Prey thread isn't good for anything?

http://code.google.com/p/stereowrap/

Overview

Stereowrap is an emulation layer implementing stereoscopic OpenGL visuals on top of non stereo capable OpenGL implementations. To do that it overrides, using LD_PRELOAD, the GLX visual selection functions (glXChooseVisual and glXChooseFBConfig), glDrawBuffer, and glXSwapBuffers to capture and composite the two stereo images rendered by the application, in a number of ways.


That is a very rudimentary implementation of exactly what my wrapper is doing. First of all it will probably work only for demo applications written in a very basic openGL API. Also, as you can see he is also rendering sequential frames in a standard app or same frame in an app coded to render in both LEFT & RIGHT buffers (QUAD Buffering) but is only presenting LEFT due to hardware capabilities;))

I defo recommend to avoid that code if you are interested in OpenGL as that is very old fashion code and most stuff in there is not even used anymore (for the past 10+ years lol).

@Stryker: Big thanks for the info on Gothic I and II. Wasn't aware of that renderer;)) Will defo use it soon;))

PS: Also, he only hooks like 2 functions which are "sometimes" used:)

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 04/23/2015 12:16 AM   
Ah, I see. This stuff is all Latin to me. Thanks for the explanation.
Ah, I see. This stuff is all Latin to me.

Thanks for the explanation.

Posted 04/23/2015 12:19 AM   
=============== Updates: =============== Updated the following game fixes to use the wrapper v.2.00: - Amnesia: The Dark Descent - Amnesia: Machine for Pigs - Broken Age: Act 1 - Wolfenstein: The New Order - Rage - Minecraft. Improvements: - The wrapper will now automatically create/update the correct Nvidia Profile for the game to work with 3D Vision (so no need for manual import of the profile). It will also cope with the re-installation of drivers. - Improved support for non-SLI/SLI/Surround configurations (No more left-eye black image). - Improved SLI support in all games (and thus the framerate). - Updated to work with the latest NVAPI and drivers. - It should pretty much be drag the files next to the exe and start the game. (Please read the readme file for each fix on what is necessary for each fix to work:)) http://3dsurroundgaming.com/OpenGL3DVisionGames.html
===============
Updates:
===============

Updated the following game fixes to use the wrapper v.2.00:

- Amnesia: The Dark Descent
- Amnesia: Machine for Pigs
- Broken Age: Act 1
- Wolfenstein: The New Order
- Rage
- Minecraft.


Improvements:
- The wrapper will now automatically create/update the correct Nvidia Profile for the game to work with 3D Vision (so no need for manual import of the profile). It will also cope with the re-installation of drivers.
- Improved support for non-SLI/SLI/Surround configurations (No more left-eye black image).
- Improved SLI support in all games (and thus the framerate).
- Updated to work with the latest NVAPI and drivers.
- It should pretty much be drag the files next to the exe and start the game.

(Please read the readme file for each fix on what is necessary for each fix to work:))

http://3dsurroundgaming.com/OpenGL3DVisionGames.html

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 04/24/2015 02:47 PM   
Helifax, No install.bat in the updated files Thanks for the update.
Helifax,

No install.bat in the updated files

Thanks for the update.

Gigabyte Z370 Gaming 7 32GB Ram i9-9900K GigaByte Aorus Extreme Gaming 2080TI (single) Game Blaster Z Windows 10 X64 build #17763.195 Define R6 Blackout Case Corsair H110i GTX Sandisk 1TB (OS) SanDisk 2TB SSD (Games) Seagate EXOs 8 and 12 TB drives Samsung UN46c7000 HD TV Samsung UN55HU9000 UHD TVCurrently using ACER PASSIVE EDID override on 3D TVs LG 55

Posted 04/24/2015 03:36 PM   
[quote="zig11727"]Helifax, No install.bat in the updated files Thanks for the update.[/quote] Corrected that mistake in the readme. There is no install.bat in any of the fixes.
zig11727 said:Helifax,

No install.bat in the updated files

Thanks for the update.


Corrected that mistake in the readme. There is no install.bat in any of the fixes.

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 04/24/2015 03:45 PM   
Does this version have the splash screen (that stops games loading for me)?
Does this version have the splash screen (that stops games loading for me)?

Posted 04/24/2015 04:19 PM   
[quote="Pirateguybrush"]Does this version have the splash screen (that stops games loading for me)?[/quote] The wrapper uses the same splashscreen like before. You can disable it from the ini file. It should work then no?
Pirateguybrush said:Does this version have the splash screen (that stops games loading for me)?


The wrapper uses the same splashscreen like before. You can disable it from the ini file.
It should work then no?

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 04/24/2015 05:17 PM   
Yep, should do. Might be worth disabling it by default perhaps, or otherwise alerting people to it? In case I'm not the only one who finds it prevents games from launching.
Yep, should do. Might be worth disabling it by default perhaps, or otherwise alerting people to it? In case I'm not the only one who finds it prevents games from launching.

Posted 04/24/2015 07:05 PM   
[quote="Pirateguybrush"]Yep, should do. Might be worth disabling it by default perhaps, or otherwise alerting people to it? In case I'm not the only one who finds it prevents games from launching.[/quote] I don't know why that happens to you:( I tried the wrapper on Win 8.1 and never had a problem with it (or are you using 8.0) ? Something is fishy there... Is not something special... It's just the regular Windows MessageBox class that is "modified" so that is strange... The whole reason of the message box message is to know if the wrapper is being loaded, so it makes sense to be enabled by default. Once you see that the wrapper is being loaded it can be easily disabled in the ini for later use:)
Pirateguybrush said:Yep, should do. Might be worth disabling it by default perhaps, or otherwise alerting people to it? In case I'm not the only one who finds it prevents games from launching.


I don't know why that happens to you:( I tried the wrapper on Win 8.1 and never had a problem with it (or are you using 8.0) ? Something is fishy there... Is not something special... It's just the regular Windows MessageBox class that is "modified" so that is strange...

The whole reason of the message box message is to know if the wrapper is being loaded, so it makes sense to be enabled by default. Once you see that the wrapper is being loaded it can be easily disabled in the ini for later use:)

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 04/24/2015 08:09 PM   
F.I.N.A.L.L.Y is here !!!!!!!!!! ============================================= Star Wars: Knights of the Old Republic ============================================= && ========================================================== Star Wars: Knights of the Old Republic II : The Sith Lords ========================================================== [color="green"] 3D Vision FIX!!!![/color] [img]http://3dsurroundgaming.com/VideoPages/icons/Kotor/Kotor-slide.jpg[/img] You can grab it from: [url=http://3dsurroundgaming.com/OpenGL3DVisionGames.html#kotor]3D Surround Gaming => 3D Vision OGL Fixed Games[/url] - Be sure to read the Readme.txt file:) - If you are on SLI, be sure to restart the game at least once after installing the wrapper. - Mods are supported! (Not sure if all) but defo texture packs and content mods. Screenshots: [url=http://3dsurroundgaming.com/OGL3DVision/pictures/Kotor/ScreenShots.html]SwKotor[/url] Screenshots: [url=http://3dsurroundgaming.com/OGL3DVision/pictures/Kotor2/ScreenShots.html]SwKotorII-The Sith Lords[/url] Video: [url=http://3dsurroundgaming.com/OGL3DVision/videos/Kotor/Video.html]SwKotor[/url] Video: [url=http://3dsurroundgaming.com/OGL3DVision/videos/Kotor2/Video.html]SwKotorII-The Sith Lords[/url] (Requires [url=ftp://ftp.mozilla.org/pub/firefox/releases/31.4.0esr/win32/en-US/]Firefox 31[/url] version to see them :( ) I really hope you will enjoy these classics in the 3rd dimension yet again ^_^ as these were basically my initial target with this wrapper ! (Even if I managed fix other newer more advanced game engines lol ^_^) ! Happy Gaming !
F.I.N.A.L.L.Y is here !!!!!!!!!!

=============================================
Star Wars: Knights of the Old Republic
=============================================
&&
==========================================================
Star Wars: Knights of the Old Republic II : The Sith Lords
==========================================================
3D Vision FIX!!!!

Image


You can grab it from:
3D Surround Gaming => 3D Vision OGL Fixed Games

- Be sure to read the Readme.txt file:)
- If you are on SLI, be sure to restart the game at least once after installing the wrapper.
- Mods are supported! (Not sure if all) but defo texture packs and content mods.

Screenshots: SwKotor
Screenshots: SwKotorII-The Sith Lords

Video: SwKotor
Video: SwKotorII-The Sith Lords
(Requires Firefox 31 version to see them :( )


I really hope you will enjoy these classics in the 3rd dimension yet again ^_^ as these were basically my initial target with this wrapper ! (Even if I managed fix other newer more advanced game engines lol ^_^) !

Happy Gaming !

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 04/24/2015 10:39 PM   
Great news, thanks! As for the splash screen, I'm on Win8 if that matters.
Great news, thanks! As for the splash screen, I'm on Win8 if that matters.

Posted 04/25/2015 05:39 AM   
This is awesome! Great job! I'm gonna go find my Star Wars DVD right now. :-> Thanks!
This is awesome! Great job!

I'm gonna go find my Star Wars DVD right now. :-> Thanks!

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

Posted 04/25/2015 08:40 AM   
[quote="Pirateguybrush"]Great news, thanks! As for the splash screen, I'm on Win8 if that matters.[/quote] Hmm;)) Have you tried one of the latest fixes ? and see if they work with or without the splashscreen ?
Pirateguybrush said:Great news, thanks! As for the splash screen, I'm on Win8 if that matters.


Hmm;)) Have you tried one of the latest fixes ? and see if they work with or without the splashscreen ?

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 04/25/2015 10:05 AM   
[quote="bo3b"]This is awesome! Great job! I'm gonna go find my Star Wars DVD right now. :-> Thanks![/quote] Awesome!! Let me know what your experience is;))
bo3b said:This is awesome! Great job!

I'm gonna go find my Star Wars DVD right now. :-> Thanks!


Awesome!! Let me know what your experience is;))

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 04/25/2015 10:19 AM   
  61 / 92    
Scroll To Top