Difference between revisions of "Reference:Ovus"
Jholsenback (talk | contribs) m (consistency) |
Jholsenback (talk | contribs) m (added precision default) |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
</pre> | </pre> | ||
− | <p>Where <em>Bottom_radius</em> is a float value giving the radius of the bottom sphere and <em>Top_radius</em> is a float specifying the radius of the top sphere. The top and bottom spheres are connected together with a suitably truncated lemon, or self intersection of a torus, that is automatically computed so as to provide the needed continuity to the shape. The <code>distance</code> is a float value that represents the length between the center of the two spheres, defaulting to <em>Bottom_radius</em>. The <code>radius</code> float value represents the inner circle of the connecting torus and it's default is twice the greater of either <em>Top_radius</em> or <em>Bottom_radius</em>. The <code>precision</code> float value is the tolerance used for the root solving of the connecting torus. If additional accuracy is required you can now add the <code>[[Reference:Sturm Object Modifier|sturm]]</code> object modifier.</p> | + | <p>Where <em>Bottom_radius</em> is a float value giving the radius of the bottom sphere and <em>Top_radius</em> is a float specifying the radius of the top sphere. The top and bottom spheres are connected together with a suitably truncated lemon, or self intersection of a torus, that is automatically computed so as to provide the needed continuity to the shape. The <code>distance</code> is a float value that represents the length between the center of the two spheres, defaulting to <em>Bottom_radius</em>. The <code>radius</code> float value represents the inner circle of the connecting torus and it's default is twice the greater of either <em>Top_radius</em> or <em>Bottom_radius</em>. The <code>precision</code> float value is the tolerance used for the root solving of the connecting torus, and it's default is <code>1e-4</code>. If additional accuracy is required you can now add the <code>[[Reference:Sturm Object Modifier|sturm]]</code> object modifier.</p> |
<table class="centered" width="700px" cellpadding="0" cellspacing="10"> | <table class="centered" width="700px" cellpadding="0" cellspacing="10"> | ||
Line 53: | Line 53: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | |||
+ | <p>See also: [[Reference:UV Mapping#Supported Objects|UV Mapping]].</p> | ||
<p class="Note"><strong>Note:</strong> See the following <em>MathWorld</em> references for more information about the math behind how the <code>ovus</code> object is constructed.</p> | <p class="Note"><strong>Note:</strong> See the following <em>MathWorld</em> references for more information about the math behind how the <code>ovus</code> object is constructed.</p> |
Latest revision as of 11:07, 25 July 2017
An ovus
is a shape that looks like an egg. A Change in version 3.8 has extended the syntax of the ovus
object by adding radius
, distance
and precision
controls.
The syntax is as follows:
ovus { Bottom_radius, Top_radius [radius Inner_radius] [distance Vertical_distance] [precision Root_tolerance] [OBJECT_MODIFIERS...] }
Where Bottom_radius is a float value giving the radius of the bottom sphere and Top_radius is a float specifying the radius of the top sphere. The top and bottom spheres are connected together with a suitably truncated lemon, or self intersection of a torus, that is automatically computed so as to provide the needed continuity to the shape. The distance
is a float value that represents the length between the center of the two spheres, defaulting to Bottom_radius. The radius
float value represents the inner circle of the connecting torus and it's default is twice the greater of either Top_radius or Bottom_radius. The precision
float value is the tolerance used for the root solving of the connecting torus, and it's default is 1e-4
. If additional accuracy is required you can now add the sturm
object modifier.
|
|
Note: According to the ratio of the radius, the pointy part is the smallest radius, but is not always on top!
See also: UV Mapping.
Note: See the following MathWorld references for more information about the math behind how the ovus
object is constructed.