> I agree in that a threaded version would be more beautiful :o), but I
> dont think it's the way to go as long as the client machines (Pentium,
> K6, M2) only have one processor. There is to much overhead switching
> between the threads instead of using that power to have a little better
> physics model, IMO.
evaluations of the physics equations (assuming you are not willing to
go into "slow-motion" mode) than you spend doing a thread
switch. (Remember, it's not much more than slamming a stack pointer
and saving a handful of registers on an x86. It was nice under DOS,
when that was exactly what it was.)
It's only recently that I've gotten to play with big, multiple-CPU
iron. Single CPUs still have a good bit of life on the desktop. :-)
I worked at Papyrus for a while and this is the Papyrus model of physics
(constant timebase) contrasted with the MicroProse model (constant
framebase).
If you can maintain a constant (high enough) framerate, or are willing
to go slow-motion at times, there is no disadvantage to the MPRS
model, and it's arguably a good bit easier to code and debug and is
slightly more efficient. The problem is, you can't... :-)
3 seconds of latency is going to kill any chance of a head-to-head
motorsports sim... That's a whole straightaway on a some circuits. You
don't need constant latency, but you do need reasonably low
latency. (Praise cable modems, ADSL and ISDN, as they avoid some D/A
and A/D steps, which add latency to the link.)
It would seem that would work, and in theory would work. (constant
timebase physics systems have a simplicity advantage here) But,
there's a lot of chaos in the system, particularly when you consider
wind and draft effects that it's not totally clear that you could make
this system work easily. (Given enough effort, you could, but
cryptographically signing binaries might be a lower effort admittedly
less secure method to achieve better anti-hacking than currently exists.)
And of course, your proposed method still isn't hack-proof, as I could
envision a system that just doesn't allow (or subtly reduces) tire
wear or fuel consumption. That wouldn't be caught by your system,
since you'd need to rely on the client for the initial
world-configuration vector which would include the initial hacked tire
wear or fuel level.
(What do you want to bet that the number closely reading this thread
is now well under 10, perhaps as low as 2? :-) )
---Jim