Mickelukas
JGO Ninja    Posts: 731 Medals: 25
Java guru wanabee
|
 |
«
on:
2011-11-23 02:08:43 » |
|
Hi all, If you're interested in an OpenGL game that used to be very nice looking compared to other games the source code for Doom 3 has now been made public under GPL https://github.com/TTimo/doom3.gpl
|
|
|
|
Mickelukas
JGO Ninja    Posts: 731 Medals: 25
Java guru wanabee
|
 |
«
Reply #1 on:
2011-11-23 02:09:18 » |
|
Double post, please remove.
|
|
|
|
Cero
JGO Neuromancer     Posts: 1050 Medals: 18
|
 |
«
Reply #2 on:
2011-11-23 06:03:31 » |
|
yes - as announced by Carmack @ this years QuakeCon I understand he had to rewrite some code due to stupid licensing problems, but here it is I like it - although, its not like I can read it and understand it or stuff =D
|
|
|
|
Games published by our own members! Go get 'em!
|
|
Mickelukas
JGO Ninja    Posts: 731 Medals: 25
Java guru wanabee
|
 |
«
Reply #3 on:
2011-11-23 07:24:22 » |
|
He had to add four lines and change two lines because of a patent of Creative...
Mike
|
|
|
|
ReBirth
JGO Wizard     Posts: 1279 Medals: 19
|
 |
«
Reply #4 on:
2011-11-23 17:57:51 » |
|
I havent been understanding opengl... but this is one of my fav game and FPS that freaked me out for first time! 
|
Follow me, your mastah, on TWITTAH!
|
|
|
gimbal
Full Member   Posts: 188 Medals: 11
|
 |
«
Reply #5 on:
2011-12-08 11:27:32 » |
|
I'm always in awe of people that can take Carmack's code and actually make it do something else. There is just so much code in there (even the Wolfenstein3D code was huge), how would you even begin to comprehend it all?
|
|
|
|
|
|
|
Cero
JGO Neuromancer     Posts: 1050 Medals: 18
|
 |
«
Reply #7 on:
2011-12-08 13:06:18 » |
|
I'm always in awe of people that can take Carmack's code and actually make it do something else. There is just so much code in there (even the Wolfenstein3D code was huge), how would you even begin to comprehend it all?
yeah try going back to even your own code after a year or so its hard
|
|
|
|
gimbal
Full Member   Posts: 188 Medals: 11
|
 |
«
Reply #8 on:
2011-12-09 11:12:06 » |
|
I'm always in awe of people that can take Carmack's code and actually make it do something else. There is just so much code in there (even the Wolfenstein3D code was huge), how would you even begin to comprehend it all?
yeah try going back to even your own code after a year or so its hard Especially if you're still in that "less than 10 years Java programming experience" phase where after a year you go back to code that horrifies you 
|
|
|
|
|
sproingie
JGO Strike Force    Posts: 899 Medals: 55
|
 |
«
Reply #9 on:
2011-12-09 12:40:03 » |
|
I don't even like C++, and avoid it wherever possible, but I find Carmack's code to be incredibly readable. The absence of idioms like virtual inheritance or template metaprogramming leads to some very straightforward code, and quite well-commented code at that. You want giant code hairballs, go read the source to libstdc++ sometime.
This isn't to say that I don't like the existence of clever idioms in languages (my language of choice these days is Scala, which is stuffed top to bottom with clever tricks), it's just that I appreciate them most when they make things clearer in the end.
|
|
|
|
|
Games published by our own members! Go get 'em!
|
|
impaler
JGO n00b  Posts: 5
|
 |
«
Reply #10 on:
2011-12-09 12:51:06 » |
|
What better way to learn than by reading the source code of a finished product?
|
|
|
|
|
gouessej
JGO Kernel      Posts: 3560 Medals: 30
TUER
|
 |
«
Reply #11 on:
2011-12-09 13:15:05 » |
|
What better way to learn than by reading the source code of a finished product?
Making a finished product.
|
Julien Gouesse
|
|
|
princec
« League of Dukes » JGO Kernel      Posts: 8089 Medals: 96
Eh? Who? What? ... Me?
|
 |
«
Reply #12 on:
2011-12-09 14:31:48 » |
|
Hehe that's ironic coming from you Julien  Cas 
|
|
|
|
ReBirth
JGO Wizard     Posts: 1279 Medals: 19
|
 |
