2 ms·
Running in another thread does not make it correct, it only increases performance.
by jfkebwjsbx 6y ago
Running in another thread does not make it correct, it only increases performance.
- wtallis 6y agoI think you completely misunderstood that sentence. Let's try again: > The correct solution is to run the simulation on a different thread from the rendering, so that the simulation can be run at an appropriate frequency and the rendering can proceed at whatever framerate the user's hardware is capable of. The "running in another thread" is a way to enable running the simulation at a fixed frequency where it will produce "correct" results, while not imposing the same constraints on the rest of the game engine that are not as sensitive to timestep issues. I never said that moving the simulation to a thread of its own is the entire solution itself, and "increasing performance" isn't the goal or result.
- jfkebwjsbx 6y agoIgnoring your condescending tone, there is no need for another thread to "enable" running the simulation at a fixed frequency. In fact, a myriad of games (and other kinds of simulations) have been doing exactly that for a very long time.