Re: [PyOpenGL-Users] gluBuild3DMipmaps
Brought to you by:
mcfletch
From: Andrew W. <and...@al...> - 2007-02-08 22:40:52
|
Hey Mike, You hit the nail on the head, my version of GLU is '1.2.2.0 Microsoft Corporation'. This may be a silly question, is there any way to update glu to 1.3 on win32? Thanks Andrew On 2/8/07, Mike C. Fletcher <mcf...@vr...> wrote: > > Andrew Wilson wrote: > > Hello, > > I'm trying to use gluBuild3DMipmaps, but I come upon the following > > error message, > > > > OpenGL.error.NullFunctinoError: Attempt to call an undefined function > > gluBuild3DMipmaps, check for bool(gluBuild3DMipmaps) before calling. > > > > > > So I print out bool(gluBuild3DMipmaps) and of course get False. how > > do I get gluBuild3DMipmaps working? I'm running > > pyopengl-3.0.0a5-py2.4.egg > "gluBuild3DMipmaps is only available if the GLU version is 1.3 or > greater", mostly likely the system on which you are running has a GLU > version less than 1.3. > > >>> from OpenGL.GLU import * > >>> gluGetString( GLU_VERSION ) > '1.3' > >>> gluBuild3DMipmaps > <CFunctionType object at 0x2aaaab8c8a78> > >>> > > Or it could be that you're running on a platform that has some strange > semantics surrounding access to GLU features for versions > 1.0. Above > session is from a modern Linux desktop. > > Good luck, > Mike > > -- > ________________________________________________ > Mike C. Fletcher > Designer, VR Plumber, Coder > http://www.vrplumber.com > http://blog.vrplumber.com > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > |