• Advertisement

Readarmon0

Member
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

102 Neutral

About Readarmon0

  • Rank
    Newbie
  1. Brilliant! Thanks, and sorry for the inconvenience. Can someone follow up on how the missing glLoadIdentity() function affected the matrices? Does the projection matrix not being properly reset mean that the gluPerspective function determines some improper aspect ratio for windowed mode and a proper aspect ratio in fullscreen mode?
  2. I'm in the midst of learning OpenGL, using the Win API as opposed to GLEW/GLUT that's often recommended, and I'm currently plowing through Nehe's OpenGL Tutorial. I'm attempting to render a pair of three-dimensional objects and to an extent was successful. While the objects appear on the screen in fullscreen mode, if I choose to begin with or switch to windowed mode, the objects won't appear. I'm assuming it has something to do with the CreateGLWindow function that handles creating the windows regardless of display mode, because the DrawGLScene function at least remains consistent in continually drawing the same image, rendering only the background if windowed and rendering the background and objects if fullscreen. Below is the link to the source code discussed. Any assistance would be greatly appreciated, thanks.   https://gist.github.com/anonymous/5086149
  • Advertisement