Wait...I'm programming for fun again...how did this happen?

MAIN DISCUSSION FORUM - Games, Politics, Tech, Film, Music, Arts, Culture, Travel, teh Intarweb or whatever else is on your mind.

Moderator: enderzero

Post Reply
User avatar
Bill Drayton Jr.
Post Apocalyptic
Posts: 2171
Joined: Tue Mar 25, 2003 2:48 pm
Location: teh w00ds

Wait...I'm programming for fun again...how did this happen?

Post by Bill Drayton Jr. »

In honor of j3rktr0n3030's recent programming endeavors I thought I'd write something to make it easy to draw some graphics using OpenGL and c++. I looked at using c# but I couldn't deal with how long it takes .net to startup so I kept it simple.

executable:
http://home.comcast.net/~l2icks0r/GLFun1.exe

source: (VS7)
http://home.comcast.net/~l2icks0r/GLFun1.rar

User avatar
Beeeph
Hitching Post
Posts: 684
Joined: Thu Mar 20, 2003 10:02 pm
Location: BALLS COCK SHIT

Post by Beeeph »

very kewl! how's openGL holdin up these days? has the framework changed much over the last five years? when I touched it last, around the time of directx 5, it seemed all the attention and investing was shifting towards directx and opengl was on the way out.

User avatar
Bill Drayton Jr.
Post Apocalyptic
Posts: 2171
Joined: Tue Mar 25, 2003 2:48 pm
Location: teh w00ds

Post by Bill Drayton Jr. »

I don't really know how it's holding up - they just keep expanding it and the latest thing is that there is a high level shader language for it. I've never really learned that much about OpenGL but now for some reason I'm interested in it so will have to see how long that lasts... :grin: I think that if you are going to work in the games industry now you would have ~99% chance of using DirectX. I think the DirectX drivers are faster nowadays than OpenGL? I dunno did Quake 4 use OpenGL???

I really just did this for j3rk so he wouldn't have to deal with all the windows system ick that you have to do to set up a display - now all he needs to do is just write the actual graphics code.

User avatar
R3C
Star Post
Posts: 6220
Joined: Mon Mar 24, 2003 4:59 pm
Location: Boot Sector

Post by R3C »

Nice! I'm still mucking about with simple things. I haven't had any time at home to try anything out, but I shall soon.

User avatar
Bill Drayton Jr.
Post Apocalyptic
Posts: 2171
Joined: Tue Mar 25, 2003 2:48 pm
Location: teh w00ds

Post by Bill Drayton Jr. »

I tried to make this thing as simple as possible - basically all you have to do is write OpenGL code to the nice double buffered 32 bit full screen display at a resolution of your choosing. I think what would be be good is to have a dialog that comes up that has the available resolutions for your machine and you select it before it runs - you know like all those demos use...anyway...not sure what I'm going to do next - probably just learn more OpenGL basics...

User avatar
enderzero
Site Admin
Posts: 3442
Joined: Mon Mar 17, 2003 2:40 am
Location: Highland Park, Los Angeles, CA
Contact:

Post by enderzero »

kewl dood

User avatar
R3C
Star Post
Posts: 6220
Joined: Mon Mar 24, 2003 4:59 pm
Location: Boot Sector

Post by R3C »

We should learn how to use Bass or FMod or one of those sound systems. Then we could easily add music. Once I have my studio/computer room, I'll be able to get into this business more. Right now I don't really have my own space (unless it's late at night,) and then I can't concentrate as well. So, post move, I want to start coding more.

User avatar
Bill Drayton Jr.
Post Apocalyptic
Posts: 2171
Joined: Tue Mar 25, 2003 2:48 pm
Location: teh w00ds

Post by Bill Drayton Jr. »

Yeah that would be cool to have music... I don't know anything about either of those sound systems but I'd be willing to bet that they play music really fast.

Yeah, we(you,me,seth) should all get together at your new place after you are all settled in and do something fun.

User avatar
R3C
Star Post
Posts: 6220
Joined: Mon Mar 24, 2003 4:59 pm
Location: Boot Sector

Post by R3C »

Sounds like an excellent idea. I will have a large L shaped desk as well, so there should be room for everything. I'm also putting a couch in there, and the Joymaster MkII. (thinking of building an emulation-only PC)

Post Reply