Archived

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

About lesson1

This topic is 5278 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
According to the online opengl ( www.opengl.org I think) doco I was reading there are 3 options for any of these kinds of commands.

Basically,
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