I am working on an indie game in time, currently on editors and the engine. Screenshot?
Well, the engine runs very good, (don't worry about the FPS, screenshot is a bit outdated, i increased the performance in the last week).
So, i like to implement a rendering process function, that increases performance by rendering only something like "35 FPS"
Currently, the functions looks like:
// main loop
while(!bQuit){
UpdateMessages(); //What messages from windows?
UpdateRenderingObjects(); //Calculations, like "was object x moved? if true, recalculate its model matrix
RenderWorld(); //Renders everything
FlushStates(); //Reset keystates and... other stuff
}
So, i like to implement a resource saving process, but i had have no idea, so i ask you for your solution, how do you implement something like this?