Re: [PyOpenGL-Users] Lost some GLUT functions?
Brought to you by:
mcfletch
From: Ted H. <ted...@ea...> - 2005-01-22 18:18:12
|
gluLookAt is in OpenGL.GLU, not OpenGL.GLUT. On Jan 22, 2005, at 12:02, man...@ti... wrote: > Hi to all! > I've just installed pyOpenGL. It work fine, but...it seem in the glut > some > very important funcions are lost...Please, help me. > > Using a very simple script, from examples, I've this error: > > Traceback (most recent call last): > File "C:\experiment.py", line 78, in changeSize > gluLookAt(0.0,0.0,5.0,\ > NameError: global name 'gluLookAt' is not defined > > > So I've inserted some debug lines: > > print OpenGL.GLUT > print dir(OpenGL.GLUT) > > > This is the result (it seem really no gluLookAt). I'm using the last > version > of glut (3.7): |