Random
Source Code

vertex

Point in space, usually a point in a mesh model. A vertex can be both a 3D or 2D point. Not to confuse with vector allthough conversion can be done. A vertex usually contains more than just a position. It can also contain color, mapping coordinates, normals and other properties.

One vertex - Many vertices.

Typical vertex definition in C:

struct vertex
{
float x;
float y;
float z;
float nx;
float ny;
float nz;
int color;
float u;
float v;
}

Three or more vertices makes a polygon, if connected.

This model has over 100k vertices. Transforming each vertex is nothing you do by hand!

by malmer May 24, 2004

23👍 11👎