CSE 557 Computer Graphics Grail

Winter Quarter 2008

Impressionist Frequently Asked Questions:

Where can I store my files?

Why doesen't glEnable work inbetween glBegin and glEnd?
This is because the glBegin-glEnd block works with the current state of the computer.

Is there a way to catch OpenGL errors?
When it seems like nothing is happening, OpenGL is often returning an error message. To check for this, use the following code:

GLenum error_flag;

error_flag = glGetError();
if(error_flag != GL_NO_ERROR) {
printf("Error: %1s (%i) in %1s.\n",gluErrorString(error_flag),error_flag,"method name");