2.6.5  Sphere Sweep Object

A Sphere Sweep is the envelope of a moving sphere with varying radius, or, in other words, the space a sphere occupies during its movement along a trajectory in space. This shape was first introduced to raytracing by J.J. van Wijk. Sphere Sweeps are modeled by specifying a list of single spheres which are then interpolated. The current implementation allows for three kinds of interpolation:

A code example:

sphere_sweep {
  linear_spline,
  4,
  <-5,-5, 0>, 1
  <-5, 5, 0>, 1
  < 5,-5, 0>, 1
  < 5, 5, 0>, 1
}