Difference between revisions of "Reference:Poly"

From POV-Wiki
Jump to navigation Jump to search
m (1 revision: Reference Migration Initial Load)
m (clean up and consistency)
Line 7: Line 7:
 
{{#indexentry:sturm, poly}}
 
{{#indexentry:sturm, poly}}
 
{{#indexentry:keyword, sturm}}
 
{{#indexentry:keyword, sturm}}
<p>Higher order polynomial surfaces may be defined by the use of a <code>
+
<p>Higher order polynomial surfaces may be defined by the use of a <code>poly</code> shape.</p>
poly</code> shape. The syntax is</p>
+
<p>The syntax is</p>
 
<pre>
 
<pre>
 
POLY:
 
POLY:
Line 25: Line 25:
 
</pre>
 
</pre>
  
<p>where <em><code>Order</code></em> is an integer number from 2 to 35
+
<p>Where <em><code>Order</code></em> is an integer number from 2 to 35 inclusively that specifies the order of the equation. <em><code>A1, A2, ...An</code></em> are float values for the coefficients of the equation. There are <em><code>n</code></em> such terms where <em><code>n = ((Order+1)*(Order+2)*(Order+3))/6.</code></em></p>
inclusively that specifies the order of the equation. <em><code>A1, A2, ...
+
<p>If additional accuracy is required you can add the <code>[[Reference:Sturm_Object_Modifier|sturm]]</code> object modifier.</p>
An</code></em> are float values for the coefficients of the equation. There
 
are <em><code>n</code></em> such terms where <em><code>n = ((Order+1)*(Order+2)*(Order+3))/6.</code></em></p>
 

Revision as of 17:04, 31 May 2016

Higher order polynomial surfaces may be defined by the use of a poly shape.

The syntax is

POLY:
  poly {
    Order, <A1, A2, A3,... An>
    [POLY_MODIFIERS...]
    }
POLY_MODIFIERS:
  sturm | OBJECT_MODIFIER

Poly default values:

sturm : off

Where Order is an integer number from 2 to 35 inclusively that specifies the order of the equation. A1, A2, ...An are float values for the coefficients of the equation. There are n such terms where n = ((Order+1)*(Order+2)*(Order+3))/6.

If additional accuracy is required you can add the sturm object modifier.