POV-Ray Insert Menu
mady by Christoph Hormann
http://www.imagico.de/

sphere_sweep

top previous next

// create a curved tube object translating a sphere along a certain path
sphere_sweep {
  linear_spline                 // linear curve
  //cubic_spline                // alternative spline curves
  //b_spline
  4,                            // number of specified sphere positions
  <-5-50>1                // position, radius
  <-550>1                 // ...
  < 5-50>1
  < 550>1
  //tolerance 0.001             // optional
}