Article View: rec.games.programmer
Article #2240Re: Graphics programming in Linux.
From: Jon Raymond
Date: Mon, 22 Jul 1996 00:00
Date: Mon, 22 Jul 1996 00:00
43 lines
2642 bytes
2642 bytes
Jason Collins wrote: : Hi all, : I have been learning a bit of C graphics programming lately, and was : just wondering if there were many people using Linux for graphics : programming? (Not X) I am trying to eventually use Linux for : everything, and have found that a lot of things I used to do in that : other O/S (do I have to say it?) are much better (and more fun!) with : Linux. I agree. For development, UNIX based systems are just superb (imho). I also learnt quite a bit about the system from actually setting it up. It's kinda satisfying once it's up and running and you've overcome the challenges! : I am trying to create a 3d graphics engine (what graphics programmer : isn't) so if you have done something similar I would love to hear from : you. I'm doing exactly the same thing, except under X-Windows. The main reason being that I can run my program in one X-Window, debug from another (Using Xddd) then just change the start-up code for DOS once it's finished, slap it through djgpp and the thing works fine. I love it :) I *strongly* recommend developing under X-Windows. The viewport is handled just like DOS's mode13h (using MIT-SHM or just straight XImages) and is *very* fast. The conversion rate is approx 200fps on my P5-100 running a Mach64 X-server. This time includes rotating 24 points and clearing the screen buffer (coded in 100% C). : Also, if anyone could point me in the direction of any existing code : or graphics libraries that would be great. Sorry, I don't use them. Also, most of the existing ones require X (I think), and you're (most likely) using svgalib. You need something like Mesa or OpenGL. These are well supported and OpenGL is pratically standard. There's also a guy here on r.g.p that has knocked up a library called Free3D. Hope this helps, Jon. -- Email: jon@neurodne.demon.co.uk Linux/X11 3D programmer
Technical Details
Message-ID:
<4t0p2t$77@neurodne.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<31f330eb.1689351@news.inia.net.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe306,baae3b682e116185 X-Google-Attributes: gidfe306,public X-Google-Thread: 1103af,baae3b682e116185 X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,baae3b682e116185 X-Google-Attributes: gid102983,public From: jon@neurodne.demon.co.uk (Jon Raymond) Subject: Re: Graphics programming in Linux. Date: 1996/07/22 Message-ID: <4t0p2t$77@neurodne.demon.co.uk> X-Deja-AN: 170416656 x-nntp-posting-host: neurodne.demon.co.uk references: <31f330eb.1689351@news.inia.net.au> followup-to: rec.games.programmer,aus.computers.linux,comp.os.linux.misc organization: Jon's Linux Box. newsgroups: rec.games.programmer,aus.computers.linux,comp.os.linux.misc