PDA

View Full Version : 2d grid with initials



Paddy BOP
11-02-2004, 02:50 AM
hi everyone. Ive just had my first opengl assignment for university and am completely stuck.
we have to generate a 2 across by three down 2D grid and have to create our own polygoninitials in each of the squares. :confused:
If anyone has any advice that would be great.

mikael_aronsson
11-02-2004, 06:11 AM
Hi !

Read the documentation for glBegin() and glEnd(), they will be your friend.

Hint: GL_LINE_STRIP and GL_LINES

Mikael