Designer_FACE_tag Struct Reference
[Designer]


Detailed Description

Face (Polygon) structure.

This structure describes the attribute of a face (polygon) in the model. The FACE of an object is the principal visible component of a model. A mesh of faces represent the surfaces in the object. A face carries attributes and is defines in relation to the vertices that it is attached to. It is built in the Designer module and visualised in the Renderer module.

Definition at line 56 of file STRUCT.H.


Data Fields

long V [3]
 The vertices around the face.
BOOL bSmooth
 The Phong smoothing algorithm is to be applied to this face.
unsigned char color [3]
 The basic colour of the surface for a simple colour model.
short material
 Which material is to be applied to this face.
short imagemap
 Which Image/Texture map is to be applied to this face.
float x [3]
float y [3]
 These are the Image/Texture coordinates for the vertics of the face, they are done on a PER FACE basis so that adjacent faces cna have a different mapping.
BOOL gp
 The mapping coordinates are valid for this face.

Field Documentation

long V[3]

The vertices around the face.

Definition at line 57 of file STRUCT.H.

BOOL bSmooth

The Phong smoothing algorithm is to be applied to this face.

Definition at line 58 of file STRUCT.H.

unsigned char color[3]

The basic colour of the surface for a simple colour model.

Definition at line 59 of file STRUCT.H.

short material

Which material is to be applied to this face.

Definition at line 60 of file STRUCT.H.

short imagemap

Which Image/Texture map is to be applied to this face.

Definition at line 61 of file STRUCT.H.

float x[3]

Definition at line 62 of file STRUCT.H.

float y[3]

These are the Image/Texture coordinates for the vertics of the face, they are done on a PER FACE basis so that adjacent faces cna have a different mapping.

Definition at line 62 of file STRUCT.H.

BOOL gp

The mapping coordinates are valid for this face.

Definition at line 63 of file STRUCT.H.


The documentation for this struct was generated from the following file:

Generated on Sun Apr 27 14:20:19 2014 for OpenFX by  doxygen 1.5.6