Difference between revisions of "Reference:Boxed Pattern"

From POV-Wiki
Jump to navigation Jump to search
m
 
Line 19: Line 19:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
   <td colspan="2"><p class="caption">agate pattern used as media and normal respectively</p></td>
+
   <td colspan="2"><p class="caption">boxed pattern used as media and normal respectively</p></td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Latest revision as of 08:22, 1 March 2014

The boxed pattern creates a 2x2x2 unit cube centered at the origin. It is computed by: value =1.0- min(1, max(abs(X), abs(Y), abs(Z))) It starts at 1.0 at the origin and decreases to a minimum value of 0.0 as it approaches any plane which is one unit from the origin. 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.


RefImgBoxedMedia.png
RefImgBoxedeNormal.png

boxed pattern used as media and normal respectively