Ask HN: How to approach making a 3D Game Engine?
https://news.ycombinator.com/item?id=8920708This has been a project that I knew I wanted to undertake for years now.
I'm slowly reading books, improving my general programming skills in the process (I'm a CS & Math student also working as a developer of educational games in JavaScript using a proprietary engine), but it feels like when I exhaust the general-purpose books aimed at turning me into an all-round better developer (Clean Code, Pragmatic Programmer and Effective C++ are ones that currently have my attention) - I'm left with a giant body of information relevant to the task at hand and no knowledge of where to start.
I want to mess with all the nitty-gritty details, and learn how to write neat, performant and extensible code. Do the math. Do it all.
But I have no focus. All I know is that I want to delve into OpenGL and C++, but I don't really have a clear picture of what should be done with them. What are the basics of engine development that I should start with?
I only have tidbits of information gathered from here and there, but nothing is formed in my brain and it's a bit frustrating.
I'm scared that if I just start with no clear direction, I'm going to end up throwing away lots of code and become discouraged.
Would love to hear your thoughts. Thank you.