Advertisement

About lesson1

Started by July 07, 2003 05:50 AM
0 comments, last by Fredrik Dahlberg 21 years, 7 months ago
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
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

This topic is closed to new replies.

Advertisement