â€‹
SuperQuadratic Formulas
â€‹
r s t
X+ Y+ Z = 1
â€‹
R,S,T = numbers that determine the features of the quadratic.
X,Y,Z = your constant variables.
â€‹
A basic superquadratic formula will be equal to 1. However, there are cases where this is not true. In these cases, the superquadratic will change shape.
â€‹
A value that equals less than 1: This value will create a pointy octahedron shape that will have concave faces and sharp edges.
â€‹
A value that equals 1: This value will create a normal octahedron.
â€‹
A value that is between 1 and 2: This value will create an octahedron will convex faces, and blunt edges and faces.
â€‹
A value that equals 2: This value will generate a sphere.
â€‹
A value that is greater than 2: This value will create a cube with round edges.
â€‹
A value that is infinite, or that goes on forever beyond 2: This value will create a basic cube.
â€‹
So now that we understand what's going on behind the scenes of our density field, lets dive deeper.
â€‹
In Houdini,the way we adjust these field shapes is by adjusting our XY, and Z parameters. In turn, this adjusts our quadratic formula.
â€‹
We know already that two metaballs together will overlap if combined together. However, when two metaballs combine the density of their force fields join together to include the area where they intersected, as well as their sphere of influence.
â€‹

display primitive hulls You can view a metaball's sphere of influence by turning on in the display options.
â€‹

display options When using a metaball you may notice that the level of detail may be lower than you might like. One way to fix this is to go into the and adjusting the level of detail inside those options.
â€‹

facet node When shading a metaball remember to include or promote the normal attribute. You can include the normal by adding a and clicking postcompute normals
â€‹
A Quadratic: A shape that follows the basic structure of squares. From it's formula, to it's shape. If you've heard of a quadratic formula in high school, this theory is what we are building upon.
â€‹
A Octahedron: A shape that contains; 8 faces, 12 edges, and 6 vertices. For example: a diamond.
â€‹
â€‹
Some quick definitions:
â€‹
The Density Field of a metaball can either be a Ellipsoid or a SuperQuadratic. So for fun, lets break down one of those, and understand what a SuperQuadratic is. I'm choosing SuperQuadratic for now, as it is the most applicable to other functions and objects in Houdini. Plus, an ellipsoid is much more easier to understand.
â€‹
By adjusting the Weight Function, you can shift where the density is located in the metaball. By adjusting this, it will move the density further or closer away from the center.
â€‹
The way to control a metaball's density field is to adjust it's Kernel Function. The kernel function is designed to control the density, by adjusting it's weight from 0 to 1.
â€‹
A metaball by itself will not do much. However, two metaballs added together will overlap their density fields. They are designed to change shape, the position of their density, and fuse together if one metaball has a higher density than another. You can also modify a metaball to push another metaball away.
Metaballs are fields of density that represented by surface blobs in Houdini.
â€‹
Metaballs are interesting mathematical objects in Houdini. They are mostly used for organic simulations. Such as two cells dividing, fleshy separations between objects, or organic surfaces.