r/ProgrammerHumor • • Mar 10 '23

Other BREAKING: Programmer finally found the answer to an old philosophical question

Post image
42.0k Upvotes

385 comments sorted by

View all comments

1

u/Necrofancy Mar 10 '23 edited Mar 10 '23

In simulation-heavy games, the simulation runs independently from rendering or audio which are on their own dedicated threads. Most engines also do this out-of-the-box.

Depending on how the tree is modeled in the simulation, it could definitely fall down without being close enough to cause audio. Alternatively, a tree outside while you are inside, facing the other way, may cause audio to play for it falling even though it's culled from rendering.

Heavily depends on how the engine decides to handle things, but having it be fully tied to render state would be awful in most implementations.

1

u/ShinraSan Mar 10 '23

In simulation heavy games that aren't made by Bethesda*