Repeating and clamping textures
Hello,
I''d like to know if there is possible to control how "big" the texture applied to a quadric is? If I use gluQuadricTexture () I can only control if there is a texture but not the way it is applied.
Also, if I''m using automatic tex. coord. generation like:
glEnable (GL_TEXTURE_GEN_S);
...
glTexGenf (GL_S,...)
how can I control repeating and clamping?
There is no problem if I use glTexCoord and create object on myself, but if I don''t...hope you get what I mean.
use the texture matrix for rotation translation or scaling
glMatrixMode(GL_TEXTURE);
i dont know how to control clamping but u could set the texture''s attribs to GL_CLAMP_TO_EDGE i think
glMatrixMode(GL_TEXTURE);
i dont know how to control clamping but u could set the texture''s attribs to GL_CLAMP_TO_EDGE i think
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement