View Full Version : Texture Wrap don't wrap

05-26-2011, 05:47 AM
Hi to everybody! :)

I've a big problem and I'm fighting with it from weeks :(

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.

05-26-2011, 06:24 AM
why have you done this during init()?

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

05-26-2011, 06:54 AM
I need this. I use automatic texture generation in RLink.cpp to apply textures to various link of robotic arm. :S

05-26-2011, 06:56 AM
Oh! Without GL_TEXTURE_GEN_S it's work! :eek:

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