Rotate texture (x / y axis)

    Jul 30 2012 | 2:28 pm
    I'm trying to show a texture in a shape drawn in a The shape is rotated back on the x axis but I want the texture to be corrected in the opposite direction to that rotation so that angle of the shape is impossible to see (see attached diagram). I've tried the tex_plane manipulor demo posted here ( but I'm not sure if that's possible to modify to rotate on the x (or y) axis and I've tried an alternative version with gltexcoord offsetting the mappings but that just warps the texture. There are examples of both in the attached zip.
    Is this possible with ether of these ways or perhaps a third which I've yet to try, cutting up my texture image, remapping it in a matrix and then making a texture out of that (the least flexible solution - I'd imagine trying to get the angle of this right will be hell)?

    • Jul 31 2012 | 11:51 am
    • Jul 31 2013 | 1:01 pm
      example 1 gives a grey plane..
      i dont understand what you want to achieve
    • Jul 31 2013 | 4:03 pm
      since you're already specifying texcoords in the second method, just change them so the texture is rotated however you like.