Metaballs

Metaballs
1: The influence of 2 positive metaballs on each other.
2: The influence of a negative metaball on a positive metaball by creating an indentation in the positive metaball's surface.

Metaballs are, in computer graphics, organic-looking n-dimensional objects. The technique for rendering metaballs was invented by Jim Blinn in the early 1980s.

Each metaball is defined as a function in n-dimensions (i.e. for three dimensions, f(x,y,z); three-dimensional metaballs tend to be most common, with two-dimensional implementations as well). A thresholding value is also chosen, to define a solid volume. Then,

\sum_{i=0}^n \mbox{metaball}_i(x,y,z) \leq \mbox{threshold}

represents whether the volume enclosed by the surface defined by n metaballs is filled at (x,y,z) or not.

A typical function chosen for metaballs is f(x,y,z) = 1 / ((xx0)2 + (yy0)2 + (zz0)2), where (x0,y0,z0) is the center of the metaball. However, due to the divide, it is computationally expensive. For this reason, approximate polynomial functions are typically used.[citation needed]

When seeking a more efficient falloff function, several qualities are desired:

  • Finite support. A function with finite support goes to zero at a maximum radius. When evaluating the metaball field, any points beyond their maximum radius from the sample point can be ignored. A hierarchical culling system can thus ensure only the closest metaballs will need to be evaluated regardless of the total number in the field.
  • Smoothness. Because the isosurface is the result of adding the fields together, its smoothness is dependent on the smoothness of the falloff curves.

The simplest falloff curve that satisfies these criteria is: f(r) = (1 − r2)2, where r is the distance to the point. This formulation avoids expensive square root calls.

More complicated models use a Gaussian potential constrained to a finite radius or a mixture of polynomials to achieve smoothness. The Soft Object model by the Wyvill brothers provides higher degree of smoothness and still avoids square roots.

A simple generalization of metaballs is to apply the falloff curve to distance-from-lines or distance-from-surfaces.

There are a number of ways to render the metaballs to the screen. In the case of three dimensional metaballs, the two most common are brute force raycasting and the marching cubes algorithm.

2D metaballs were a very common demo effect in the 1990s. The effect is also available as an XScreensaver module.

The interaction between two differently coloured three Dimensional positive metaballs, created in Bryce.
Note that the two smaller metaballs combine to create one larger object.


Further reading

External links

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Metaballs —   [Abk. für Metal Balls, dt. »Metallkugeln«], Elemente, die zum Aufbau von 3D Modellen benutzt werden. Sie wirken wie Kugeln, die durch zähflüssiges Metall aneinander geklebt sind …   Universal-Lexikon

  • Metaballs — Deux metaballs Les metaballs sont une technique utilisée en infographie pour créer des formes organiques ou représenter des fluides. En français, on trouve également la dénomination « objets mous ». Les metaballs sont une variante des… …   Wikipédia en Français

  • Metaball — Metaballs Deux metaballs Les metaballs sont une technique utilisée en infographie pour créer des formes organiques ou représenter des fluides. En français, on trouve également la dénomination « objets mous ». Les metaballs sont une… …   Wikipédia en Français

  • Objet mou — Metaballs Deux metaballs Les metaballs sont une technique utilisée en infographie pour créer des formes organiques ou représenter des fluides. En français, on trouve également la dénomination « objets mous ». Les metaballs sont une… …   Wikipédia en Français

  • Objets mous — Metaballs Deux metaballs Les metaballs sont une technique utilisée en infographie pour créer des formes organiques ou représenter des fluides. En français, on trouve également la dénomination « objets mous ». Les metaballs sont une… …   Wikipédia en Français

  • Metaball — es el nombre de una técnica de gráficos realizada por ordenador para simular interacción orgánica entre diferentes objetos n dimensionales (como gotas de mercurio mezclándose por su superficie) y fue inventado por Jim Blinn a principios de los… …   Wikipedia Español

  • Metaball — 1 = zwei positive Metaballs verschmelzen ineinander, 2 = ein negativer Metaball drückt einen positiven ein Ein Metaball ist das Ergebnis eines Algorithmus, der eine dehnbare Oberfläche erzeugt, die die Form einer Kugel (bei genau einem) oder eine …   Deutsch Wikipedia

  • Particle system — The term particle system refers to a computer graphics technique to simulate certain fuzzy phenomena, which are otherwise very hard to reproduce with conventional rendering techniques. Examples of such phenomena which are commonly replicated… …   Wikipedia

  • Truespace — Saltar a navegación, búsqueda Truespace es una aplicación informática libre de creación de gráficos y animación 3D desarrollado por Caligari Corporation. La empresa fue fundada en 1985 por Romano Ormandy. En 1994 la versión 1.0 se introdujo a la… …   Wikipedia Español

  • TrueSpace — es una aplicación informática libre de creación de gráficos y animación 3D desarrollado por Caligari Corporation. La empresa fue fundada en 1985 por Romano Ormandy. En 1994 la versión 1.0 se introdujo a la plataforma Windows. A principios de 2008 …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”