Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3015677E6@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Two Graphics Questions Date: Tue, 10 Aug 1999 09:28:26 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Chris Holmes writes: >> I was wondering if anyone knew of a good 3D engine that is possible to >> use/compile with DJGPP. Most of the ones I've been seeing use VC++. > > OpenGL. (http://www.sgi.com ) (the links are not hard to find) OpenGL isn't really an engine: it is a low level interface for drawing individual polygons. If that's what you want it is fantastic, but if you are looking for a higher level solution like a Quake-style engine, you'll need to write a lot of more specialised code over the top of OpenGL (for example, Quake itself uses OpenGL for actually drawing the triangles). > The problem is that the OpenGL libraries are .lib files, which is > a problem I am having. I can't get DJGPP to actually link them. To > use OpenGL, you have to define several Win32 things (WINGDIAPI, > APIENTRY, CALLBACK, something else to a blank space) OpenGL is an abstract interface design rather than any specific library, and there are many different libraries that implement this interface. It sounds like the particular implementation that you downloaded is for Windows, which is no use when you are writing a DOS program. Try getting a copy of MESA (www.mesa3d.org) instead, although be warned that you may need to do some porting to get this working with djgpp, since I don't think the DOS version is being maintained by anyone at the moment. Shawn Hargreaves.