PDA

View Full Version : Texture questions



2
04-21-2001, 07:35 PM
Hi. I was wondering how to do almost everything with textures. I can get them on a poly, and scale them around some, but that's about it. If anyone knows any good tutorials on translation and/or rotation, a url would be nice. Thanks!

zed
04-21-2001, 11:29 PM
glMatrixMode( GL_TEXTURE )
glTranslatef(...)
glRotatef(...)
draw the polygon with texture
glMatrixMode( GL_MODEL_VIEW )

2
04-22-2001, 08:55 AM
Whoa. That was simple. Thanks!