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.

Program Announcements / Crystal Worm Demo

Author
Message
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 30th Apr 2007 19:22
Hi all,

Bored today, no work, so I amused myself by making a little tech demo.

Really shows off the benefits of instanced objects.

Hold space to show FPS.


Good guy, Good guy, Wan...

Attachments

Login to view attachments
JerBil
19
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 30th Apr 2007 20:54
Very nice.
Complete worm: 37-39 FPS
Disassociated worm: 55 FPS
7950 GT video card.

Ad Astra Per Asper
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 30th Apr 2007 21:31
That's a very nice demo Van B. Looks quite awesome when they slowly form to a worm.

I got around 40-50 FPS through the demo.

Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 1st May 2007 01:34
Could you post a screenshot please?

spooky
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 1st May 2007 02:04
Nice.

Starts off at 31 FPS and slows down to about 22 FPS when worm fully formed. Not bad for my aging pc; Athlon XP 2000+, Geforce 7600 GS

Boo!
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 1st May 2007 03:17
Cheers, I think it actually looks better when it's around 20-30fps, it's a bit too fast when running at 60.

Here's a screenie.


Good guy, Good guy, Wan...

Attachments

Login to view attachments
Mr Tank
21
Years of Service
User Offline
Joined: 25th Nov 2002
Location: United Kingdom
Posted: 1st May 2007 03:23
This is really awesome. It seems alive. 20fps down to about 17, but seems smoother.

I did a test to see if instanced objects were faster on my comp but it didn't seem to have any effect.

SUPER BADASS SPACESHIP X: WEBSITE
FORUM TOPIC
Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 1st May 2007 03:38 Edited at: 1st May 2007 03:43
WOAH that looks really cool nice one Van B!


EDIT: I just noticed that your avatar is animated! It glared at me! ahh!

jormos2
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location:
Posted: 1st May 2007 07:01
I can't download , you have screenshot?

thank
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 1st May 2007 17:54
I like it. How long did it take to throw that together? I'm placing my bets on 3 days!

Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 1st May 2007 20:54 Edited at: 1st May 2007 20:55
Nah, probably watched it longer than it took to make .

Code:



Good guy, Good guy, Wan...
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 4th May 2007 03:34
Wow, really sweet. I get about 55 fps on average.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 4th May 2007 19:40
Very nice VanB!

Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 6th May 2007 19:13
Thanks guys, it's not dead yet, got a couple of ideas to expand on this. I want to make a special fish, so that each vertice is unique and can attract a bit of worm. Then I'm gonna animate it and have it swim about, but kinda detatched as the bits try to keep up.


Good guy, Good guy, Wan...
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 6th May 2007 20:21
That code seems pretty efficient. I converted your code to plugin form in C++ to see if there would be any speed increase, and to my surprise there wasn't any (or at least it wasn't noticeable), which to me says that the majority of the processing time takes place actually drawing everything.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 6th May 2007 20:37
Yeah it's really not doing much at all, I like really simple code that still gives the impression that it's kinda organic. I find keeping it simple lets you experiment with it, and keeps it fun to mess around with. Having just objects with no data tied to them is not how I'd usually code though, will probably have to give them some sort of control if they're gonna 'size of a FISH' at the drop of a hat .

For comparison, try changing the INSTANCE OBJECT to CLONE OBJECT, the speed difference is quite noticable. Certainly sold me on using instances whenever I can.


Good guy, Good guy, Wan...

Login to post a reply

Server time is: 2024-05-06 04:21:42
Your offset time is: 2024-05-06 04:21:42