Re: [PyOpenGL-Users] I'm incapable of mapping a texture, in my small test.
Brought to you by:
mcfletch
From: Laurence P. <lau...@gm...> - 2007-06-22 00:03:09
|
I cannot get textures to work in PyOpenGL (Mac OS 10.4 with PyObjC). I think the problem is bogus results from glGenTextures(), as in this example: IDs = glGenTextures(10) print IDs (3356347L, 0L, 3343296L, 249236L, 25816960L, 25817200L, 25816660L, 0L, 3263844L, 0L) I previously wrote an OpenGL program in Objective C. There requesting 10 values reliably gives me the nice sequence: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 I believe all the values returned in PyOpenGL, including 0, are bogus. Duplicate results don't make sense either. Certainly they don't work, and nor do textures work if you force a bind to 1 or 2, etc. -- Laurence |