Original Post
What would be the best scenario to process a game/demo objects that render themselves. An object is assumed to have a think() and present() think() does logical and math calc. and render() uses d3d to render the object based on the think() results. Hence think() comes first. 1) Scenario: For each object: ProcessObject: Think() Render() 2) Scenario: For each object: Think() For each object: Render() The 2nd approach delays the rendering or the GPU usage till the CPU almost finishes everything. I guess there we can minimize (or exactly have one) Direct3D Present call. And we can utilize the CPU time for the next frame when the GPU is still busy. What do you think? What if there's PlaySound()? Thanks.