Results 1 to 5 of 5

Thread: Metaball tutorial

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2004
    Location
    Denmark
    Posts
    2

    Metaball tutorial

    I've been looking for a very understandable and explaining tutorial on metaballs, with some kind of code where it's not just some small examples where you don't get the connection..
    So I was wondering if any of you knows a good one, which has the things mentioned above + maybe something about the algoritics for metaballs.

    Any kind of help is welcomed..

    Thx in advance..

  2. #2
    Junior Member Newbie
    Join Date
    Sep 2004
    Posts
    9

    Re: Metaball tutorial

    This may not be what you're looking for but I just like to check out various topics and drop what I know about the subject in hopes that it might help someone.

    My understanding of metaballs is that they work with a sort of "field strength" analogy, where the "field strength" for a given point in space is given by the value of some function of the distance from all of the balls. I believe creating a shape out of metaballs would involve analyzing this field and finding the space surface through which the field strength crosses some threshold, and then approximating that surface with polygons.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Apr 2001
    Posts
    340

    Re: Metaball tutorial

    Hint : isosurface is a better keyword than metaball if you want more in-depth explanations

  4. #4
    Junior Member Newbie
    Join Date
    Sep 2004
    Location
    Denmark
    Posts
    2

    Re: Metaball tutorial

    Okey, thx for the helping "push"

  5. #5
    Senior Member Regular Contributor
    Join Date
    Oct 2002
    Location
    San Diego, CA, USA
    Posts
    209

    Re: Metaball tutorial

    Metaballs... Ok, these objects are defined as isosurfaces of an equation, in this case, the equation is much like the electrical charge formula from physics. I will make the bold assumption that you are familiar. Anyways, the trick is figuring out the x,y,z points that fit the function f(x,y,z) = W. The way this is done is by using an octree like structure. For brevity's sake, I am not going to describe this algorithm, because it is very very documented. It is called "Marching Cubes" and I am sure you can find it by simply searching on Google.

Similar Threads

  1. NeHe tutorial on Bitmap Fonts (tutorial 13) error
    By Mariusz in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-03-2012, 09:16 AM
  2. OpenGL ES 1.1 isosurface (metaball) question
    By robspychala in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-22-2010, 08:10 PM
  3. glx tutorial?
    By jmg in forum OpenGL: Linux
    Replies: 7
    Last Post: 06-26-2003, 12:47 PM
  4. looking for tutorial
    By SMELCER24 in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 04-25-2001, 08:21 PM
  5. Which tutorial
    By anita20 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-30-2001, 01:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean