Original Post
Hi,
I know I''ve also posted this message in the "Game Programming" forum, for this I apologize, but that was acceidental and I thought this would be a more fitting place for this type of question.
Anyway ... on with the question ...
I''m looking to start writing my very first game in the not to distant future. Its going to be be small and simple, but at the same time I want to learning something about designing a game/graphics engine.
My initial plan is to design a "Support" layer for math stuff, lists and file reading, etc. Followed by the creation of a "System" layer with a number of sub-systems classes that will be used to interact with:
1) The OS
2) Graphics - DirectX Graphics
3) Input - DirectInput
4) Sound
5) Other stuff
Next, I was planning to implement the rendering layer and it is here where I''m struggling! I would like to know how I should go about implementing the "Rendering" layer in terms of How should I store the world objects? Where should the transformations happen? When should I apply the BSP/Portal etc algorithms? What should go in this layer? ..... you get the picture?!?
Can someone please provide me with some "Best Practices" or articles that will be useful in my little adventure?!?!?
Many Thanks,
Michael