1 |
[quote]Does it? Within a single time-step? I'm curious what's being done that doesn't allow parallelization of the physics system.[/quote]
|
1 |
[quote]Does it? Within a single time-step? I'm curious what's being done that doesn't allow parallelization of the physics system.[/quote]
|
2 |
A very simplified example (may be slightly incorrect, but the essence should be): Let's take two units dying in the same frame.
|
2 |
A very simplified example (may be slightly incorrect, but the essence should be): Let's take two units dying in the same frame.
|
3 |
Both need to leave a wreckage and are competing over a shared pool of ids. If they die in parallel, their ids may get switched leading to desync.
|
3 |
Both need to leave a wreckage and are competing over a shared pool of ids. If they die in parallel, their ids may get switched leading to desync.
|
4 |
\n
|
4 |
\n
|
5 |
Also think about random number generation where order is crucial.
|
5 |
Also think about random number generation where order is crucial.
|
6 |
\n
|
6 |
\n
|
|
|
7 |
These issues may be specifically addressed with some very creative solutions but almost everything that happens in the engine fires up some lua event and if these will run in parallel all hell will break loose.
|
|
|
8 |
\n
|