PDA

View Full Version : automate texture - coordonate generation ??



bunny-3110
08-16-2004, 11:27 PM
Hye,
how do I use the autoamte texture ?
I have an object but I can't use the glTexCoord
Please Simple examples preferred with some doc. if possible.
tks

dorbie
08-17-2004, 09:36 AM
Use glTexGen, here is some sample code:

http://www.sgi.com/software/opengl/advanced97/programs/texgen.c