View Full Version : 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?
03-06-2003, 01:35 AM
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.
03-06-2003, 05:10 AM
You can tile the the textures simply by adding scaling to the texture matrix.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.