• Advertisement
Sign in to follow this  

Video Game Architecture

This topic is 2111 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[quote name='Eric Lengyel' timestamp='1333316424' post='4927286']
I provided a link to the C4 diagram just because I thought the OP might have been interested in seeing how one example of a professional game engine is put together. Nothing more. I'm not telling people that's the only way to do things, and I'm not saying that other solutions are wrong. The diagram itself is just a big picture of how a bunch of different systems are related, and there is nothing exact about it. The green/orange boxes represent large collections of code, and the gray boxes represent features. The green arrows loosely represent dependencies, and the little black arrows simply show where in the engine specific features are handled. Red arrows are the same as green arrows, but come from plugin modules as opposed to the main engine. Arrows that are not connected to anything mean that a collection of code is used throughout the engine and that it would be silly to connect arrows from that box to almost all the other boxes.
[/quote]

Thank you for your explanation, if you put this together with the diagram, you would invalidate most critique I had on the diagram.

[quote name='Eric Lengyel' timestamp='1333316424' post='4927286']
flodihn, some of your comments are way out of line, and you've shown a complete lack of respect for people (not just me) who clearly know a lot more than you.
[/quote]
I agree and apologize to you, accusing people for not being software engineers when they are in the software industry is something very disrepectful, I would never do that (knowingly) to anyone face to face or over the Internet.
To my defense I must say that I thought you were just random dude on the Internet, if I knew you actually the person that created the whole engine and that diagram, I would have not said such a thing, or if I had, I would have been much more diplomatic.
Also when I wrote that, I thought the C4 Engine and its architecture diagram as company/entity, which would likely not read this post, therefore I was quite harsh.

[quote]
I have a Ph.D. in computer science, I've written or contributed to 9 books on the topics of game programming and computer graphics (and my game math book has been a bestseller for over a decade), I designed the graphics driver architecture for the PlayStation 3 (see patent [url="http://www.google.com/patents?id=aESzAAAAEBAJ"]#20090002380[/url]), I've worked in the industry for 16 years at companies including Sierra, Apple, and Naughty Dog, I regularly speak at the Game Developers Conference, and I've been running a successful game engine company for the past 7 years where I am the sole programmer for the C4 Engine. The C4 Engine architecture and source code are widely regarded by professional game programmers as some of the cleanest design in existence. Now tell me, exactly what qualifies you to say I don't have a clue about software engineering?
[/quote]
I have no doubts the engine has a very good archicture, in hindsight, my posts might looked like I did critisize the engine architecture itself, I just want to clarify my only critique has been about the diagram itself.

I am pretty sure you have one of the best game engine in the industry, a couple of years, when doing some research I tried to find the architecture of the largest engines around, like Unity3D, CryEngine, etc. I did not find anyone explaining how they have designed their engine, which makes yours stand out.

Also, I was just to clarify that I did not really accuse Eric for not being an software engineer, so I quote myself:
[quote]
I did not call the developers clueless about software development, I called them clueless about software engineering on very loose basis, perhaps they are awesome software enginners but it does not show on that diagram.
[/quote]

Share this post


Link to post
Share on other sites
Advertisement
I learned tons reading Game Coding Complete and the blog at [url="http://gamearchitect.net/"]http://gamearchitect.net/[/url], then also digging through the XNA engine at [url="http://xnafinalengine.codeplex.com/"]http://xnafinalengine.codeplex.com/[/url]. Thank you for showing that diagram of C4, I'd love to read more about the high-level overview. Does anyone have more links to discussions or breakdowns of engine designs? I have implemented small ones in different school projects, but am now looking to really cement the same concept as the OP; the separation of graphics and game logic.

Share this post


Link to post
Share on other sites
[quote name='Soaps79' timestamp='1333596030' post='4928373']
I learned tons reading Game Coding Complete and the blog at [url="http://gamearchitect.net/"]http://gamearchitect.net/[/url], then also digging through the XNA engine at [url="http://xnafinalengine.codeplex.com/"]http://xnafinalengine.codeplex.com/[/url]. Thank you for showing that diagram of C4, I'd love to read more about the high-level overview. Does anyone have more links to discussions or breakdowns of engine designs? I have implemented small ones in different school projects, but am now looking to really cement the same concept as the OP; the separation of graphics and game logic.
[/quote]

Hi Soaps79. Like I said in another thread:

“I find the Jason Gregory’s book (Game Engine Architecture) to be a great survey of graphic engine technologies.
I don’t know the time frame that you have, your skills, and the level of technology that you want to achieve. However, I can recommend that you research about data oriented design and component oriented design. For me the core of the engine start there, then you can plan the assets and stuff. “

I learn a lot from this book and it helps to develop the current structure of my engine.

Bye!!!

Share this post


Link to post
Share on other sites
[quote name='jischneider' timestamp='1333934976' post='4929432']
[quote name='Soaps79' timestamp='1333596030' post='4928373']
I learned tons reading Game Coding Complete and the blog at [url="http://gamearchitect.net/"]http://gamearchitect.net/[/url], then also digging through the XNA engine at [url="http://xnafinalengine.codeplex.com/"]http://xnafinalengine.codeplex.com/[/url]. Thank you for showing that diagram of C4, I'd love to read more about the high-level overview. Does anyone have more links to discussions or breakdowns of engine designs? I have implemented small ones in different school projects, but am now looking to really cement the same concept as the OP; the separation of graphics and game logic.
[/quote]

Hi Soaps79. Like I said in another thread:

“I find the Jason Gregory’s book (Game Engine Architecture) to be a great survey of graphic engine technologies.
I don’t know the time frame that you have, your skills, and the level of technology that you want to achieve. However, I can recommend that you research about data oriented design and component oriented design. For me the core of the engine start there, then you can plan the assets and stuff. “

I learn a lot from this book and it helps to develop the current structure of my engine.

Bye!!!
[/quote]

I can also vouch for this book. I've been learning about game engine's recently and this book has helped tremendously. It's not really about implementation (although there is a little bit) as much as it is about the overall architecture and design of a game engine. it includes some useful diagrams and gives a brief overview of each section before breaking them all up and going in depth.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement