Spinning off the graphics engine...

posted in My Epiphany
Published August 23, 2007
Advertisement
So, I am revisiting the core framework for Epiphany and have realized that my graphics engine should be spun off from the game engine. Why? Well for one, the code is looking more and more speghettish ;) The other reason is that the graphics engine and game engine perform very unique tasks...

Ideallty, it the game engine should be a "hub". As such, it should implement the game loop and the scene graph. During each iteration of the game loop the game engine should process each game entity by making requests against the graphics engine (and other engines).

The graphics engine should be responsible for loading, rendering, and disposing of game entities AND recovering itself (if necessary). The graphics engine should also maintain resource pools for the loading (and sharing) of graphics resources such as Fonts, Meshes, Textures, and Shaders.

Previously the game engine was handling all of these tasks - and as such it was getting more and more difficult to maintain.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement