![]() |
OpenGL Driver for Genesis1.1 (Alpha2) |
|
Here you can download an OpenGL driver for Genesis 1.1. This driver should be considered public alpha code as much more testing is needed. This driver doesn't yet directly support older Voodoo pass-thru cards as they can't support the official OpenGL ICD mechanism. Dynamic OpenGL library loading (ala Quake-engine games) is planned but not yet implemented. This driver should only be used with Genesis1.1, it is incompatible with earlier versions of Genesis. Game developers using the Genesis engine for their title should be aware that Microsoft's OpenGL bindings don't mix with external framebuffer access (double-buffered GDI or any DirectDraw). While the driver is Genesis 1.1-based, it doesn't yet support distance fog. The stubs are there, but the code support isn't. There's a number of easy-to-change parameters in the OglDrv.h file that you may want to play with if you're having trouble with the driver (doesn't work or works far too slowly). You can set the driver color depth, zbuffer depth, type of mipmap filtering, etc in that file. These options should really be run-time configurable, and will be in the future. The driver is still early in development, but I think it is a pretty good start towards an entirely new Genesis API driver. Please let me know, via e-mail to gfm@my-deja.com if you have problems with the driver. I'm particularly interested in hearing of people's experiences with the driver on Voodoo3 and ATI Rage128 based video boards.
To Use:
To add support for the OpenGL driver to the Genesis core engine, open the Genesis or GenesisDLL project, go to the "Engine\System.c" file and around line 55, add "OglDrv" to the list of drivers you should see there already. Rebuild. If you just want the driver up and running as quick as possible, copy the prebuilt OglDrv.DLL binary into your game project's directory, rename one of the other drivers (D3DDrv.dll for example), then give OglDrv.dll the other driver's filename...This should work, but clearly rebuilding the Genesis core is a better long term solution. :) Note: Don't "Save As" yet, click the links below and Tripod will redirect you to a secondary page from which you can actually download the files.
OpenGL Driver Source Code (Alpha2)
|
|