This topic is now archived and is closed to further replies.

Fredrik Dahlberg

About lesson1

Recommended Posts

I''ve read through lesson 1 a few times and I have a question. In the function int InitGL(GLvoid) I found this line... glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); Now, according to my OpenGL reference there''s only two options for GL_PERSPECTIVE_CORRECTION_HINT. Namely, GL_DONT_CARE and GL_FASTEST. Is this a bug or is this a new option? /Fredrik

Share this post

Link to post
Share on other sites
zarfius    260
According to the online opengl ( I think) doco I was reading there are 3 options for any of these kinds of commands.

GL_DONT_CARE is to let the system choose the most appropriate option.
GL_NICEST is the best looking or most accurate option and
GL_FASTEST is the most efficient or most compatable option.

IMHO I think GL_DONT_CARE would be a good idea in most cases unless u where making a program with an options screen to allow the user to turn graphics options on an off.

I''m no expert - I just noticed no-one had replied to your post yet

Share this post

Link to post
Share on other sites