View Full Version : Two questions ... read please :D
How do I avoid using auto-texture-coord generation (how to calc tex coords)?
How do I implement Detail Texturing while using auto-tex-coord generation?
Lot of thanks
and sorry about my english. http://www.opengl.org/discussion_boards/ubb/biggrin.gif
05-15-2002, 10:04 PM
First question : that's easy ! Just specify your texcoords with glTexCoord2f (or glTexCoord2fv or glTexCoordPointer...).
To disable texcoord generation (anyway it's off by default), call :
Second question : I couldn't give you a complete answer since I've never tried detail texturing. Maybe you could look on the Extension Registry somewhere on this site. It's a catalogue of all opengl extensions, with many explanations on each.
05-15-2002, 11:09 PM
Detail texturing is just applying a second texture that is tiled very often.
Just enable blending, choose a blending function, select your texture, and alter the texture matrix using glScale.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.