[GtkGLExt] OpenGL fog



Hi,

When I try to enable fog in PyGtkGLExt with the command
glEnable(GL_FOG), I receive a SyntaxError like this :

    glEnable(GL_FOG)
    ^
SyntaxError: invalid syntax

If I don't use PyGtkGLExt I'm able to use fog without problem. For
example, I can successfuly run the fog.py provide with PyOpenGL.

Can someone help me with that ?

Thanks

Jean-Francois Dupuis


I have these package installed :

gtkglext-devel-1.0.6-1.2.fc4.rf
gtkglext-1.0.6-1.2.fc4.rf
pygtkglext-1.0.1
PyOpenGL-2.0.1.09
freeglut-2.2.0-16
pygtk2-2.6.2-0.fc4.4






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]