I'm starting up on OpenGL and want to write a well structured and expandable yet relatively simple 3D graphics engine for fun and personal knowledge.
I'm looking for information concerning best practices and design patterns related to this sort of code.
Specifically, I'm having issues deciding how classes should be organized, how to divide responsabilities, etc. (Right now, I'm at the point where everything is done in the rendering method!)
Can anyone give me some advice or point me to some appropriate litterature?
Thank you very much.