Subscribe to:
Post Comments (Atom)
All material on these pages is ©2003-2010 by Joe Belland, Dave Belland, Tom Adams, Cari Burud and/or Paul Harold except for the stuff that we blatantly stole from other sources. All rights reserved.
This blog is incomplete; you can help by expanding it.
Brilliantly Written by
Dave
at
1:07 PM
Woot! I already crashed it!
ReplyDeleteAnd it was only 958 planets at 1024x768.
Well, I guess technically, it didn't crash. It just was not responding for a while.
ReplyDeleteOn my dual-core processor at work, turning on the influence field with a few hundred planets while running full-screen can easily take 20-30 seconds to draw one frame. 958 x 1024 x 768 = 700,000,000+ gravity calculations per frame. That's a lot of math. Even at the default size, with a lot of planets it can take more than 3 secs/frame with a full influence field.
ReplyDeleteYum... People come by my desk and get drawn in to watching the simulator... now, with the faster speed, it's effect will be even greater.
ReplyDeleteIt draws you in.
The current sim I have running has the following stats:
ReplyDeleteSim16856: P: 9/10/288 S:602190 (and counting) T:1000 F:22 E: 166,082,115,723, 307... (then it doesn't give any more information)
Is there any way to speed up the sim?
No... no way to speed it up. And by the looks of it, that's one of those that could go forever. Let it run for a week and see what happens. The highest score I've ever gotten is around 3,000,000.
ReplyDeleteYeah, the problem I have is I eventually need to shut my laptop down to keep ti from overheating.
ReplyDeleteIs there a way to pause the simulation and restart it after a reboot? (can this feature be added?)
Ok, load/save would be a lot of work, but you can now use = (Equals/plus) and - (minus) to speed up or slow down time. Slowest speed is the normal speed, fastest is 1024x. Note that this means it runs the sim x times per frame, i.e. 1024x speed means it COMPUTES 1024 states between each render with no loss of accuracy. On my PC, with < ~50 planets there is no loss in frame rate. Some systems will stabilize before the first frame is drawn.
ReplyDeletewow! Neat change. I can see what you mean by either hitting stability or crashing the program... at 1024x the speed of the sim. wow.
ReplyDelete