POV-Ray : Documentation : Sturm
  POV-Ray 3.6 Documentation Online View Double_Illuminate   2.5 Textures Sturm

Some of POV-Ray's objects allow you to choose between a fast but sometimes inaccurate root solver and a slower but more accurate one. This is the case for all objects that involve the solution of a cubic or quartic polynomial. There are analytic mathematical solutions for those polynomials that can be used.

Lower order polynomials are trivial to solve while higher order polynomials require iterative algorithms to solve them. One of those algorithms is the Sturmian root solver. For example:

  blob {
    threshold .65
    sphere { <.5,0,0>, .8, 1 }
    sphere { <-.5,0,0>,.8, 1 }

The keyword may optionally be followed by a float expression which is interpreted as a boolean value. For example sturm off may be used to force it off. When the keyword is specified alone, it is the same as sturm on. By default sturm is off when not specified.

The following list shows all objects for which the Sturmian root solver can be used.

  • blob
  • cubic
  • lathe (only with quadratic splines)
  • poly
  • prism (only with cubic splines)
  • quartic
  • sor Double_Illuminate   2.5 Textures

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.