Wait...I'm programming for fun again...how did this happen?
Moderator: enderzero
- 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?
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
executable:
http://home.comcast.net/~l2icks0r/GLFun1.exe
source: (VS7)
http://home.comcast.net/~l2icks0r/GLFun1.rar
- Bill Drayton Jr.
- Post Apocalyptic
- Posts: 2171
- Joined: Tue Mar 25, 2003 2:48 pm
- Location: teh w00ds
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... 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.
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.
- Bill Drayton Jr.
- Post Apocalyptic
- Posts: 2171
- Joined: Tue Mar 25, 2003 2:48 pm
- Location: teh w00ds
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...
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.
- Bill Drayton Jr.
- Post Apocalyptic
- Posts: 2171
- Joined: Tue Mar 25, 2003 2:48 pm
- Location: teh w00ds