9. Meshes

Brock University
COSC 3P98 Computer Graphics
Instructor: Brian J. Ross



Models


Polygon models


Polygon meshes


Examples of polygon meshes

Face list for the prism
 Face number Vertices
1  1, 3, 2
 2  6, 2, 3, 4
 3  1, 5, 4, 3
 4 4, 5, 6 
 5  1, 2, 6, 5

Building meshes

glBegin(GL_TRIANGLE_STRIP);
 ...vertices...
glEnd();
also: GL_TRIANGLE_FAN, GL_QUAD_STRIP


Building meshes


Data structures for meshes


Meshes




Back to COSC 3P98 index

COSC 3P98 Computer Graphics
Brock University
Dept of Computer Science
Copyright © 2006 Brian J. Ross (Except noted figures).
http://www.cosc.brocku.ca/Offerings/3P98/course/lectures/modeling/mesh.html
Last updated: November 13, 2006