Problems with 3D Game Engine Programming book
Members - Reputation: 192
Posted 12 December 2012 - 09:50 AM
Im kinda having problems with this book. Its from Thomson Course Technology and its called 3D Game Engine Programming from Stefan Zerbst with Oliver Düvel. Now my problem is that i started reading this book till chapter 3. Now when the first explanation comes up to write down what it says. It compiles normally. Then again there are solution files on this CD. Now i tried to compile does, but it seems like they have some errors in it. Now how can i, controll if im doing this right or not. I mean you can't relly on the solution files. So what are my options?
PS: (Sorry for the bad english im german and im not really good at it.)
Crossbones+ - Reputation: 2455
Posted 12 December 2012 - 09:58 AM
"The code you write when you learn a new language is shit.
You either already know that and you are wise, or you don’t realize it for many years and you are an idiot. Either way, your learning code is objectively shit." - L. Spiro
"This is called programming. The art of typing shit into an editor/IDE is not programming, it's basically data entry. The part that makes a programmer a programmer is their problem solving skills." - Serapth
"The 'friend' relationship in c++ is the tightest coupling you can give two objects. Friends can reach out and touch your privates." - frob
Members - Reputation: 192
Posted 12 December 2012 - 10:07 AM
SnakeMaster, I remember taking a stab at that book a few years ago and recall there being a ton of errors in the presented code (especially on the CD). I am not sure if this will help you, but the author has released updates for some of the code: http://stefan.zfx.info/3dgep.html
Yeah thx for the try Byte but it doesn't solve my problem. It keeps on telling me when i compile. (cannot open include file 'afxres.h'.) And when i search for the file it doesn't exist at all. If this keep on going i have to find another book so i can start developing a game engine. I mean the only books i have found are the one i just told of and a game engine architecture and it doesn't, really point out how to write a game engine step by step. If there is a book that explain me that. I would surely be happy to know about.
Members - Reputation: 149
Posted 12 December 2012 - 11:09 AM
One thing that might work is to replace the occurences of afxres.h with windows.h, but it probably wouldn't make a difference. Or you could try to clean the project before building it (right click on the project and then clean).
If that doesn't work there might be someone else here capable of telling you what to do to make this work. Else a quick google could probably give you a solution.
Edited by SpringDev, 12 December 2012 - 11:16 AM.
Members - Reputation: 170
Posted 12 December 2012 - 11:23 AM
Edit: SpringDev beat me to it, so yeah, what he said.
Edited by BMO, 12 December 2012 - 11:24 AM.
Members - Reputation: 1565
Posted 12 December 2012 - 11:35 AM