Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

2D Metaballs!

Loading...

Sign in or sign up now!
1,079
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 20, 2010

So theres a game I might end up making as part of a group.
The main character is a blob, and I'm the graphics programmer.
The whole thing screams metaballs to me, and they've always looked so pretty. =]
I gave SDL a blast at first... but 15 balls at ~30fps (on a pretty powerful machine) didn't seem good enough to me.
So what we have here is 50 metaballs running at a vsync'd 60fps through the power of OpenGL and GLSL. Yay shaders.

Edit: I've uploaded the fragment shader for people to look at, it's pretty simple and everything is controlled by the tweakable values at the top.
http://needsmoreninja.joerobson.net/Fragment2D.fs

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • Just implemented Metaballs with C/C++, OpenGL and GLUT on my Macbook... 4 Metaballs: ~21 fps ... :'-(

Loading...
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