Original Post
I''m making a very basic engine. It''s actually so basic and will probably not draw more than that I need 1 VB and 1 IB. My problem though is still how to structure/save Objects to be drawn.
I was thinking of having a cObject class or simular that saved the object info + matrix for object + linking to texture etc (Use a own texture class or something so I don''t waste additional memory on loading multiple instances of a texture etc). Then just itterate a counter or something for each object so I could have a very simple cD3DEngine.Render(); that just looped through objects and rendered them with their matrix. Would this be a good way? Could anyone point me to a simple source for a simple engine thats nice.