#131 Problems Getting OpenGL to Show 3D Object Properly

open
nobody
moderate (59)
5
2010-06-08
2010-06-08
Caglow
No

Whenever I try to render a simple 3D object (be it a cube, pyramid or whatever), and then I rotate it, some of the sides appear translucent. You can see through the sides to the sides on the opposite side of the figure. While it could be just a problem with my code, I still believe that this is a bug as it shows up only when I'm using freeglut. I'm unable to reproduce this using regular GLUT, Windows API or X11. The problem exists on my computer for both Windows and GNU/Linux. Considering that no one else has brought up this bug despite the problems, I would assume that this is related to my graphics card or something else specific to my system (haven't tested on any other system yet) so here is some information about the graphics:

freeglut 2.6.0 -- 20600 from glutGet(GLUT_VERSION)
OpenGL 1.4
32-bit Windows XP & 64-bit OpenSUSE 11.2

Discussion

  • Caglow
    Caglow
    2010-06-08

    Screenshot of what is happening

     
    Attachments
  • Caglow
    Caglow
    2010-06-08

    I got this one straight off of nehe.gamedev.net. Compiled with gcc-4.4 and freeglut 2.6.0

     
    Attachments
  • Caglow
    Caglow
    2010-06-08

    This is the source code from nehe.gamedev.net of broken.out

     
    Attachments