Menu

#14 glLightModel is missing

open
nobody
PyGtkGLExt (3)
5
2008-01-19
2008-01-19
No

glLightModel is not present in the bindings. This causes the example teapot.py to raise an error

NameError: global name 'glLightModel' is not defined

on the line

glLightModel(GL_LIGHT_MODEL_AMBIENT, [0.2, 0.2, 0.2, 1.0])

The example can be made to work by changing glLightModel to glLightModelfv, however, I think that glLightModel itself should also exist.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB