Difference between revisions of "Reference:Cylindrical Pattern"

From POV-Wiki
Jump to navigation Jump to search
m (1 revision: Reference Migration Initial Load)
 
Line 11: Line 11:
 
use with <code>halo</code> or <code>media</code> but it may be used anywhere
 
use with <code>halo</code> or <code>media</code> but it may be used anywhere
 
any pattern may be used.</p>
 
any pattern may be used.</p>
 +
 +
<table class="centered" width="420px" cellpadding="0" cellspacing="10">
 +
<tr>
 +
  <td>[[Image:RefImgCylindricalPigment.png|center|200px<!--centered--->]]</td>
 +
  <td>[[Image:RefImgCylindricalNormal.png|center|200px<!--centered--->]]</td>
 +
</tr>
 +
<tr>
 +
  <td colspan="2"><p class="caption">cylindrical pattern used as media and normal respectively</p></td>
 +
</tr>
 +
</table>

Latest revision as of 08:45, 1 March 2014

The cylindrical pattern creates a one unit radius cylinder along the Y axis. It is computed by: value = 1.0-min(1, sqrt(X^2 + Z^2)) It starts at 1.0 at the origin and decreases to a minimum value of 0.0 as it approaches a distance of 1 unit from the Y axis. It remains at 0.0 for all areas beyond that distance. This pattern was originally created for use with halo or media but it may be used anywhere any pattern may be used.

RefImgCylindricalPigment.png
RefImgCylindricalNormal.png

cylindrical pattern used as media and normal respectively