** Next:** 6.7.20 POLYLINE (v)
** Up:** 6.7 Keywords defining Geometric
** Previous:** 6.7.18 POLYGON3T (p, c)
** Contents**
** Index**

##

6.7.19 POLYGON3TN *(p, c)*

Creates a polygon out of one or more contours of 3D (point, texture-coord,
normal) triples, given by *c*.

The 3D points are projected onto a plane (given by *p*),
afterwards the resulting 2D contours are triangulated,
and finally the triangles are mapped back into 3D again.

*p* is also used for deciding which sides of the
triangles are the front sides, and for defining a parametrization of the polygon
plane (can be used as 2D texture coordinates).

*c* is a typeless node to which the contours (lists of 3D (point,
texture-coord, normal) triples)
are connected. *p* is a typeless node to which 3 points A, B, C are
connected. A is used as the origin of the polygon plane, B-A and C-A as
the two basis vectors, and the orientation of the cross product
(B-A) x (C-A) determines which side of the plane is the front side.

The following variations of this keyword exist (some of them
define the same internal structures, and are only defined to allow
consistent naming conventions):

Keyword |
numbers |

**POLYGON3TN ** |
float |

**POLYGON3TN_F ** |
float |

**POLYGON3TN_D ** |
double |

** Next:** 6.7.20 POLYLINE (v)
** Up:** 6.7 Keywords defining Geometric
** Previous:** 6.7.18 POLYGON3T (p, c)
** Contents**
** Index**
Administrator
2002-01-20