Page 1 of 1

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

Posted: Mon Mar 06, 2006 7:13 pm
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

Posted: Mon Mar 06, 2006 9:10 pm
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.

Posted: Mon Mar 06, 2006 9:29 pm
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.

Posted: Mon Mar 06, 2006 10:02 pm
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.

Posted: Mon Mar 06, 2006 10:26 pm
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...

Posted: Mon Mar 06, 2006 10:52 pm
by enderzero
kewl dood

Posted: Tue Mar 07, 2006 10:31 am
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.

Posted: Tue Mar 07, 2006 1:41 pm
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.

Posted: Tue Mar 07, 2006 2:07 pm
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)