truth2 Posted February 8, 2014 Share Posted February 8, 2014 Please see post here: http://www.vogons.org/viewtopic.php?f=5&t=38256. The GemRB client will support the OpenGL-HQ driver (high quality screen scaler) via the SDL library. It requires GemRB installed correctly, a custom version of the SDL.dll file, and a batch file to enable the openglhq driver. The replacement SDL.dll file is here: http://www.vogons.org/download/file.php?id=13835. The batch file would be created with the following lines and named "gemrb.bat": set SDL_VIDEODRIVER=openglhq gemrb.exe Then, run gemrb.bat to enable openglhq; given the custom SDL.dll file replaced the original one. Note these are Windows instructions, but this setup will work on all GemRB supported operating systems albeit with a few changes in these steps. This OpenGL-HQ driver is described at this web site: http://www.syntax-k.de/projekte/sdl-opengl-hq. The author is a brilliant programmer and understands the underlying hardware systems. His scaler brings fast scaling via instructions sent to the video card directly and also a very high quality smoothing of the scaled/stretched image of the game. Link to comment
SyntaxError Posted February 8, 2014 Share Posted February 8, 2014 this is completely unnecessary. GemRB already supports this natively if you build the SDL2 driver (and we have a real opengl driver in development). Link to comment
truth2 Posted February 8, 2014 Author Share Posted February 8, 2014 The above opengl-hq driver is not in SDL2, it is for SDL1.x. The opengl-hq driver is a real and already available opengl driver for use with the default GemRB installation. It was developed over several years and is used in many open source projects. The driver produces high quality scaling at a fast speed via the OGL video hardware. Link to comment
truth2 Posted February 8, 2014 Author Share Posted February 8, 2014 Screen capture of Baldur's Gate I using default GemRB scaler (1280H with aspect; scaling factor =2): http://www.vogons.org/download/file.php?id=13836 Screen capture of Baldur's Gate I using OpenGL-HQ scaler (1280H with aspect; scaling factor =2): http://www.vogons.org/download/file.php?id=13837 Link to comment
lynx Posted February 10, 2014 Share Posted February 10, 2014 Huh, we have a native scaler? Interesting though, thanks for the info. Link to comment
SyntaxError Posted February 11, 2014 Share Posted February 11, 2014 Huh, we have a native scaler? Interesting though, thanks for the info. yes, the SDL2 build can scale to any size. Link to comment
Jarno Mikkola Posted February 11, 2014 Share Posted February 11, 2014 Did you notice, while looking Imoen and Xzar's in the above pictures that their characters "stand" in a wrong position related to their character circles ? Well, more than the charname and Montaro... the reason being that their character is larger and thus their characters animation which is a .bam is bit off centered by the scaling action... a dragon is likely to look like it's floating on top of the circle. Link to comment
truth2 Posted February 13, 2014 Author Share Posted February 13, 2014 The OpenGL-HQ scaling is best observed in the GemRB client and not from an exported image. However, I uploaded another image for viewing; this one has pixel dimensions closer to integer scaling: http://www.vogons.org/download/file.php?id=13905. I no longer have BG1 installed in GemRB, so this was the only image I had to export, but others may follow the instructions in the parent post so they observe the true effect of the high quality image. I haven't seen any examples of GemRB with SDL 2.0 OGL scaling, however, to compare with. In the case that this sort of scaling is available, it will integer scale but it would not provide the high quality smoothing of OpenGL-HQ (Hqx or higher). There is some information on image processing here: http://en.wikipedia.org/wiki/Hqx ; so the image appears clearer on screen and the image pixelation is reduced, although there are other benefits to high quality scaling. This is done in many popular emulators and users should test for themselves (where the video driver is available to make comparisons). Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.