Difference between revisions of "Reference:Normal-Dependent Patterns"

From POV-Wiki
Jump to navigation Jump to search
(moved content from Patterns section)
 
m (consistency and clean up)
Line 1: Line 1:
<p>Some patterns depend on the normal vector in addition to a position vector. As such, these patterns are suitable for object normals only. They are <code>aoi</code> and <code>slope</code>.</p>
+
<p>Some patterns depend on the normal vector in addition to a position vector. These patterns are suitable for object normals only:</p>
 +
<table class="tablelist">
 +
<tr valign="top">
 +
<td width="15%">
 +
<code>aoi</code><br>
 +
</td>
 +
<td width="15%">
 +
<code>facets</code><br>
 +
</td>
 +
<td width="15%">
 +
<code>slope</code><br>
 +
</td>
 +
</tr>
 +
</table>
 +
<p class="Note"><strong>Note:</strong> The <code>facets</code> pattern can <em>only</em> be used in a normal statement.</p>

Revision as of 00:14, 30 March 2017

Some patterns depend on the normal vector in addition to a position vector. These patterns are suitable for object normals only:

aoi

facets

slope

Note: The facets pattern can only be used in a normal statement.