






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of the opengl programming ii course, focusing on reviewing previous concepts, working through demos, and introducing windowing toolkits such as glut and fltk. It also covers the basics of drawing into a window using opengl and the need for toolkits to hide the os interface. Instructions on installing and using glut, as well as an introduction to fltk.
Typology: Slides
1 / 11
This page cannot be seen from the preview
Don't miss anything!







glClearColor(0.0, 0.0, 0.0, 0.0) glClearDepth(1.0); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
... glClearColor(0.0, 0.0, 0.0, 0.0); glClear(GL_COLOR_BUFFER_BIT); glColor3f(1.0, 1.0, 1.0); glOrtho(-1.0, 1.0, - 1.0, 1.0, - 1.0, 1.0); glBegin(GL_POLYGON); glVertex2f(-0.5, - 0.5); glVertex2f(-0.5, 0.5); glVertex2f(0.5, 0.5); glVertex2f(0.5, - 0.5); glEnd(); glFlush(); ...