Tiling textures onto Quadrics objects

If I create a quadrics object, say a cylinder, my texture must be close to the size of the cylinder to minimize the distortion.

Is there a way to tile a texture onto quadrics objects so I can minimize the distortion?


I just checked the Red Book, and it says that automatic texture coordinate generation for quadrics is limited to texture coordinates between 0.0 and 1.0. So, I’d say that you might want to generate your cylinder and its texture coordinates by yourself, as opposed to using the gluQuadric functions.It doesn’t look like tiling(i.e. tex-coordinates above 1.0) is an option for Quadrics.


You can tile the the textures simply by adding scaling to the texture matrix.