«
Reply #13 on:
2011-12-09 23:56:15 » |
|
What better way to learn than by reading the source code of a finished product?
try to make one by yourself and fix every errors. When errors are out, try something naughty 
|
Follow me, your mastah, on TWITTAH!
|
|
|
ra4king
JGO Kernel      Posts: 3160 Medals: 196
I'm the King!
|
 |
«
Reply #14 on:
2011-12-17 23:45:00 » |
|
Hehe that's ironic coming from you Julien  Cas  Bahahahahaha 
|
|
|
|
gouessej
JGO Kernel      Posts: 3560 Medals: 30
TUER
|
 |
«
Reply #15 on:
2011-12-18 05:09:02 » |
|
Hehe that's ironic coming from you Julien  Cas  Lol I wasn't ironic, I'm still far from having succeeding in making a finished product but I still think trying to do it is a nice way to learn a lot of things.
|
Julien Gouesse
|
|
|
gimbal
Full Member   Posts: 188 Medals: 11
|
 |
«
Reply #16 on:
2011-12-20 11:25:25 » |
|
What better way to learn than by reading the source code of a finished product?
You can learn programming this way, you are generally not going to learn the concepts behind what is programmed though, especially when dealing with something as complex as a 3D game. I can't speak for other people, but I certainly wouldn't be able to figure out how for example occlusion culling works just by looking at the code of a 3D FPS game, I need an article or book to explain the theory to me in detail (with many pictures) before I can even begin to understand code.
|
|
|
|
|
princec
« League of Dukes » JGO Kernel      Posts: 8089 Medals: 96
Eh? Who? What? ... Me?
|
 |
«
Reply #17 on:
2011-12-20 17:53:28 » |
|
Trying is the most important thing! Without trying no-one ever succeeds. Cas 
|
|
|
|
R.D.
Full Member   Posts: 122 Medals: 2
"For the last time, Hats ARE Awesome"
|
 |
«
Reply #18 on:
2011-12-21 15:58:19 » |
|
Trying is the most important thing! Without trying no-one ever succeeds. Cas  I would go a little bit further and say, failing is even more important.
|
|
|
|
Roquen
JGO Strike Force    Posts: 827 Medals: 25
|
 |
«
Reply #19 on:
2011-12-22 04:37:26 » |
|
The old "axe" about learning more from failures than successes is pretty true. My take on this stuff is that CS is applied mathematics. And the only way to truly learn either is to get off your a$$ and work problems.
|
|
|
|
|
princec
« League of Dukes » JGO Kernel      Posts: 8089 Medals: 96
Eh? Who? What? ... Me?
|
 |
«
Reply #20 on:
2011-12-22 05:16:04 » |
|
Pedant mode on but... I think I was saying, if you don't even try, you can't even fail either. Cas 
|
|
|
|
Roquen
JGO Strike Force    Posts: 827 Medals: 25
|
 |
«
Reply #21 on:
2011-12-22 05:30:11 » |
|
Sure. And your position of telling people getting off their bums and coding stuff (even if in the stupidest way possible) rather than getting mired down in minutia is good advice. Only with a moderate amount of experience can you start to get a feel for when complexity is truly needed.
|
|
|
|
|
princec
« League of Dukes » JGO Kernel      Posts: 8089 Medals: 96
Eh? Who? What? ... Me?
|
 |
«
Reply #22 on:
2011-12-22 05:40:19 » |
|
I don't think I'll ever figure it out, myself. I've been doing it for over 30 years now and I still can't get the balance right. Cas 
|
|
|
|
Roquen
JGO Strike Force    Posts: 827 Medals: 25
|
 |
«
Reply #23 on:
2011-12-22 05:44:01 » |
|
My thinking is that you're an expert programmer if you fit into either of these conditions: 1) You've forgotten more about CS than you currently know. 2) You realize that you'll never know all that much.
|
|
|
|
|
gimbal
Full Member   Posts: 188 Medals: 11
|
 |
«
Reply #24 on:
2011-12-28 07:04:07 » |
|
I don't think I'll ever figure it out, myself. I've been doing it for over 30 years now and I still can't get the balance right. Cas  And nobody probably ever will, there are simply too many conflicting interests to ever get to a point where you can follow the mighty rule of "thou shalt engineer software". Conflicts of interest, changing requirements, money, deadlines- they all kill proper software engineering. And those murderers are always lurking, no matter what project you do.
|
|
|
|
|
|