Raytracing Metaballs

The Rendering Path

  1. Check if the ray intersects any bounding spheres of any of the metaballs
  2. Create a list of all the metaballs whose bounding spheres were intersected
  3. Find the nearest and farthest intersections with bounding spheres
  4. "Inch" along the ray between these two points, until we reach the threshold charge

Finding the normal

The surface normal at any point on the metaball can be calculated in one of two ways:

The first method is not feasable, and the second method works just fine.

previous next