Texture Wrap don't wrap

Hi to everybody! :slight_smile:

I’ve a big problem and I’m fighting with it from weeks :frowning:

I’ve problem with this project https://github.com/THeK3nger/Robot-Arm/blob/master/main.cpp

In particular I have problem with the “floor”. How can you see from attached file, floor’s texture is repeated only from left to right. Instead in vertical direction the texture is stretched :eek: Why? I think that I have set all with GL_REPEAT correctly… but don’t work!

I’m in a dead end street.

Thank you all.

why have you done this during init()?
glEnable(GL_TEXTURE_GEN_S);
glEnable(GL_TEXTURE_GEN_T);

If you don’t need automatic texture generation, turn these off.

I need this. I use automatic texture generation in RLink.cpp to apply textures to various link of robotic arm. :S

Oh! Without GL_TEXTURE_GEN_S it’s work! :eek:

So I can activate them only in RLink.cpp… now I try. Thanks :smiley: