6 Mar
2007
6 Mar
'07
4:55 a.m.
Hi, I am using HOpenGL in combination with hsSDL (http://darcs.haskell.org/~lemmih/hsSDL). This works great except for texture loading. All my textures are mirrored over the v-axis. So the top of a texture becomes the bottom. I first thought that I got the texture coordinates wrong. But the textures are also flipped on the GLU quadrics. Is there some way to tell (H)OpenGL that a texture is mirrored? I tried glPixelStore parameters but I don't think it is possible that way. Perhaps it is possible to change a hsSDL surface before loading the pixel data. Any advice is welcome. regards, Bas van Dijk