Jump to content
  • Advertisement


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

Fredrik Dahlberg

About lesson1

This topic is 5489 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.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!