Wrote down the final right version of the naming rules (af and NOT fa)

This commit is contained in:
Paolo Cignoni 2005-03-11 12:11:36 +00:00
parent d829ce7db6
commit 88fb1680d2
1 changed files with 52 additions and 51 deletions

View File

@ -21,19 +21,21 @@
* * * *
****************************************************************************/ ****************************************************************************/
This folders contains most common FACE configuration files This folders contains most common FACE configuration files.
The name of the file specify the members that are added to the vertex class
The name is a sequence of letters, in strict alphabetical order. The name of the file specifies the members that are added to the vertex
The possible admitted letters pairs are class. The name is a sequence of letter pairs, in strict alphabetical order. The
possible admitted letters pairs are:
AF - Face-Face adjacency
AS - Shared Vertex-Face and Face-Face Adjacency
AV - Vertex-face adjacency
FA - face-face adjacency
FC - Per-Face Color FC - Per-Face Color
FM - Per-Face Incremental Mark FM - Per-Face Incremental Mark
FN - Per-Face Normal FN - Per-Face Normal
FQ - Per-Face Quality FQ - Per-Face Quality
RT - Data for Optimized Point-Face Distance and Ray-Tracing Stuff RT - Data for Optimized Point-Face Distance and Ray-Tracing Stuff
SA - Shared Vertex-Face and Face-Face Adjacency
VA - Vertex-face adjacency
WC - Per-Wedge Color WC - Per-Wedge Color
WN - Per-Wedge Normal WN - Per-Wedge Normal
WQ - Per-Wedge Quality WQ - Per-Wedge Quality
@ -41,11 +43,10 @@ WT - Per-Wedge Texture Coords
E.g. E.g.
#include<vcg/simplex/vertex/with/fafnwc.h> #include<vcg/simplex/vertex/with/affnwt.h>
generate a type generate a type
VertexFAFNWC<VertexType>
that can store F-F adjacency, Per face normal color and per wedge color.
VertexAFFNWT<VertexType>
that can store F-F adjacency, Per-face normal and color and per-wedge texture coords.