Not logged in, Join Here! or Log In Below:  
News Articles Search    

Submitted by Antti 'Dalanath' Levomäki, posted on October 21, 2002

Image Description, by Antti 'Dalanath' Levomäki

Here's my recent metaball-demo, called Lava. I got tired of the usual 'pile of metaballs blobbing around'-scene and made a worm out of connected metaballs chasing some particles. Looks crappy in still screenshots, try the demo for a better effect :)

The metaballs are rendered environment mapped with the 'marching pyramids'- algorithm, and they are connected to each others with the particle/spring system from the 'Advanced Character Physics'-article. The metaball surface is rendered in slices one cube high, and the surface is tracked similarly as in an article at AngelCode. The worm is made out of 10 metaballs, connected by 9 springs. It's written in C++ / DirectX 8.1

Additionally there are 10 balls of light flying around, trying to stay close to the worm. Two of the worms have a lightsource attached to them, lighting the scene. Runs at around 60-90 fps on my AMD XP2000+ / GeForce2 GTS, probably needs a T&L-card to run.

More info and the demo at (having problems with the counter, try here if the .tk doesn't work)

Antti 'Dalanath' Levomäki

Image of the Day Gallery


Archive Notice: This content is archived, and commenting is no longer active. It is here for reference purposes. This content was added on an older version of flipcode, before the site closed in 2005.
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.