Impressionist Frequently Asked Questions:


Where can I store my files?
\\gfilesrv1\courses\cse457-05au\impressionist\your_group_name

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?
Yes.
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");
}