Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Infection Simulator / Screensaver

Author
Message
Pharoseer
17
Years of Service
User Offline
Joined: 21st Feb 2007
Location: Right behind you
Posted: 21st Jan 2009 03:27
Hey gang,

I haven't been posting on the boards much lately as I've been too busy with various projects. However, here is something that I've been working on the past week that I wanted to share. While technically complete I need to do a few more optimizations and set it up for use as a true screensaver (complete with the preview and settings windows).

Here's a screenshot of the beast in action:



The simulation is 1500 cells (metaballs) running in 800x600. If you hit the spacebar you can disable the static and interference, but I think having that makes the whole thing a lot more interesting.

Also, this is a side project that will eventually be part of a promotional package. Don't expect any major updates to it anytime soon.

Hope you like it!

-Frank

Attachments

Login to view attachments
Dragon Knight
17
Years of Service
User Offline
Joined: 10th Jan 2007
Location: Newcastle
Posted: 24th Jan 2009 03:34
Pretty cool frank, it baffles me how you got the cells to be so fluent.

Runs a bit slow on my computer, but when i took out the static seemed to optimize it a bit, but to be fair my computer is not the fasted gun in the west heh.

Good work

----------------------------------
http://www.hybridwolves.co.uk
----------------------------------
Pharoseer
17
Years of Service
User Offline
Joined: 21st Feb 2007
Location: Right behind you
Posted: 24th Jan 2009 09:41 Edited at: 24th Jan 2009 09:49
Thanks, I'm glad you like it. Don't feel too bad about it running slow. It runs a bit slow on mine. I've been optimizing the hell out of it, pre-calculating as much as possible, unwinding loops, etc. and it's still probably doing about 4 million operations per frame outside the graphics pipeline.

I think I stumbled onto a way of cutting that down by as much as 50-75%, but so far my tests have all given poor results. It's funny how sometimes fewer operations yields longer execution times. I really need to break out a pencil and piece of paper and just do a good old fashioned code walkthrough.

Oh well, it's fun to tinker with. I'm going to eventually give options to change the number of cells, the resolution, disable the visual extras (including the thermal window) and maybe even change the color schemes used. Hopefully my bigger projects start shaping up as nicely as this one did.

-Frank
Jimpo
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location:
Posted: 24th Jan 2009 19:48
~"This application has failed to start because the application configuration is incorrect."

Never got that error message before... Any idea why I can't run this?

Pharoseer
17
Years of Service
User Offline
Joined: 21st Feb 2007
Location: Right behind you
Posted: 26th Jan 2009 00:00 Edited at: 26th Jan 2009 00:14
Sorry Jimpo, I've never seen that one either. The only thing I can think of is that it runs in 800x600 at 32 bit color depth. Could that be causing the issue? I could post an alternate version in 16 bit color or the default resolution if need be.

-Frank

[edit]

After a bit of research I've discovered that this could be a "side by side" issue (SxS). As soon as I can determine if that's really the problem, I'll post a solution for you.

Login to post a reply

Server time is: 2024-11-24 09:04:19
Your offset time is: 2024-11-24 09:04:19