Difference between revisions of "Reference:Planar Pattern"

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

Latest revision as of 09:25, 1 March 2014

The planar pattern creates a horizontal stripe plus or minus one unit above and below the X-Z plane. It is computed by: value =1.0- min(1, abs(Y)) It starts at 1.0 at the origin and decreases to a minimum value of 0.0 as the Y values approaches a distance of 1 unit from the X-Z plane. 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.

RefImgPlanarPigment.png
RefImgPlanarNormal.png

planar pattern used as pigment and normal respectively