| 1 |
<html lang="en"> |
| 2 |
<head> |
| 3 |
<title>Surface normal directions - Geomview Manual</title> |
| 4 |
<meta http-equiv="Content-Type" content="text/html"> |
| 5 |
<meta name="description" content="Geomview Manual"> |
| 6 |
<meta name="generator" content="makeinfo 4.13"> |
| 7 |
<link title="Top" rel="start" href="index.html#Top"> |
| 8 |
<link rel="up" href="Conventions.html#Conventions" title="Conventions"> |
| 9 |
<link rel="prev" href="ND_002dVertices.html#ND_002dVertices" title="ND-Vertices"> |
| 10 |
<link rel="next" href="Transformation-matrices.html#Transformation-matrices" title="Transformation matrices"> |
| 11 |
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> |
| 12 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
| 13 |
<style type="text/css"><!-- |
| 14 |
pre.display { font-family:inherit } |
| 15 |
pre.format { font-family:inherit } |
| 16 |
pre.smalldisplay { font-family:inherit; font-size:smaller } |
| 17 |
pre.smallformat { font-family:inherit; font-size:smaller } |
| 18 |
pre.smallexample { font-size:smaller } |
| 19 |
pre.smalllisp { font-size:smaller } |
| 20 |
span.sc { font-variant:small-caps } |
| 21 |
span.roman { font-family:serif; font-weight:normal; } |
| 22 |
span.sansserif { font-family:sans-serif; font-weight:normal; } |
| 23 |
--></style> |
| 24 |
</head> |
| 25 |
<body> |
| 26 |
<div class="node"> |
| 27 |
<a name="Surface-normal-directions"></a> |
| 28 |
<p> |
| 29 |
Next: <a rel="next" accesskey="n" href="Transformation-matrices.html#Transformation-matrices">Transformation matrices</a>, |
| 30 |
Previous: <a rel="previous" accesskey="p" href="ND_002dVertices.html#ND_002dVertices">ND-Vertices</a>, |
| 31 |
Up: <a rel="up" accesskey="u" href="Conventions.html#Conventions">Conventions</a> |
| 32 |
<hr> |
| 33 |
</div> |
| 34 |
|
| 35 |
<h4 class="subsection">4.1.5 Surface normal directions</h4> |
| 36 |
|
| 37 |
<p>Geomview uses normal vectors to determine how an object is shaded. |
| 38 |
The direction of the normal is significant in this calculation. |
| 39 |
|
| 40 |
<p>When normals are supplied with an object, the direction of the normal |
| 41 |
is determined by the data given. |
| 42 |
|
| 43 |
<p>When normals are not supplied with the object, Geomview computes normal |
| 44 |
vectors automatically; in this case normals point toward the side from |
| 45 |
which the vertices appear in counterclockwise order. |
| 46 |
|
| 47 |
<p>On parametric surfaces (Bezier patches), the normal at point P(u,v) |
| 48 |
is in the direction dP/du cross dP/dv. |
| 49 |
|
| 50 |
<!-- --> |
| 51 |
</body></html> |
| 52 |
|