6 ms·
Books I used to develop a game engine
- ohazi 9y agoJason Gregory's "Game Engine Architecture" is very well written, and you can actually read it cover to cover. Highly recommended. https://www.amazon.com/Engine-Architecture-Second-Jason-Gregory/dp/1466560010/ https://www.amazon.com/Engine-Architecture-Second-Jason-Greg...
- auggierose 9y agoI came to the conclusion that I need to learn blender as well, and spent about 2 weeks using it, but man, it is such a frustrating (yet powerful) tool, somewhat like Apples Interface Builder :) It’s just not how I would like to work. I want more control via a super smooth interactive text-based interface; that interface should integrate seamlessly with a visual direct manipulation interface.
- moron4hire 9y agoIf that is what you want, then I think, perhaps, you haven't learned Blender deeply enough.
- dpwm 9y agoI first learnt Blender about 12 years ago. The interface improvements that have been made since then have been amazing for discoverability and they have kept (most of) the old keyboard shortcuts too. This is not a bad thing at all, but it does mean that there are tutorials which still make it seem like Blender requires just knowing and memorising loads of keyboard shortcuts. When learning Blender, the space bar is definitely your friend these days.
- auggierose 9y agoI am pretty sure I have not learnt it deeply enough! I am also pretty sure that what I want does not exist yet, so it would not make sense to get deeper into Blender.
- maaaats 9y agoYou can manipulate everything in blender via python.
- bringtheaction 9y agoI used the Python API of Blender in a project with a friend of mine once to define the objects and the scene we were making and to provide parameters for the placement of said objects. It was an okay-ish but not great experience. The API did not feel totally Pythonic, and it did not feel like it was intended for direct use. It felt more like it was meant for plumbing and plugins, not for creating and controlling a specific scene.
- jefftime 9y agoMichael Abrash's Black Book is a very enjoyable read. The material is oriented towards a much lower level than people are working with today, but there's some great information in there. I feel that it does a good job of teaching one how to think about approaching a problem; not just DOS graphics techniques
- Bizarro 9y agoThe Black Book is a classic. Obviously, much of the material is dated, but Abrash is a great writer. IIRC, there's some tidbits in there about Carmack's approach to getting BSP into Quake...or maybe that was Masters of Doom.
- jefftime 9y agoYou are correct. There are a couple chapters on some of the techniques in Quake such as BSPs, surface caching, lighting, etc.
- Exuma 9y agoJesus, I need to learn how to read faster.....
- sempron64 9y agoHow much value is there in reading without completing exercises? I find that, for myself, knowledge gained through hands-off reading is very shallow and difficult to apply. On the other hand knowledge I've applied hands on has been vastly valuable. One recent example that springs to mind is kmv data sketches. I understood their theory and the algorithm's details but the (simple) concept and it's cases of applicability did not really click for me until I wrote one for use in an application on someone else's recommendation. I spent the next week gushing about my revelation, to my colleagues' annoyance.
- Exuma 9y agoWhat is a KMV data sketch, the more detail the better - sounds fascinating
- __float 9y agoOne of the ways we count distinct elements in an unknown amount of data--probabilistically! You may have heard of Bloom filters and the like, and this is a similar family of algorithms. https://research.neustar.biz/2012/07/09/sketch-of-the-day-k-minimum-values/ https://research.neustar.biz/2012/07/09/sketch-of-the-day-k-...
- Exuma 9y agoOh that makes sense, bloom filters are super fun
- bringtheaction 9y agoI find a combination useful. The things I read without doing exercises gives shallow knowledge indeed, but that shallow knowledge lets me know what I must learn about later when I need it. Also shallow knowledge is easier to obtain, so I can spend time on getting shallow knowledge that would not have been time I could use for real learning because there the limit to how much real learning can be absorbed during say a day is lower than the amount of time available in a day IMO.
- vvanders 9y agoSolid list. Out of all of them Realtime Collision Detection stands out. It's basically datastructures for real-time spatial data. Every chapter of that book is gold.
- dimovich 9y agoThanks for the title. Btw, can someone recommend a good C library that does octrees?
- vanderZwan 9y agoI just looked if there was a newer version of it. There doesn't seem to be, but Christer Ericson does still have a dedicated page for the book. The errata section[0] is surprisingly small given that it is 632 pages. I thought this snippet was interesting: > All illustrations in the book were redrawn from my original illustrations. Unfortunately, the company in charge of redrawing the illustrations mangled almost all of the illustrations doing so (right angles became accute or obtuse, etc). I thought I had caught all their errors before the book went to print but sadly it seems I missed a few. Tangent: his 2003 presentation on memory optimisation[1] is also still a very interesting read, especially the last section on aliasing. I wonder how much of those comments still apply to modern languages (or C and C++ compilers, for that matter). [0] http://realtimecollisiondetection.net/books/rtcd/errata/` http://realtimecollisiondetection.net/books/rtcd/errata/` [1] http://realtimecollisiondetection.net/pubs/ http://realtimecollisiondetection.net/pubs/
- faragon 9y agoPure gold, indeed. It is a very important reference book (can be found in Amazon both new and used), not only for collision detection, but also for space partition, geometry, code optimization, etc. Also, the author has an amazing blog in the web page of the book: http://realtimecollisiondetection.net/blog/ http://realtimecollisiondetection.net/blog/
- bluedino 9y agoWhat engine? How long did it take? Solo or team project?
- psyc 9y agoBefore I developed a serious rendering engine, I'd read Advanced Animation & Rendering Techniques by Watt & Watt [1], cover to cover, a dozen times. It's pretty dated now, but at the time I first acquired it (90s) it was the most comprehensive overview of rendering I knew of. I'd also read Real Time Rendering, and Math for 3D by Lengyel, which are both on this list. For really proper collision, Real-Time Collision Detection (on the list) was absolutely invaluable, but I didn't get to that until a few years later. Around that time, I also read the excellent architecture book Game Engine Architecture [2] which I don't see here. It's well written, does things in the right order, and it's very comprehensive. [1] https://www.amazon.com/Advanced-Animation-Rendering-Techniques-Alan/dp/0201544121 https://www.amazon.com/Advanced-Animation-Rendering-Techniqu... [2] https://www.amazon.com/Game-Engine-Architecture-Jason-Gregory/dp/1568814135 https://www.amazon.com/Game-Engine-Architecture-Jason-Gregor...
- _sdegutis 9y agoThis is neat and I always find myself coming back to these sort of topics year after year, learning stuff I’ll never actually use, about how to make a video game. I bet there’s a lot of people here like me who got into programming as a teenager because they wanted to recreate their favorite 2D video games, ending up having a useful career skill instead and almost no video games to show for it for lack of time. The issue was only made worse when the industry went toward much more math heavy 3D games which has logic my mind just can’t wrap its head around. Maybe that explains why Kickstarter and Steam saw a ton of retro 2D games in the past few years... some people just went for it.
- psyc 9y agoHave you tried Unity or Unreal? I think they're relatively easy for a programmer to get into, and they are great fun to tinker with as well as enormously powerful.
- _sdegutis 9y agoYep. Started teaching Unity to my kids. I have neither the imagination nor the patience and time I had when I was their ages and wanted to make video games. Figured it’d be a better use of time to give them the tools and time and opportunity to try their hand at it. They’ve made some cool small things in it so far.
- psyc 9y agoThat's wonderful! I can only imagine the joy I would have had, if I'd had access to anything like Unity or Blender when I was about 12 or so.
- fnayr 9y ago> Maybe that explains why Kickstarter and Steam saw a ton of retro 2D games in the past few years I actually think (as someone with gamedev experience) that the explanation has to do with the difficulty of creating art assets for 3d games rather than complex math (as other users have pointed out, current widely used engines take care of mostly). Indeed, even indie games that are made in 3d generally take a low poly style as they are easier to make (and obviously easier to achieve performant results).
- megaman22 9y agoCan anyone recommend a project-based book for learning OpenGL? There have always seemed to be a lot more books in this style for DirectX, for some reason, but when it comes to OpenGL, the references are always the manuals, whether that be the red, orange, or blue books. I've used the Nehe tutorials in the past, but they are severely dated the last time I checked.
- pjmlp 9y agoThe reason being game developers mostly prefered DirectX and ARB (pre-Khronos) was not that into games. And despite urban myths, game consoles never had much love for OpenGL. https://softwareengineering.stackexchange.com/a/88055 https://softwareengineering.stackexchange.com/a/88055 Had Apple not adopted OpenGL and GL ES as a means to save 3D R&D and make their shinny new OS attractive to UNIX devs (they were researching Quickdraw 3D initially), OpenGL would be history concernig 3D game APIs.
- megaman22 9y agoGreat read, I hope that is mirrored somewhere to protect against it being removed ftom stackexchange someday.
- insertnickname 9y agohttps://web.archive.org/web/20180208111544/https://softwareengineering.stackexchange.com/questions/60544/why-do-game-developers-prefer-windows/88055 https://web.archive.org/web/20180208111544/https://softwaree...
- skocznymroczny 9y agoWhile not a book, this is a good OpenGL multi-part tutorial https://learnopengl.com/ https://learnopengl.com/
- jason_slack 9y agoCocos2d-x is a 2D game engine that sits on top of OpenGL. http://cocos2d-x.org http://cocos2d-x.org
- Keyframe 9y agoIf you're interested in rendering, more in general, there's Principles of Digital Image Synthesis by Glassner. This is probably the only book(s) I can point out as a standing example out of all I've learned from during the studies in the field. Lots of nice material now out there, of course, but this one is at the core of everything. It wasn't maybe suitable for realtime rendering, but as tech advances - we're getting there. It's even available now online: http://www.realtimerendering.com/Principles_of_Digital_Image_Synthesis_v1.0.1.pdf http://www.realtimerendering.com/Principles_of_Digital_Image... (and damnit I paid a bit over $200 back in the day)
- sureaboutthis 9y agoAs did I and I feel your pain. Thanks for the link.
- benabbottnz 9y agoFor those who are interested in 2D game development, the Phaser JavaScript framework just released version 3.0 which had the support of a Mozilla Grant. https://github.com/photonstorm/phaser https://github.com/photonstorm/phaser
- partycoder 9y agoMany of those books contents overlap. The overlap is often good, though. If you get stuck, you can read another book and continue making progress. For now, 3D game development will see a lot of growth once VR/AR gains adoption. Now, to be honest, you can make a decent game with just high school math.
- segmondy 9y agoGive me a break! 50+ books? No one needs that many books to develop a game engine.
- bhrgunatha 9y agoIt's a comprehensive list of books. There's a link in the very first paragraph to an essential/recommended list: https://www.haroldserrano.com/blog/best-books-to-develop-a-game-engine?rq=books https://www.haroldserrano.com/blog/best-books-to-develop-a-g...
- elvinyung 9y agoIs this just a bunch of affiliate links?
- maaaats 9y ago> Hope it helps. Not really, listing 50 books without any explanation is as good as listing none. A reader is none the wiser.
- HugoDaniel 9y agoThree books on quaternions ? One wasn't enough ? This list reads like "here is a list of all the books i know that exist somewhat related to this topic"
- kelvin0 9y agoI know this author means well, but even for a game dev 'veteran' like myself, all this reading seems quite daunting. Can't imagine what a junior aspiring game dev thinks.
- VHRanger 9y ago"let's use unity"
- krosaen 9y agoI used to consider 3d graphics something that's cool but non-essential to learn, but lately, getting into computer vision and robotics, I've found that much of 3d graphics overlaps / are a prerequisite. It's fun that these topics are becoming more widely relevant as more jobs open up in computer vision and robotics.
- psyc 9y agoCertainly a lot of overlap with robotics, since articulated models in a game are like virtual robots, complete with real-time requirements. (But no actuators, thankfully.)