2D Metaballs in HLSL

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
108 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 24, 2012

A quick and dirty implementation of metaballs (blobby things) in 2D, using C#, XNA and HLSL.

This video demonstrates a simple HLSL *.fx file for creating metaball isosurfaces in a 2D plane. They are actually very easy to implement, and can return some very impressive results.

The videos spliced together demonstrate how changing the clamping values for the metaball function, as well as the gradient image, can yield some very nice visual effects in just one draw call.

Demonstrated are 24 metaballs with the same weight moving around in 2D space with a variable lower and upper clamp at 60fps vsync'd.

Eventually I will get around to separating the code from my current work-in-progress XNA game and submit it to allow you to see how the code works.

Music used is 'North Sea Radio' by Paneye, under CC BY-NC-ND 3.0:
http://freemusicarchive.org/music/Paneye/Lost_In_A_Dark_Aquarium/New_Weird_Au...

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more